Home
last modified time | relevance | path

Searched refs:PCI_FUNC (Results 1 – 25 of 29) sorted by relevance

12

/qemu/hw/riscv/
A Driscv-iommu-pci.c94 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 Driscv-iommu.c124 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 Dxen_native.h443 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 Dpcie_sriov.c186 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 Dpci_host.c95 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 Dpci-hmp-cmds.c155 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 Dpci.c527 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 Dpci-qmp-cmds.c117 info->function = PCI_FUNC(dev->devfn); in qmp_query_pci_device()
A Dpcie.c1185 PCI_FUNC(dev->devfn)); in pcie_acs_init()
/qemu/ui/
A Dutil.c44 PCI_SLOT(pci->devfn), PCI_FUNC(pci->devfn)); in append_pci_address()
/qemu/hw/ppc/
A Dspapr_pci.c833 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 Dpegasos2.c807 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 Damd_iommu.c369 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 Dacpi-build.c475 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 Dintel_iommu.c3320 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 Diommufd.c711 PCI_FUNC(devices[i].devfn)); in iommufd_cdev_pci_hot_reset()
727 PCI_FUNC(devices[i].devfn), in iommufd_cdev_pci_hot_reset()
A Dcontainer.c994 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 Dsun4u.c747 if (PCI_FUNC(pci->devfn)) { in sun4u_fw_dev_path()
749 PCI_FUNC(pci->devfn)); in sun4u_fw_dev_path()
/qemu/hw/s390x/
A Ds390-pci-bus.c621 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 Dxen_pt.c90 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 Duninorth.c65 func = PCI_FUNC(reg >> 8); in unin_get_config_reg()
/qemu/include/hw/pci/
A Dpci.h18 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro
/qemu/hw/virtio/
A Dvirtio-iommu.c121 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 Dvt82c686.c662 int f = PCI_FUNC(d->devfn); in via_isa_set_irq()
/qemu/hw/scsi/
A Dmptsas.c1321 s->sas_addr |= PCI_FUNC(dev->devfn); in mptsas_scsi_realize()

Completed in 94 milliseconds

12