pci_host_common_parse_ports(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ”₯


xoxo, your kernel bestie β€” signed off from the ./drivers/pci/controller source corner, October 2026, mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from