pcie_aspm_enabled(9)
πΈ NAME πΈ
Okay bestie, you're looking at pcie_aspm_enabled(9) from the Kernel API Manual β¨ β the function that checks if PCIe ASPM has been enabled for a device. That's the whole vibe π
β¨ SYNOPSIS β¨
bool pcie_aspm_enabled (struct pci_dev *pdev );
π ARGUMENTS π
pdevβ the target device, bestie π―
π¦ DESCRIPTION π¦
Okay so here's the tea: this one relies on the upstream bridge's link_state being valid π«Ά The link_state gets deallocated only when the last child of the bridge (i.e., pdev or a sibling) is removed, and the caller should be holding a reference to pdev, so this should be safe. Periodt β¨
π₯ SEE ALSO π₯
Kernel file: ./drivers/pci/pcie/aspm.c β that's where it lives, iykyk π
Go peek at these too:
pcie_encode_t_power_on(9)pci_disable_link_state(9)pci_enable_link_state(9)pci_enable_link_state_locked(9)
π source/version: ./drivers/pci/pcie Β· date: October 2026 Β· pcie_aspm_enabled(9) π
π¦ 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