for_each_nhlt_endpoint(9)
π for_each_nhlt_endpoint(9) β from the Kernel API Manual, section 9, bestie π
okay so picture this: you're deep in kernel land, section 9 of the manual, and you need to walk a NHLT table's endpoints one by one. that's it. that's the whole vibe. this macro is your lil tour guide β¨
πΈ NAME πΈ
for_each_nhlt_endpoint β literally iterate over endpoints in a NHLT table. no cap, that's the job. π¦
β¨ SYNOPSIS β¨
for_each_nhlt_endpoint (tb , ep );
look at her. iconic. two args, zero drama. π«Ά
π ARGUMENTS π
tbβ the pointer to a NHLT table. yes bestie, the whole table, hand it over. πepβ the pointer to endpoint to use as loop cursor. this one's the main character β it's the thing that moves through the loop, step by step, on repeat. π₯
π SEE ALSO π
the kernel file ./include/acpi/nhlt.h is where the magic lives, and while you're there, go give these other icons a follow:
they're all in the same friend group, iykyk π
ngl if you're looping over NHLT endpoints and you skip these, that's giving "didn't read the group chat." go read them. π
and that's the page, bestie! π this lil gem comes to you from the source ./include/acpi, dated October 2026 β periodt, that's the version and the date, don't come for me. πβπ
π¦ 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