Lines Matching defs:devfn
1140 dev->sriov->link = dev->devfn;
1192 via_vlink_dev_lo = PCI_SLOT(dev->devfn);
1193 via_vlink_dev_hi = PCI_SLOT(dev->devfn);
1245 if (dev->bus->number != 0 || PCI_SLOT(dev->devfn) > via_vlink_dev_hi ||
1246 PCI_SLOT(dev->devfn) < via_vlink_dev_lo)
1811 if (PCI_FUNC(pdev->devfn))
2955 dev_no = host_bridge->devfn >> 3;
3013 dev_no = dev->devfn >> 3;
3291 if (PCI_FUNC(dev->devfn))
3322 if (PCI_FUNC(dev->devfn))
4230 if (PCI_FUNC(dev->devfn) != 0)
4231 pci_add_dma_alias(dev, PCI_DEVFN(PCI_SLOT(dev->devfn), 0), 1);
4244 if (PCI_FUNC(dev->devfn) != 1)
4245 pci_add_dma_alias(dev, PCI_DEVFN(PCI_SLOT(dev->devfn), 1), 1);
4308 * Some devices DMA with the wrong devfn, not just the wrong function.
4310 * the alias is "fixed" and independent of the device devfn.
5621 if (PCI_FUNC(pdev->devfn) != consumer)
5626 PCI_DEVFN(PCI_SLOT(pdev->devfn), supplier));
5745 int pci_idt_bus_quirk(struct pci_bus *bus, int devfn, u32 *l, int timeout)
5762 found = pci_bus_generic_read_dev_vendor_id(bus, devfn, l, timeout);
5766 pci_bus_write_config_word(bus, devfn, PCI_VENDOR_ID, 0);
5776 * Microsemi Switchtec NTB uses devfn proxy IDs to move TLPs between
5841 u8 devfn;
5844 devfn = (rid_entry >> 1) & 0xFF;
5847 pp, PCI_SLOT(devfn), PCI_FUNC(devfn));
5848 pci_add_dma_alias(pdev, devfn, 1);
5954 * The PLX NTB uses devfn proxy IDs to move TLPs between NT endpoints.