Home
last modified time | relevance | path

Searched refs:PCI_BUILD_BDF (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/hw/acpi/
H A Dviot.c28 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 Dsmmu-common.h181 return PCI_BUILD_BDF(pci_bus_num(sdev->bus), sdev->devfn); in smmu_get_sid()
/openbmc/qemu/hw/i386/
H A Damd_iommu.h217 #define AMDVI_IOAPIC_SB_DEVID PCI_BUILD_BDF(0, PCI_DEVFN(0x14, 0))
H A Dacpi-build.c2171 #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 Dintel_iommu.c1822 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 Damd_iommu.c990 uint16_t devid = PCI_BUILD_BDF(as->bus_num, as->devfn); in amdvi_do_translate()
/openbmc/qemu/include/hw/pci/
H A Dpci_device.h219 return PCI_BUILD_BDF(pci_bus_num(pci_get_bus(dev)), dev->devfn); in pci_get_bdf()
H A Dpci.h19 #define PCI_BUILD_BDF(bus, devfn) (((bus) << 8) | (devfn)) macro
/openbmc/qemu/hw/remote/
H A Dvfio-user-obj.c540 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 Dbonito.c200 ((PCI_BUILD_BDF(busno, PCI_DEVFN(devno , funno)) << 8) + (regno))
H A Dpnv_phb4.c1203 addr += 2 * PCI_BUILD_BDF(bus_num, ds->devfn); in pnv_phb4_resolve_pe()
/openbmc/qemu/hw/xen/
H A Dxen-hvm-common.c139 xendev->sbdf = PCI_BUILD_BDF(pci_dev_bus_num(pci_dev), in xen_device_realize()
/openbmc/qemu/hw/mips/
H A Dmalta.c674 | PCI_BUILD_BDF(0, PIIX4_PCI_DEVFN) << 8 in bl_setup_gt64120_jump_kernel()
/openbmc/qemu/hw/virtio/
H A Dvirtio-iommu.c79 return PCI_BUILD_BDF(pci_bus_num(dev->bus), dev->devfn); in virtio_iommu_get_bdf()
/openbmc/qemu/hw/riscv/
H A Driscv-iommu.c2355 as = riscv_iommu_space(s, PCI_BUILD_BDF(pci_bus_num(bus), devfn)); in riscv_iommu_find_as()
/openbmc/qemu/hw/pci/
H A Dpci.c1068 result = PCI_BUILD_BDF(bus_n, 0); in pci_req_id_cache_extract()