pci_pwrctrl_destroy_devices(9)
π pci_pwrctrl_destroy_devices(9) π
okay so bestie, welcome to the Kernel API Manual β this one is all about pci_pwrctrl_destroy_devices, and it's literally the cleanup era for pwrctrl devices. β¨
π NAME π
pci_pwrctrl_destroy_devices β Destroy pwrctrl devices. That's the whole assignment, no cap. It's giving βbye bestie, we're tearing it down.β π
β¨ SYNOPSIS β¨
void pci_pwrctrl_destroy_devices (struct device *parent );
πΈ ARGUMENTS πΈ
parentβ PCI host controller device. Yep, that's the device you're pointing at, and it's the main character for this call. π«Ά
π¦ DESCRIPTION π¦
okay so here's the vibe: it recursively destroys pwrctrl devices for the devicetree hierarchy that lives below the specified PCI host controller. And the way it walks that hierarchy? depth first β like it's going all the way down before it comes back up. no shortcuts, no chaos, just recursive teardown energy. ππ₯
π₯ SEE ALSO π₯
- Kernel file
./drivers/pci/pwrctrl/core.c pci_pwrctrl_init(9)pci_pwrctrl_device_set_ready(9)pci_pwrctrl_device_unset_ready(9)devm_pci_pwrctrl_device_set_ready(9)pci_pwrctrl_power_off_devices(9)pci_pwrctrl_power_on_devices(9)pci_pwrctrl_create_devices(9)
xoxo, your Unix bestie π β this page came from ./drivers/pci/pwrctrl, dated October 2026, and it's the manual for pci_pwrctrl_destroy_devices(9). byeee ππ
π¦ 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