Lines Matching defs:devfn
1092 dev->sriov->link = dev->devfn;
1144 via_vlink_dev_lo = PCI_SLOT(dev->devfn);
1145 via_vlink_dev_hi = PCI_SLOT(dev->devfn);
1197 if (dev->bus->number != 0 || PCI_SLOT(dev->devfn) > via_vlink_dev_hi ||
1198 PCI_SLOT(dev->devfn) < via_vlink_dev_lo)
1763 if (PCI_FUNC(pdev->devfn))
2852 dev_no = host_bridge->devfn >> 3;
2910 dev_no = dev->devfn >> 3;
3188 if (PCI_FUNC(dev->devfn))
3219 if (PCI_FUNC(dev->devfn))
4127 if (PCI_FUNC(dev->devfn) != 0)
4128 pci_add_dma_alias(dev, PCI_DEVFN(PCI_SLOT(dev->devfn), 0), 1);
4141 if (PCI_FUNC(dev->devfn) != 1)
4142 pci_add_dma_alias(dev, PCI_DEVFN(PCI_SLOT(dev->devfn), 1), 1);
4205 * Some devices DMA with the wrong devfn, not just the wrong function.
4207 * the alias is "fixed" and independent of the device devfn.
5494 if (PCI_FUNC(pdev->devfn) != consumer)
5499 PCI_DEVFN(PCI_SLOT(pdev->devfn), supplier));
5618 int pci_idt_bus_quirk(struct pci_bus *bus, int devfn, u32 *l, int timeout)
5635 found = pci_bus_generic_read_dev_vendor_id(bus, devfn, l, timeout);
5639 pci_bus_write_config_word(bus, devfn, PCI_VENDOR_ID, 0);
5649 * Microsemi Switchtec NTB uses devfn proxy IDs to move TLPs between
5714 u8 devfn;
5717 devfn = (rid_entry >> 1) & 0xFF;
5720 pp, PCI_SLOT(devfn), PCI_FUNC(devfn));
5721 pci_add_dma_alias(pdev, devfn, 1);
5782 * The PLX NTB uses devfn proxy IDs to move TLPs between NT endpoints.