for_each_acpi_dev_match(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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, NULL at the end of the loop. πŸ’…
  • hid β€” Hardware ID of the device.
  • uid β€” Unique ID of the device, pass NULL to not check _UID.
  • hrv β€” Hardware Revision of the device, pass -1 to 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 🌈


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