Lines Matching refs:devfn
1147 dev->sriov->link = dev->devfn;
1199 via_vlink_dev_lo = PCI_SLOT(dev->devfn);
1200 via_vlink_dev_hi = PCI_SLOT(dev->devfn);
1252 if (dev->bus->number != 0 || PCI_SLOT(dev->devfn) > via_vlink_dev_hi ||
1253 PCI_SLOT(dev->devfn) < via_vlink_dev_lo)
1818 if (PCI_FUNC(pdev->devfn))
2962 dev_no = host_bridge->devfn >> 3;
3020 dev_no = dev->devfn >> 3;
3298 if (PCI_FUNC(dev->devfn))
3329 if (PCI_FUNC(dev->devfn))
4237 if (PCI_FUNC(dev->devfn) != 0)
4238 pci_add_dma_alias(dev, PCI_DEVFN(PCI_SLOT(dev->devfn), 0), 1);
4251 if (PCI_FUNC(dev->devfn) != 1)
4252 pci_add_dma_alias(dev, PCI_DEVFN(PCI_SLOT(dev->devfn), 1), 1);
4315 * Some devices DMA with the wrong devfn, not just the wrong function.
4317 * the alias is "fixed" and independent of the device devfn.
5628 if (PCI_FUNC(pdev->devfn) != consumer)
5633 PCI_DEVFN(PCI_SLOT(pdev->devfn), supplier));
5752 int pci_idt_bus_quirk(struct pci_bus *bus, int devfn, u32 *l, int timeout)
5769 found = pci_bus_generic_read_dev_vendor_id(bus, devfn, l, timeout);
5773 pci_bus_write_config_word(bus, devfn, PCI_VENDOR_ID, 0);
5783 * Microsemi Switchtec NTB uses devfn proxy IDs to move TLPs between
5848 u8 devfn;
5851 devfn = (rid_entry >> 1) & 0xFF;
5854 pp, PCI_SLOT(devfn), PCI_FUNC(devfn));
5855 pci_add_dma_alias(pdev, devfn, 1);
5961 * The PLX NTB uses devfn proxy IDs to move TLPs between NT endpoints.