pcie_port_find_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ pcie_port_find_device(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual πŸ’– this page is literally about finding a struct device, and it’s giving β€œsmall function, main-character energy.” no cap.

🌸 NAME 🌸

pcie_port_find_device β€” find the struct device ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

struct device * pcie_port_find_device (struct pci_dev *dev , u32 service
);

That’s the whole signature, exactly as it appears β€” spacing and all πŸ’….

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the PCI Express port that the service is associated with 🫢
  • service β€” the service you’re trying to find πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

Find the struct device associated with the given service on a pci_dev. That’s the vibe: you’ve got a pci_dev, you’ve got a service, and this is the function that finds the corresponding struct device. ✨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/pci/pcie/portdrv.c β€” and here’s the whole squad, bestie:


mwah πŸ’‹ this lil page is sourced from ./drivers/pci/pcie and dated October 2026 β€” stay slaying, bestie πŸ’…πŸ«Ά

πŸ“¦ where this page comes from