acpi_nhlt_tb_find_endpoint(9)
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.:PDMorSSP.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
acpi_nhlt_get_gbl_table(9)acpi_nhlt_put_gbl_table(9)acpi_nhlt_endpoint_match(9)acpi_nhlt_find_endpoint(9)acpi_nhlt_endpoint_find_fmtcfg(9)acpi_nhlt_tb_find_fmtcfg(9)acpi_nhlt_find_fmtcfg(9)acpi_nhlt_endpoint_mic_count(9)
mwah π this one lives under ./drivers/acpi, dated October 2026, straight from the Kernel API Manual β periodt ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms