Lines Matching refs:devfn
179 static int pcifront_bus_read(struct pci_bus *bus, unsigned int devfn, in pcifront_bus_read() argument
187 .devfn = devfn, in pcifront_bus_read()
197 pci_domain_nr(bus), bus->number, PCI_SLOT(devfn), in pcifront_bus_read()
198 PCI_FUNC(devfn), where, size); in pcifront_bus_read()
218 static int pcifront_bus_write(struct pci_bus *bus, unsigned int devfn, in pcifront_bus_write() argument
225 .devfn = devfn, in pcifront_bus_write()
238 PCI_SLOT(devfn), PCI_FUNC(devfn), where, size, val); in pcifront_bus_write()
258 .devfn = dev->devfn, in pci_frontend_enable_msix()
312 .devfn = dev->devfn, in pci_frontend_disable_msix()
331 .devfn = dev->devfn, in pci_frontend_enable_msi()
347 "%x:%x\n", op.bus, op.devfn); in pci_frontend_enable_msi()
360 .devfn = dev->devfn, in pci_frontend_disable_msi()
423 unsigned int devfn; in pcifront_scan_bus() local
429 for (devfn = 0; devfn < 0x100; devfn++) { in pcifront_scan_bus()
430 d = pci_get_slot(b, devfn); in pcifront_scan_bus()
437 d = pci_scan_single_device(b, devfn); in pcifront_scan_bus()
441 PCI_SLOT(devfn), PCI_FUNC(devfn)); in pcifront_scan_bus()
589 int devfn = pdev->sh_info->aer_op.devfn; in pcifront_common_process() local
595 cmd, bus, devfn); in pcifront_common_process()
598 pcidev = pci_get_bus_and_slot(bus, devfn); in pcifront_common_process()
656 pdev->sh_info->aer_op.bus, pdev->sh_info->aer_op.devfn); in pcifront_do_aer()