for_each_acpi_dev_match(9)
πΈ NAME πΈ
for_each_acpi_dev_match β iterate over ACPI devices that matching the criteria.
This is the for_each_acpi_dev_match(9) page from the Kernel API Manual, bestie β and it's giving βloop over ACPI devices that match the criteriaβ energy. β¨
π SYNOPSIS π
for_each_acpi_dev_match (adev , hid , uid , hrv );
π¦ ARGUMENTS π¦
adevβ pointer to the matching ACPI device,NULLat the end of the loop. πhidβ Hardware ID of the device.uidβ Unique ID of the device, passNULLto not check_UID.hrvβ Hardware Revision of the device, pass-1to not check_HRV.
π DESCRIPTION π
The caller is responsible for invoking acpi_dev_put on the returned device. That's the whole important bit, bestie β you, the caller, are responsible for invoking acpi_dev_put on the returned device. π
π SEE ALSO π
- Kernel file
./include/acpi/acpi_bus.hstruct acpi_device_software_node_port(9)struct acpi_device_software_nodes(9)acpi_dev_uid_match(9)acpi_dev_hid_uid_match(9)for_each_acpi_consumer_dev(9)
okay that's the page, bestie π«Ά β source/version: ./include/acpi, date: October 2026. for_each_acpi_dev_match(9) out. periodt. π
π¦ 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