acpi_dev_get...consumer_dev(9)
πΈ acpi_dev_get...consumer_dev(9) πΈ
okay bestie so this is a page from the Kernel API Manual and it's literally the whole acpi_dev_get...consumer_dev(9) situation β yes the name has an ellipsis in it, that's just how it is, don't @ me π
β¨ NAME β¨
acpi_dev_get_next_consumer_dev β returns the next adev that's dependent on @supplier π«Ά
π¦ SYNOPSIS π¦
struct acpi_device * acpi_dev_get_next_consumer_dev (struct acpi_device
* supplier , struct acpi_device *start );
π ARGUMENTS π
supplierβ pointer to the dependee device π (the one everyone's being dependent on, main character energy fr)startβ pointer to the current dependent device β (where you're starting from, iykyk)
π DESCRIPTION π
so the way this works is it returns the next struct acpi_device that declares itself dependent on supplier via the _DEP buffer, parsed from the acpi_dep_list. like it's going down the dependency list and handing you the next one, no cap β¨
π¨ important caveat bestie, listen up: if the returnedadevis not passed as start to this function, then the caller is responsible for putting the reference toadevwhen it's no longer needed. so like, you own that reference now, don't just walk away from it ππ
π₯ SEE ALSO π₯
- Kernel file
./drivers/acpi/scan.cπ acpi_scan_drop_device(9)acpi_fetch_acpi_dev(9)acpi_get_acpi_dev(9)acpi_dma_supported(9)acpi_get_dma_attr(9)acpi_dma_get_range(9)acpi_dma_configure_id(9)acpi_walk_dep_device_list(9)acpi_dev_clear_dependencies(9)acpi_dev_ready_for_enumeration(9)acpi_bus_scan(9)acpi_bus_trim(9)
and that's the whole page, periodt π
π¦ this icon lives in ./drivers/acpi and got stamped October 2026 β so like, future vibes only, slay ππ mwah, go read some kernel source bestie π
π¦ 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