Lines Matching refs:devfn
44 unsigned int devfn; member
121 .devfn = dev->devfn in pcistub_device_release()
166 && slot == PCI_SLOT(psdev->dev->devfn) in pcistub_device_find_locked()
167 && func == PCI_FUNC(psdev->dev->devfn)) { in pcistub_device_find_locked()
330 && dev->devfn == pdev_id->devfn) in pcistub_match_one()
408 .devfn = dev->devfn in pcistub_init_device()
489 int domain, int bus, unsigned int devfn) in pcistub_device_id_add_list() argument
499 pci_dev_id->devfn == devfn) { in pcistub_device_id_add_list()
508 new->devfn = devfn; in pcistub_device_id_add_list()
555 dev->bus->number, dev->devfn); in pcistub_seize()
714 &aer_op->domain, &aer_op->bus, &aer_op->devfn); in common_process()
722 aer_cmd, aer_op->domain, aer_op->bus, aer_op->devfn); in common_process()
780 dev->bus->number, dev->devfn); in xen_pcibk_slot_reset()
785 PCI_SLOT(dev->devfn), in xen_pcibk_slot_reset()
786 PCI_FUNC(dev->devfn)); in xen_pcibk_slot_reset()
837 dev->bus->number, dev->devfn); in xen_pcibk_mmio_enabled()
842 PCI_SLOT(dev->devfn), in xen_pcibk_mmio_enabled()
843 PCI_FUNC(dev->devfn)); in xen_pcibk_mmio_enabled()
894 dev->bus->number, dev->devfn); in xen_pcibk_error_detected()
899 PCI_SLOT(dev->devfn), in xen_pcibk_error_detected()
900 PCI_FUNC(dev->devfn)); in xen_pcibk_error_detected()
947 dev->bus->number, dev->devfn); in xen_pcibk_error_resume()
952 PCI_SLOT(dev->devfn), in xen_pcibk_error_resume()
953 PCI_FUNC(dev->devfn)); in xen_pcibk_error_resume()
1066 int rc = 0, devfn = PCI_DEVFN(slot, func); in pcistub_device_id_add() local
1087 || PCI_SLOT(devfn) != slot in pcistub_device_id_add()
1088 || PCI_FUNC(devfn) != func) in pcistub_device_id_add()
1098 pcistub_device_id_add_list(pci_dev_id, domain, bus, devfn); in pcistub_device_id_add()
1113 && (slot < 0 || PCI_SLOT(pci_dev_id->devfn) == slot) in pcistub_device_id_remove()
1114 && (func < 0 || PCI_FUNC(pci_dev_id->devfn) == func)) { in pcistub_device_id_remove()
1226 PCI_SLOT(pci_dev_id->devfn), in slots_show()
1227 PCI_FUNC(pci_dev_id->devfn)); in slots_show()
1340 PCI_SLOT(quirk->pdev->devfn), in quirks_show()
1341 PCI_FUNC(quirk->pdev->devfn), in quirks_show()