pci_acpi_ad..._pm_notifier(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pci_acpi_ad..._pm_notifier(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ this one is short and sweet and it's literally all about telling the kernel's power-management girlies to text you back when the root PCI bus wakes up or goes nighty-night πŸ˜΄πŸ””


🌸 NAME 🌸

pci_acpi_add_root_pm_notifier β€” no cap, this is the one that registers your PM notifier for the root PCI bus 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

acpi_status pci_acpi_add_root_pm_notifier (struct acpi_device *dev ,
struct acpi_pci_root *root );

it's giving "two args, one job, zero drama" πŸ’… and like β€” heads up β€” the return type is acpi_status, which is the main character here πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the PCI root bridge ACPI device πŸ’» like, this is the ACPI-side bestie.
  • root β€” the PCI root that corresponds to dev πŸŒ‰ the matching PCI-side bestie. they're a set, iykyk.

⭐ SEE ALSO ⭐

so the kernel file lives right here: ./drivers/pci/pci-acpi.c πŸ“ and while you're in the neighborhood, go say hi to the whole friend group πŸ‘―β€β™€οΈ:

like, read them all, they're all iconic in their own way πŸ”₯


✨ reminder bestie: this page is short, so don't go inventing extra flags or behaviour in your head β€” what you see is what you get πŸ’–

and that's the whole vibe, periodt πŸ’… sourced from ./drivers/pci, dated October 2026 πŸ—“οΈπŸŒΈ mwah, go register that notifier πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from