Searched refs:PCI_BUILD_BDF (Results 1 – 16 of 16) sorted by relevance
/openbmc/qemu/hw/acpi/ |
H A D | viot.c | 28 build_append_int_noprefix(table_data, PCI_BUILD_BDF(min_bus, 0), 4); in build_pci_host_range() 34 build_append_int_noprefix(table_data, PCI_BUILD_BDF(min_bus, 0), 2); in build_pci_host_range() 36 build_append_int_noprefix(table_data, PCI_BUILD_BDF(max_bus, 0xff), 2); in build_pci_host_range()
|
/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/i386/ |
H A D | amd_iommu.h | 217 #define AMDVI_IOAPIC_SB_DEVID PCI_BUILD_BDF(0, PCI_DEVFN(0x14, 0))
|
H A D | acpi-build.c | 2171 #define IOAPIC_SB_DEVID (uint64_t)PCI_BUILD_BDF(0, PCI_DEVFN(0x14, 0)) 2184 entry = PCI_BUILD_BDF(pci_bus_num(bus), dev->devfn) << 8 | 0x2; in insert_ivhd() 2209 entry = PCI_BUILD_BDF(sec, PCI_DEVFN(0, 0)) << 8 | 0x3; in insert_ivhd() 2212 entry = PCI_BUILD_BDF(sub, PCI_DEVFN(31, 7)) << 8 | 0x4; in insert_ivhd() 2228 dev_id_a = PCI_BUILD_BDF(sec, PCI_DEVFN(0, 0)); in insert_ivhd() 2234 dev_id_b = PCI_BUILD_BDF(pci_bus_num(bus), dev->devfn); in insert_ivhd() 2242 entry = PCI_BUILD_BDF(sub, PCI_DEVFN(31, 7)) << 8 | 0x4; in insert_ivhd()
|
H A D | intel_iommu.c | 1822 uint16_t sid = PCI_BUILD_BDF(pci_bus_num(as_key->bus), as_key->devfn); in vtd_find_as_by_sid() 1832 (sid == PCI_BUILD_BDF(pci_bus_num(vtd_as->bus), vtd_as->devfn))) { in vtd_get_as_by_sid() 1899 uint16_t source_id = PCI_BUILD_BDF(bus_num, devfn); in vtd_do_iommu_translate() 3734 uint16_t sid = PCI_BUILD_BDF(bus_n, vtd_as->devfn); in vtd_report_ir_illegal_access()
|
H A D | amd_iommu.c | 990 uint16_t devid = PCI_BUILD_BDF(as->bus_num, as->devfn); in amdvi_do_translate()
|
/openbmc/qemu/include/hw/pci/ |
H A D | pci_device.h | 219 return PCI_BUILD_BDF(pci_bus_num(pci_get_bus(dev)), dev->devfn); in pci_get_bdf()
|
H A D | pci.h | 19 #define PCI_BUILD_BDF(bus, devfn) (((bus) << 8) | (devfn)) macro
|
/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() 674 int max_bdf = PCI_BUILD_BDF(bus_num, PCI_DEVFN_MAX - 1); in vfu_object_set_bus_irq()
|
/openbmc/qemu/hw/pci-host/ |
H A D | bonito.c | 200 ((PCI_BUILD_BDF(busno, PCI_DEVFN(devno , funno)) << 8) + (regno))
|
H A D | pnv_phb4.c | 1203 addr += 2 * PCI_BUILD_BDF(bus_num, ds->devfn); in pnv_phb4_resolve_pe()
|
/openbmc/qemu/hw/xen/ |
H A D | xen-hvm-common.c | 139 xendev->sbdf = PCI_BUILD_BDF(pci_dev_bus_num(pci_dev), in xen_device_realize()
|
/openbmc/qemu/hw/mips/ |
H A D | malta.c | 674 | PCI_BUILD_BDF(0, PIIX4_PCI_DEVFN) << 8 in bl_setup_gt64120_jump_kernel()
|
/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()
|
/openbmc/qemu/hw/riscv/ |
H A D | riscv-iommu.c | 2355 as = riscv_iommu_space(s, PCI_BUILD_BDF(pci_bus_num(bus), devfn)); in riscv_iommu_find_as()
|
/openbmc/qemu/hw/pci/ |
H A D | pci.c | 1068 result = PCI_BUILD_BDF(bus_n, 0); in pci_req_id_cache_extract()
|