ACPI_DEVICE_CLASS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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