devm_pci_pw...ce_set_ready(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

devm_pci_pwrctrl_device_set_ready β€” the managed girlie version of pci_pwrctrl_device_set_ready(). like, same energy, but the devres crew handles the cleanup for you ✨

okay so real talk, this is from the Kernel API Manual and it's genuinely so useful, let me put you on 🫢


🌸 SYNOPSIS 🌸

int devm_pci_pwrctrl_device_set_ready (struct device *dev , struct
       pci_pwrctrl *pwrctrl );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device that's managing this pwrctrl provider. she's the main character running the whole situation πŸ‘‘
  • pwrctrl β€” the PCI power control data itself. literally the vibes we're setting up πŸ’…

⭐ RETURN ⭐

0 on success πŸ’š β€” and a negative error number on error, no in-between, no "it's complicated" 😭


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/pci/pwrctrl/core.c, plus the whole friend group:


and that's the whole page bestie, no notes πŸ’œ this icon lives at ./drivers/pci/pwrctrl, stamped October 2026 β€” go read the source, iykyk 🌈

πŸ“¦ where this page comes from