Searched refs:lnkdev (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/arch/mips/pci/
H A Dpci-xlp.c200 int xlp_socdev_to_node(const struct pci_dev *lnkdev) xlp_socdev_to_node() argument
203 return PCI_FUNC(lnkdev->bus->self->devfn); xlp_socdev_to_node()
205 return PCI_SLOT(lnkdev->devfn) / 8; xlp_socdev_to_node()
210 struct pci_dev *lnkdev; pcibios_map_irq() local
217 lnkdev = xlp_get_pcie_link(dev); pcibios_map_irq()
218 if (lnkdev == NULL) pcibios_map_irq()
221 lnkfunc = PCI_FUNC(lnkdev->devfn); pcibios_map_irq()
222 node = xlp_socdev_to_node(lnkdev); pcibios_map_irq()
H A Dmsi-xlp.c446 struct pci_dev *lnkdev; arch_setup_msi_irq() local
450 lnkdev = xlp_get_pcie_link(dev); arch_setup_msi_irq()
451 if (lnkdev == NULL) { arch_setup_msi_irq()
455 slot = PCI_SLOT(lnkdev->devfn); arch_setup_msi_irq()
456 link = PCI_FUNC(lnkdev->devfn); arch_setup_msi_irq()

Completed in 99 milliseconds