acpi_device_dep(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, lemme introduce you to acpi_device_dep β€” the little kernel function (it's acpi_device_dep(9) in the Kernel API Manual, iykyk) that checks ACPI device dependency πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

bool acpi_device_dep (acpi_handle target , acpi_handle match );

πŸŽ€ ARGUMENTS πŸŽ€

  • target β€” the ACPI handle of the target ACPI device. like, the one we're snooping on πŸ•΅οΈβ€β™€οΈ
  • match β€” the ACPI handle we're looking up in target's _DEP list. the one we're hunting for πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

Returns true if match is present in the list returned by _DEP for target, or false otherwise. that's it, that's the whole vibe check β€” does this handle slay in the dependency list or not πŸ‘‘

not me being obsessed with how simple that is. periodt πŸ’œ


🌈 SEE ALSO 🌈

Kernel file ./drivers/acpi/utils.c β€” go read it, fr fr, and then go meet the whole friend group:


🫢 that's the whole page, bestie β€” no cap, nothing hidden, every single handle accounted for. go forth and dependency-check πŸ’…

and that's a wrap on the acpi_device_dep(9) page, brought to you by the fine folks over at ./drivers/acpi, dated October 2026 πŸŽ€ she's iconic, she's timeless, she's lowkey just a bool πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from