acpi_nhlt_tb_find_endpoint(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

acpi_nhlt_tb_find_endpoint(9) βœ¨πŸ’–

okay bestie, welcome to the Kernel API Manual page for acpi_nhlt_tb_find_endpoint β€” it’s literally giving β€œsearch a NHLT table for an endpoint” energy, and we’re gonna get you comfy with it 🫢


🌸 NAME 🌸

acpi_nhlt_tb_find_endpoint β€” Search a NHLT table for an endpoint.


✨ SYNOPSIS ✨

struct acpi_nhlt_endpoint * acpi_nhlt_tb_find_endpoint (const struct
acpi_table_nhlt *tb , int link_type , int dev_type , int dir , int
bus_id );

πŸŽ€ ARGUMENTS πŸŽ€

  • tb β€” the table to search. yes, that’s the one we’re snooping through πŸ‘€
  • link_type β€” the hardware link type, e.g.: PDM or SSP.
  • dev_type β€” the device type.
  • dir β€” stream direction.
  • bus_id β€” the ID of virtual bus hosting the endpoint.

πŸ¦‹ DESCRIPTION πŸ¦‹

Either of link_type, dev_type, dir or bus_id may be set to a negative value to ignore the parameter during the search.

so if you’re not trying to filter on one of those, a negative value is your β€œnot today, bestie” signal πŸ™ˆβœ¨

πŸ’… RETURN πŸ’…

A pointer to endpoint matching the criteria, NULL if not found or an ERR_PTR otherwise.


🌈 SEE ALSO 🌈

Kernel file: ./drivers/acpi/nhlt.c


mwah πŸ’‹ this one lives under ./drivers/acpi, dated October 2026, straight from the Kernel API Manual β€” periodt πŸŽ€πŸ‘‘

πŸ“¦ where this page comes from