ibm_find_acpi_device(9)
π NAME π
Okay so from the Kernel API Manual, bestie: ibm_find_acpi_device(9) is literally the callback to find our ACPI device. It's giving "we're going on a namespace scavenger hunt" energy. π
β¨ SYNOPSIS β¨
acpi_status ibm_find_acpi_device (acpi_handle handle , u32 lvl , void
*context , void **rv );
π¦ ARGUMENTS π¦
handleβ the ACPI handle of the device we are inspecting. Like, the actual thing we're checking out rn. πlvlβ depth into the namespace tree. How deep are we going? Very "descending into the group chat archives" vibes. π³contextβ a pointer to our handle to fill when we find the device. It's the spot where we stash the win. π«Άrvβ a return value to fill if desired. If you wanna leave a lil something there, this is it. β¨
π DESCRIPTION π
Used as a callback when calling acpi_walk_namespace to find our device. When this method returns non-zero, acpi_walk_namespace quits its search and returns our value. No cap β that's the whole assignment: walk the namespace, find our device, and if we return non-zero, the search stops and our value gets returned. π
π SEE ALSO π
Kernel file ./drivers/pci/hotplug/acpiphp_ibm.c β plus the whole bestie squad: ibm_slot_from_id(9), ibm_set_attention_status(9), ibm_get_attention_status(9), ibm_handle_events(9), ibm_get_table_from_acpi(9), and ibm_read_apci_table(9). π¦
Signed off from ./drivers/pci/hotplug, October 2026 β ibm_find_acpi_device(9), over and out, 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