/openbmc/qemu/include/hw/pci-host/ |
H A D | astro.h | 44 unsigned int pci_bus_num; member
|
/openbmc/qemu/hw/remote/ |
H A D | vfio-user-obj.c | 540 int pci_bdf = PCI_BUILD_BDF(pci_bus_num(pci_get_bus(pci_dev)), in vfu_object_map_irq() 551 int pci_bus_num, devfn; in vfu_object_set_irq() local 554 pci_bus_num = PCI_BUS_NUM(pirq); in vfu_object_set_irq() 563 pci_dev = pci_find_device(pci_bus, pci_bus_num, devfn); in vfu_object_set_irq() 673 int bus_num = pci_bus_num(pci_bus); in vfu_object_set_bus_irq()
|
/openbmc/qemu/hw/pci-host/ |
H A D | astro.c | 102 val = s->pci_bus_num; in elroy_chip_read_with_attrs() 104 val |= s->pci_bus_num << 8; in elroy_chip_read_with_attrs() 474 VMSTATE_UINT32(pci_bus_num, ElroyState), 811 elroy->pci_bus_num = i; in astro_realize()
|
H A D | pnv_phb3.c | 717 bus_num = pci_bus_num(ds->bus); in pnv_phb3_resolve_pe() 858 ds->bus, pci_bus_num(ds->bus), ds->devfn); in pnv_phb3_translate_iommu() 916 ds->bus, pci_bus_num(ds->bus), ds->devfn); in pnv_phb3_msi_write()
|
H A D | bonito.c | 473 pciaddr = PCI_ADDR(pci_bus_num(phb->bus), devno, funno, regno); in bonito_sbridge_pciaddr() 475 cfgaddr, pciaddr, pci_bus_num(phb->bus), devno, funno, regno); in bonito_sbridge_pciaddr()
|
H A D | gpex-acpi.c | 142 uint8_t bus_num = pci_bus_num(bus); in acpi_dsdt_add_gpex()
|
H A D | pnv_phb4.c | 1201 bus_num = pci_bus_num(ds->bus); in pnv_phb4_resolve_pe() 1332 ds->bus, pci_bus_num(ds->bus), ds->devfn); in pnv_phb4_translate_iommu() 1410 ds->bus, pci_bus_num(ds->bus), ds->devfn); in pnv_phb4_msi_write()
|
/openbmc/qemu/hw/acpi/ |
H A D | acpi_generic_initiator.c | 135 dev_handle.bdf = PCI_BUILD_BDF(pci_bus_num(pci_get_bus(pci_dev)), in build_all_acpi_generic_initiators()
|
H A D | aml-build.c | 2329 uint8_t max_bus = pci_bus_num(host->bus); in build_crs() 2476 pci_bus_num(host->bus), in build_crs() 2479 max_bus - pci_bus_num(host->bus) + 1)); in build_crs()
|
/openbmc/qemu/hw/i386/ |
H A D | intel_iommu.c | 1614 pci_bus_num(vtd_as->bus), in vtd_address_space_sync() 1700 trace_vtd_switch_address_space(pci_bus_num(as->bus), in vtd_switch_address_space() 1895 uint8_t bus_num = pci_bus_num(bus); in vtd_do_iommu_translate() 2135 if ((pci_bus_num(vtd_as->bus) == bus_n) && in vtd_context_device_invalidate() 2210 if (!vtd_dev_to_context_entry(s, pci_bus_num(vtd_as->bus), in vtd_iotlb_domain_invalidate() 2231 ret = vtd_dev_to_context_entry(s, pci_bus_num(vtd_as->bus), in vtd_iotlb_page_invalidate_notify() 3239 trace_vtd_dmar_translate(pci_bus_num(vtd_as->bus), in vtd_iommu_translate() 3247 __func__, pci_bus_num(vtd_as->bus), in vtd_iommu_translate() 3687 uint8_t bus_n = pci_bus_num(vtd_as->bus); in vtd_report_ir_illegal_access() 3981 trace_vtd_as_unmap_whole(pci_bus_num(as->bus), in vtd_address_space_unmap() [all …]
|
H A D | acpi-build.c | 1553 uint8_t bus_num = pci_bus_num(bus); in build_dsdt() 2095 build_append_int_noprefix(scope_blob, pci_bus_num(bus), 1); in insert_scope() 2244 entry = PCI_BUILD_BDF(pci_bus_num(bus), dev->devfn) << 8 | 0x2; in insert_ivhd() 2249 uint8_t sec = pci_bus_num(sec_bus); in insert_ivhd() 2294 dev_id_b = PCI_BUILD_BDF(pci_bus_num(bus), dev->devfn); in insert_ivhd()
|
H A D | amd_iommu.c | 1414 int bus_num = pci_bus_num(bus); in amdvi_host_dma_iommu()
|
/openbmc/qemu/include/hw/arm/ |
H A D | smmu-common.h | 181 return PCI_BUILD_BDF(pci_bus_num(sdev->bus), sdev->devfn); in smmu_get_sid()
|
/openbmc/qemu/hw/pci-bridge/ |
H A D | pci_expander_bridge.c | 244 int pxb_bus_num = pci_bus_num(pxb_bus); in pxb_register_bus() 252 if (pci_bus_num(bus) == pxb_bus_num) { in pxb_register_bus()
|
/openbmc/qemu/include/hw/pci/ |
H A D | pci.h | 327 int pci_bus_num(PCIBus *s); 331 return pci_bus_num(pci_get_bus(dev)); in pci_dev_bus_num()
|
H A D | pci_device.h | 215 return PCI_BUILD_BDF(pci_bus_num(pci_get_bus(dev)), dev->devfn); in pci_get_bdf()
|
/openbmc/qemu/hw/pci/ |
H A D | pci-qmp-cmds.c | 195 pci_bus_num(host_bridge->bus))); in qmp_query_pci()
|
H A D | pcie.c | 439 pci_for_each_device(sec_bus, pci_bus_num(sec_bus), in pcie_cap_update_power() 781 pci_for_each_device(sec_bus, pci_bus_num(sec_bus), find_child_fn, &child); in pcie_cap_slot_find_child()
|
H A D | pci.c | 607 int pci_bus_num(PCIBus *s) in pci_bus_num() function 616 *min_bus = *max_bus = pci_bus_num(bus); in pci_bus_range() 1965 if (pci_bus_num(bus) == bus_num) { in pci_find_bus_nr() 1978 if (pci_bus_num(sec) == bus_num) { in pci_find_bus_nr()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-iommu.c | 79 return PCI_BUILD_BDF(pci_bus_num(dev->bus), dev->devfn); in virtio_iommu_get_bdf() 119 trace_virtio_iommu_switch_address_space(pci_bus_num(sdev->bus), in virtio_iommu_switch_address_space() 168 if (pci_bus_num(iommu_pci_bus->bus) == bus_num) { in iommu_find_iommu_pcibus()
|
/openbmc/qemu/hw/s390x/ |
H A D | s390-pci-bus.c | 619 pci_bus_num(bus), in s390_pci_get_iommu() 623 pci_bus_num(bus), in s390_pci_get_iommu()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_pci.c | 550 rtas_st(rets, 1, (pci_bus_num(pci_get_bus(pdev)) << 16) + 1); in rtas_ibm_get_config_addr_info2() 818 uint32_t busnr = pci_bus_num(PCI_BUS(qdev_get_parent_bus(DEVICE(pdev)))); in spapr_phb_get_loc_code() 908 int bus_num = pci_bus_num(PCI_BUS(qdev_get_parent_bus(DEVICE(d)))); in populate_resource_props()
|
/openbmc/qemu/hw/xen/ |
H A D | xen_pt.c | 582 pci_bus_num(bus), PCI_SLOT(d->devfn), in xen_pt_check_bar_overlap()
|
/openbmc/qemu/hw/arm/ |
H A D | smmu-common.c | 820 if (pci_bus_num(smmu_pci_bus->bus) == bus_num) { in smmu_find_smmu_pcibus()
|
H A D | smmuv3.c | 2026 "not currently supported", pci_bus_num(sdev->bus), in smmuv3_notify_flag_changed()
|