Home
last modified time | relevance | path

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

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