| /qemu/hw/riscv/ |
| A D | riscv-iommu-pci.c | 94 pci_dev_bus_num(dev), PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in riscv_iommu_pci_realize() 132 PCI_FUNC(dev->devfn)); in riscv_iommu_pci_realize()
|
| A D | riscv-iommu.c | 124 PCI_FUNC(devid), ev->hdr, ev->iotval); in riscv_iommu_fault() 160 PCI_FUNC(devid), pr->payload); in riscv_iommu_pri() 591 PCI_SLOT(ctx->devid), PCI_FUNC(ctx->devid), in riscv_iommu_msi_write() 628 PCI_SLOT(ctx->devid), PCI_FUNC(ctx->devid), in riscv_iommu_msi_write() 1192 PCI_BUS_NUM(as->devid), PCI_SLOT(as->devid), PCI_FUNC(as->devid)); in riscv_iommu_space() 1203 PCI_SLOT(as->devid), PCI_FUNC(as->devid)); in riscv_iommu_space() 2307 PCI_SLOT(as->devid), PCI_FUNC(as->devid), iommu_idx, in riscv_iommu_memory_region_translate()
|
| /qemu/include/hw/xen/ |
| A D | xen_native.h | 443 PCI_SLOT(pci_dev->devfn), PCI_FUNC(pci_dev->devfn)); in xen_map_pcidev() 447 PCI_FUNC(pci_dev->devfn)); in xen_map_pcidev() 459 PCI_SLOT(pci_dev->devfn), PCI_FUNC(pci_dev->devfn)); in xen_unmap_pcidev() 463 PCI_FUNC(pci_dev->devfn)); in xen_unmap_pcidev()
|
| /qemu/hw/pci/ |
| A D | pcie_sriov.c | 186 PCI_FUNC(dev->devfn), num_vfs); in register_vfs() 205 PCI_FUNC(dev->devfn), num_vfs); in unregister_vfs() 235 PCI_FUNC(dev->devfn), off, val, len); in pcie_sriov_config_write()
|
| A D | pci_host.c | 95 PCI_FUNC(pci_dev->devfn), addr, val); in pci_host_config_write_common() 121 PCI_FUNC(pci_dev->devfn), addr, ret); in pci_host_config_read_common()
|
| 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()
|
| A D | pci.c | 527 assert(PCI_FUNC(devfn_min) == 0); in pci_root_bus_internal_init() 996 if (PCI_FUNC(dev->devfn)) { in pci_init_multifunction() 1001 "in function %x.%x", slot, PCI_FUNC(dev->devfn)); in pci_init_multifunction() 1192 PCI_SLOT(devfn), PCI_FUNC(devfn), name); in do_pci_register_device() 1197 PCI_SLOT(devfn), PCI_FUNC(devfn), name, in do_pci_register_device() 1561 PCI_FUNC(d->devfn), in pci_update_mappings() 1569 PCI_FUNC(d->devfn), in pci_update_mappings() 2156 || (PCI_FUNC(pci_dev->devfn) != 0)) { in pci_qdev_realize() 2545 int has_func = !!PCI_FUNC(d->devfn); in pcibus_get_fw_dev_path() 2552 PCI_FUNC(d->devfn)); in pcibus_get_fw_dev_path() [all …]
|
| A D | pci-qmp-cmds.c | 117 info->function = PCI_FUNC(dev->devfn); in qmp_query_pci_device()
|
| A D | pcie.c | 1185 PCI_FUNC(dev->devfn)); in pcie_acs_init()
|
| /qemu/ui/ |
| A D | util.c | 44 PCI_SLOT(pci->devfn), PCI_FUNC(pci->devfn)); in append_pci_address()
|
| /qemu/hw/ppc/ |
| A D | spapr_pci.c | 833 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in spapr_phb_get_loc_code() 911 b_fff(PCI_FUNC(d->devfn))); in populate_resource_props() 1340 int func = PCI_FUNC(dev->devfn); in spapr_pci_fw_dev_name() 1554 PCI_FUNC(pdev->devfn) != 0) { in spapr_pci_pre_plug() 1589 } else if (PCI_FUNC(pdev->devfn) == 0) { in spapr_pci_plug() 1670 if (PCI_FUNC(pdev->devfn) == 0) { in spapr_pci_unplug_request() 1693 if (PCI_FUNC(pdev->devfn) == 0) { in spapr_pci_unplug_request()
|
| A D | pegasos2.c | 807 if (PCI_FUNC(d->devfn)) { in add_pci_device() 808 g_string_append_printf(node, ",%x", PCI_FUNC(d->devfn)); in add_pci_device()
|
| /qemu/hw/i386/ |
| A D | amd_iommu.c | 369 PCI_FUNC(devid), gpa, to_cache.translated_addr); in amdvi_update_iotlb() 421 PCI_FUNC(devid)); in amdvi_inval_devtab_entry() 996 PCI_FUNC(devid), addr, iotlb_entry->translated_addr); in amdvi_do_translate() 1064 PCI_FUNC(as->devfn), addr, ret.translated_addr); in amdvi_translate() 1532 PCI_FUNC(as->devfn)); in amdvi_iommu_notify_flag_changed()
|
| A D | acpi-build.c | 475 if (PCI_FUNC(devfn)) { in is_devfn_ignored_generic() 502 if (PCI_FUNC(devfn) || in is_devfn_ignored_hotplug() 524 int adr = slot << 16 | PCI_FUNC(devfn); in build_append_pcihp_slots() 567 int adr = PCI_SLOT(devfn) << 16 | PCI_FUNC(devfn); in build_append_pci_bus_devices() 2026 build_append_int_noprefix(scope_blob, PCI_FUNC(dev->devfn), 1); in insert_scope() 2110 build_append_int_noprefix(table_data, PCI_FUNC(Q35_PSEUDO_DEVFN_IOAPIC), 1); in build_dmar_q35()
|
| A D | intel_iommu.c | 3320 PCI_FUNC(vtd_as->devfn)); in vtd_iommu_notify_flag_changed() 3327 PCI_FUNC(vtd_as->devfn)); in vtd_iommu_notify_flag_changed() 3810 PCI_FUNC(devfn)); in vtd_find_add_as() 3813 PCI_FUNC(devfn), pasid); in vtd_find_add_as() 4076 PCI_FUNC(vtd_as->devfn), in vtd_iommu_replay() 4094 PCI_FUNC(vtd_as->devfn)); in vtd_iommu_replay()
|
| /qemu/hw/vfio/ |
| A D | iommufd.c | 711 PCI_FUNC(devices[i].devfn)); in iommufd_cdev_pci_hot_reset() 727 PCI_FUNC(devices[i].devfn), in iommufd_cdev_pci_hot_reset()
|
| A D | container.c | 994 host.function = PCI_FUNC(devices[i].devfn); in vfio_legacy_pci_hot_reset() 1089 host.function = PCI_FUNC(devices[i].devfn); in vfio_legacy_pci_hot_reset()
|
| /qemu/hw/sparc64/ |
| A D | sun4u.c | 747 if (PCI_FUNC(pci->devfn)) { in sun4u_fw_dev_path() 749 PCI_FUNC(pci->devfn)); in sun4u_fw_dev_path()
|
| /qemu/hw/s390x/ |
| A D | s390-pci-bus.c | 621 PCI_FUNC(devfn)); in s390_pci_get_iommu() 625 PCI_FUNC(devfn)); in s390_pci_get_iommu() 1078 PCI_FUNC(pdev->devfn)); in s390_pcihost_plug()
|
| /qemu/hw/xen/ |
| A D | xen_pt.c | 90 PCI_SLOT(d->devfn), PCI_FUNC(d->devfn)); in xen_pt_log() 583 PCI_FUNC(d->devfn), i, r->addr, r->size); in xen_pt_check_bar_overlap()
|
| /qemu/hw/pci-host/ |
| A D | uninorth.c | 65 func = PCI_FUNC(reg >> 8); in unin_get_config_reg()
|
| /qemu/include/hw/pci/ |
| A D | pci.h | 18 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro
|
| /qemu/hw/virtio/ |
| A D | virtio-iommu.c | 121 PCI_FUNC(sdev->devfn), in virtio_iommu_switch_address_space() 1213 PCI_SLOT(sid), PCI_FUNC(sid)); in virtio_iommu_translate()
|
| /qemu/hw/isa/ |
| A D | vt82c686.c | 662 int f = PCI_FUNC(d->devfn); in via_isa_set_irq()
|
| /qemu/hw/scsi/ |
| A D | mptsas.c | 1321 s->sas_addr |= PCI_FUNC(dev->devfn); in mptsas_scsi_realize()
|