pci_host_common_parse_ports(9)
π pci_host_common_parse_ports(9) π
okay bestie, welcome to the Kernel API Manual entry for this little function β it's giving βfind the Root Ports and read their vibesβ energy, and we're gonna get into it β¨
π NAME π
pci_host_common_parse_ports β Parse Root Port nodes from device tree π³
β¨ SYNOPSIS β¨
int pci_host_common_parse_ports (struct device *dev , struct
pci_host_bridge *bridge );
π¦ ARGUMENTS π¦
devβ the Device pointer, aka the device bestie in question π«Άbridgeβ the PCI host bridge π
πΈ DESCRIPTION πΈ
Okay so picture this: it iterates through the child nodes of the host bridge and parses the Root Port properties. And rn? That's currently only reset GPIOs β that's the whole property situation, no cap π
π RETURN π
0 on success or ports not found, and negative error codes on failure π
π₯ SEE ALSO π₯
- Kernel file
./drivers/pci/controller/pci-host-common.cπ pci_host_common_delete_ports(9)pci_host_common_parse_perst(9)pci_host_common_parse_port(9)pci_host_common_d3cold_possible(9)
xoxo, your kernel bestie β signed off from the ./drivers/pci/controller source corner, October 2026, mwah ππ
π¦ 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