ACPI_DEVICE_CLASS(9)
πΈ NAME πΈ
okay bestie, welcome to the ACPI_DEVICE_CLASS(9) page from the Kernel API Manual π this is the macro that describes an ACPI device using the PCI-defined class-code information. literally its whole job, and it ate.
β¨ SYNOPSIS β¨
ACPI_DEVICE_CLASS (_cls , _msk );
π ARGUMENTS π
_clsβ the class, subclass, prog-if triple for this device π_mskβ the class mask for this device π«Ά
π DESCRIPTION π
This macro is used to create a struct acpi_device_id that matches a specific PCI class. The .id and .driver_data fields will be left initialized with the default value β no cap, they stay on default. π§
π¦ SEE ALSO π¦
- Kernel file
./include/linux/device-id/acpi.hβ go read it, iykyk π
xoxo, your ACPI_DEVICE_CLASS(9) bestie π source/version: ./include/linux/device-id; date: October 2026. it's giving iconic kernel API manual energy πβ¨
π¦ 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