pcie_port_find_device(9)
π 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:
release_pcie_device(9)pcie_port_enable_irq_vec(9)pcie_init_service_irqs(9)get_port_device_capability(9)pcie_device_init(9)pcie_port_device_register(9)pcie_port_device_suspend(9)pcie_port_device_resume(9)pcie_port_device_runtime_suspend(9)pcie_port_device_runtime_resume(9)pcie_port_device_remove(9)pcie_port_bus_probe(9)pcie_port_bus_remove(9)pcie_port_service_register(9)pcie_port_service_unregister(9)
mwah π this lil page is sourced from ./drivers/pci/pcie and dated October 2026 β stay slaying, bestie π
π«Ά
π¦ 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