acpi_get_fir...hysical_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ acpi_get_fir...hysical_node(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸŽ€ β€” this one lives in section 9 and honestly it's giving "small function, big main character energy". Let's get into it πŸ’…


🌸 NAME 🌸

acpi_get_first_physical_node β€” literally just finds the first physical node of an ACPI device. that's it. that's the whole vibe πŸ¦‹


⭐ SYNOPSIS ⭐

struct device * acpi_get_first_physical_node (struct acpi_device *adev );

like, you hand it an ACPI device and it hands you back a struct device *. simple as 🫢


πŸ’– ARGUMENTS πŸ’–

  • adev β€” the ACPI device in question πŸ‘€ (yes, that one. the one you're asking about.)

πŸ”₯ RETURN πŸ”₯

the first physical node of the ACPI device adev ✨ that's the whole return value, no cap.


πŸ¦‹ SEE ALSO πŸ¦‹

kernel file ./drivers/acpi/bus.c β€” go read it, iykyk πŸ“–

and the whole friend group of related functions, all here, none skipped, periodt:


and that's the whole page, bestie πŸ’œ this one came out of ./drivers/acpi, dated October 2026, and it's filed under acpi_get_fir...hysical_node(9) β€” yes the title is truncated with ellipsis in the header, that's just how it is, don't come for me 😭 slay, go forth and find those physical nodes πŸ‘‘

πŸ“¦ where this page comes from