/qemu/tests/qtest/libqos/ |
H A D | vhost-user-blk.c | 29 #define PCI_SLOT 0x04 macro 105 PCI_SLOT, PCI_FN); in vhost_user_blk_register_nodes() 108 .devfn = QPCI_DEVFN(PCI_SLOT, PCI_FN), in vhost_user_blk_register_nodes()
|
H A D | virtio-blk.c | 26 #define PCI_SLOT 0x04 macro 101 PCI_SLOT, PCI_FN); in virtio_blk_register_nodes() 104 .devfn = QPCI_DEVFN(PCI_SLOT, PCI_FN), in virtio_blk_register_nodes()
|
/qemu/hw/acpi/ |
H A D | pcihp.c | 202 if (PCI_SLOT(dev->devfn) == slot) { in acpi_pcihp_eject_slot() 248 int slot = PCI_SLOT(pdev->devfn); in acpi_pcihp_update_hotplug_bus() 289 int slot = PCI_SLOT(pdev->devfn); in acpi_pcihp_device_plug_cb() 332 trace_acpi_pci_unplug(PCI_SLOT(pdev->devfn), in acpi_pcihp_device_unplug_cb() 343 int slot = PCI_SLOT(pdev->devfn); in acpi_pcihp_device_unplug_request_cb() 465 if (PCI_SLOT(dev->devfn) == slot) { in pci_write()
|
/qemu/hw/riscv/ |
H A D | riscv-iommu-pci.c | 102 pci_dev_bus_num(dev), PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in riscv_iommu_pci_realize() 139 pci_bus_num(pci_get_bus(dev)), PCI_SLOT(dev->devfn), in riscv_iommu_pci_realize()
|
H A D | riscv-iommu.c | 118 trace_riscv_iommu_flt(s->parent_obj.id, PCI_BUS_NUM(devid), PCI_SLOT(devid), in riscv_iommu_fault() 154 trace_riscv_iommu_pri(s->parent_obj.id, PCI_BUS_NUM(devid), PCI_SLOT(devid), in riscv_iommu_pri() 610 PCI_SLOT(ctx->devid), PCI_FUNC(ctx->devid), in riscv_iommu_msi_write() 647 PCI_SLOT(ctx->devid), PCI_FUNC(ctx->devid), in riscv_iommu_msi_write() 1218 PCI_BUS_NUM(as->devid), PCI_SLOT(as->devid), PCI_FUNC(as->devid)); in riscv_iommu_space() 1229 PCI_SLOT(as->devid), PCI_FUNC(as->devid)); in riscv_iommu_space() 2570 PCI_SLOT(as->devid), PCI_FUNC(as->devid), iommu_idx, in riscv_iommu_memory_region_translate()
|
/qemu/include/hw/xen/ |
H A D | xen_native.h | 443 PCI_SLOT(pci_dev->devfn), PCI_FUNC(pci_dev->devfn)); in xen_map_pcidev() 446 PCI_SLOT(pci_dev->devfn), in xen_map_pcidev() 459 PCI_SLOT(pci_dev->devfn), PCI_FUNC(pci_dev->devfn)); in xen_unmap_pcidev() 462 PCI_SLOT(pci_dev->devfn), in xen_unmap_pcidev()
|
/qemu/hw/pci/ |
H A D | pci_host.c | 94 PCI_SLOT(pci_dev->devfn), in pci_host_config_write_common() 120 PCI_SLOT(pci_dev->devfn), in pci_host_config_read_common()
|
H A D | pci.c | 506 PCI_SLOT(d->devfn), PCI_FUNC(d->devfn), in pci_pm_update() 511 trace_pci_pm_transition(d->name, pci_dev_bus_num(d), PCI_SLOT(d->devfn), in pci_pm_update() 1107 uint8_t slot = PCI_SLOT(dev->devfn); in pci_init_multifunction() 1275 return bus->slot_reserved_mask & (1UL << PCI_SLOT(devfn)); in pci_bus_devfn_reserved() 1329 PCI_SLOT(devfn), PCI_FUNC(devfn), name); in do_pci_register_device() 1334 PCI_SLOT(devfn), PCI_FUNC(devfn), name, in do_pci_register_device() 1348 PCI_SLOT(pci_get_function_0(pci_dev)->devfn), in do_pci_register_device() 1714 PCI_SLOT(d->devfn), in pci_update_mappings() 1722 PCI_SLOT(d->devfn), in pci_update_mappings() 1914 return pci_swizzle(PCI_SLOT(pci_dev->devfn), pin); in pci_swizzle_map_irq_fn() [all …]
|
H A D | pci-hmp-cmds.c | 155 PCI_SLOT(d->devfn), PCI_FUNC(d->devfn), in pcibus_dev_print() 245 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in hmp_pcie_aer_inject_error()
|
H A D | pcie_sriov.c | 44 trace_sriov_register_vfs(dev->name, PCI_SLOT(dev->devfn), in register_vfs() 58 trace_sriov_unregister_vfs(dev->name, PCI_SLOT(dev->devfn), in unregister_vfs() 416 trace_sriov_config_write(dev->name, PCI_SLOT(dev->devfn), in pcie_sriov_config_write()
|
H A D | pci-qmp-cmds.c | 116 info->slot = PCI_SLOT(dev->devfn); in qmp_query_pci_device()
|
/qemu/ui/ |
H A D | util.c | 44 PCI_SLOT(pci->devfn), PCI_FUNC(pci->devfn)); in append_pci_address()
|
/qemu/hw/pci-host/ |
H A D | sabre.c | 281 switch (PCI_SLOT(pci_dev->devfn)) { in pci_simbaA_map_irq() 293 return ((PCI_SLOT(pci_dev->devfn) << 2) + irq_num) & 0x1f; in pci_simbaA_map_irq() 298 return (0x10 + (PCI_SLOT(pci_dev->devfn) << 2) + irq_num) & 0x1f; in pci_simbaB_map_irq()
|
H A D | sh_pci.c | 109 return PCI_SLOT(d->devfn); in sh_pci_map_irq()
|
H A D | gpex.c | 87 return (PCI_SLOT(pci_dev->devfn) + pin) % bus->nirq; in gpex_swizzle_map_irq_fn()
|
H A D | articia.c | 155 int devfn_slot = PCI_SLOT(pdev->devfn); in amigaone_pcihost_bus0_map_irq()
|
/qemu/hw/s390x/ |
H A D | s390-pci-bus.c | 616 iommu = table->iommu[PCI_SLOT(devfn)]; in s390_pci_get_iommu() 622 PCI_SLOT(devfn), in s390_pci_get_iommu() 626 PCI_SLOT(devfn), in s390_pci_get_iommu() 632 table->iommu[PCI_SLOT(devfn)] = iommu; in s390_pci_get_iommu() 771 S390PCIIOMMU *iommu = table ? table->iommu[PCI_SLOT(devfn)] : NULL; in s390_pci_iommu_free() 777 table->iommu[PCI_SLOT(devfn)] = NULL; in s390_pci_iommu_free() 1114 PCI_SLOT(pdev->devfn), in s390_pcihost_plug()
|
/qemu/hw/xen/ |
H A D | xen_pt.c | 90 PCI_SLOT(d->devfn), PCI_FUNC(d->devfn)); in xen_pt_log() 582 pci_bus_num(bus), PCI_SLOT(d->devfn), in xen_pt_check_bar_overlap() 719 PCI_SLOT(s->dev.devfn), in xen_pt_destroy() 931 PCI_SLOT(d->devfn), in xen_pt_realize()
|
H A D | xen_pt.h | 97 (1UL << PCI_SLOT(PCI_DEVFN(XEN_PCI_IGD_DEV, XEN_PCI_IGD_FN)))
|
/qemu/tests/qtest/fuzz/ |
H A D | virtio_scsi_fuzz.c | 25 #define PCI_SLOT 0x02 macro
|
H A D | virtio_blk_fuzz.c | 25 #define PCI_SLOT 0x02 macro
|
/qemu/hw/i386/ |
H A D | amd_iommu.c | 368 trace_amdvi_cache_update(domid, PCI_BUS_NUM(devid), PCI_SLOT(devid), in amdvi_update_iotlb() 420 trace_amdvi_devtab_inval(PCI_BUS_NUM(devid), PCI_SLOT(devid), in amdvi_inval_devtab_entry() 995 trace_amdvi_iotlb_hit(PCI_BUS_NUM(devid), PCI_SLOT(devid), in amdvi_do_translate() 1063 trace_amdvi_translation_result(as->bus_num, PCI_SLOT(as->devfn), in amdvi_translate() 1523 "currently supported", as->bus_num, PCI_SLOT(as->devfn), in amdvi_iommu_notify_flag_changed()
|
/qemu/hw/ppc/ |
H A D | spapr_pci.c | 833 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in spapr_phb_get_loc_code() 910 b_ddddd(PCI_SLOT(d->devfn)) | in populate_resource_props() 1338 int slot = PCI_SLOT(dev->devfn); in spapr_pci_fw_dev_name() 1540 uint32_t slotnr = PCI_SLOT(pdev->devfn); in spapr_pci_pre_plug() 1574 uint32_t slotnr = PCI_SLOT(pdev->devfn); in spapr_pci_plug() 1667 uint32_t slotnr = PCI_SLOT(pdev->devfn); in spapr_pci_unplug_request()
|
/qemu/hw/vfio/ |
H A D | iommufd.c | 726 devices[i].bus, PCI_SLOT(devices[i].devfn), in iommufd_cdev_pci_hot_reset() 742 PCI_SLOT(devices[i].devfn), in iommufd_cdev_pci_hot_reset()
|
/qemu/hw/sparc64/ |
H A D | sun4u.c | 735 return g_strdup_printf("pci@%x,%x", PCI_SLOT(pci->devfn), in sun4u_fw_dev_path() 738 return g_strdup_printf("pci@%x", PCI_SLOT(pci->devfn)); in sun4u_fw_dev_path()
|