pci_disable_enabled_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pci_disable_enabled_device β€” Kernel API Manual ✨

okay so bestie, welcome to the pci_disable_enabled_device(9) page from the Kernel API Manual β€” yes it's a real manual page, yes it's about PCI, yes we're gonna get through it together 🫢


🌸 NAME 🌸

pci_disable_enabled_device β€” disables a device, but without touching enable_cnt, and honestly that distinction is the whole entire point, no cap πŸ’…


✨ SYNOPSIS ✨

void pci_disable_enabled_device (struct pci_dev *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the PCI device you wanna disable. that's it, that's the argument πŸ¦‹

πŸ”₯ NOTE πŸ”₯

okay real talk, bestie, listen up: this function is a backend of the PCI power management routines and is not supposed to be called drivers. like, read that again. not for drivers. this is internal plumbing, iykyk 🚫

πŸ’– SEE ALSO πŸ’–

so there's a kernel file to look at β€” ./drivers/pci/pci.c β€” and then literally the entire rest of the PCI subsystem, because of course there is 😭 here's the whole squad, every single one:

like… that's a lot of friends, and honestly? iconic. go read them. or don't. i'm not your mom πŸ’œ


🌸 okay that's the whole page, bestie, you ate it 🌸

this little cutie lives in ./drivers/pci, it's stamped October 2026, and its whole identity is pci_disable_enabled_device(9) β€” now go forth and not call it from a driver, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from