Home
last modified time | relevance | path

Searched refs:pcibus_t (Results 1 – 13 of 13) sorted by relevance

/openbmc/qemu/hw/pci/
H A Dpci_bridge.c95 static pcibus_t pci_config_get_pref_base(const PCIDevice *d, in pci_config_get_pref_base()
98 pcibus_t tmp; in pci_config_get_pref_base()
99 pcibus_t val; in pci_config_get_pref_base()
101 tmp = (pcibus_t)pci_get_word(d->config + base); in pci_config_get_pref_base()
104 val |= (pcibus_t)pci_get_long(d->config + upper) << 32; in pci_config_get_pref_base()
110 pcibus_t pci_bridge_get_base(const PCIDevice *bridge, uint8_t type) in pci_bridge_get_base()
112 pcibus_t base; in pci_bridge_get_base()
129 pcibus_t pci_bridge_get_limit(const PCIDevice *bridge, uint8_t type) in pci_bridge_get_limit()
131 pcibus_t limit; in pci_bridge_get_limit()
155 pcibus_t base = pci_bridge_get_base(bridge_dev, type); in pci_bridge_init_alias()
[all …]
H A Dpci.c1311 pcibus_t size = memory_region_size(memory); in pci_register_bar()
1413 pcibus_t pci_get_bar_addr(PCIDevice *pci_dev, int region_num) in pci_get_bar_addr()
1418 static pcibus_t pci_config_get_bar_addr(PCIDevice *d, int reg, in pci_config_get_bar_addr()
1419 uint8_t type, pcibus_t size) in pci_config_get_bar_addr()
1421 pcibus_t new_addr; in pci_config_get_bar_addr()
1453 pcibus_t pci_bar_address(PCIDevice *d, in pci_bar_address()
1454 int reg, uint8_t type, pcibus_t size) in pci_bar_address()
1456 pcibus_t new_addr, last_addr; in pci_bar_address()
1522 pcibus_t new_addr; in pci_update_mappings()
2808 pcibus_t base = pci_bridge_get_base(dev, PCI_BASE_ADDRESS_MEM_PREFETCH); in pci_dev_get_w64()
[all …]
H A Dpcie_sriov.c114 pcibus_t size = memory_region_size(memory); in pcie_sriov_vf_register_bar()
/openbmc/qemu/include/hw/pci/
H A Dpci.h123 typedef uint64_t pcibus_t; typedef
137 pcibus_t addr, pcibus_t size, int type);
145 pcibus_t addr; /* current PCI mapping address. -1 means not mapped */
146 #define PCI_BAR_UNMAPPED (~(pcibus_t)0)
147 pcibus_t size;
240 pcibus_t pci_get_bar_addr(PCIDevice *pci_dev, int region_num);
438 pcibus_t pci_bar_address(PCIDevice *d,
439 int reg, uint8_t type, pcibus_t size);
H A Dpci_bridge.h127 pcibus_t pci_bridge_get_base(const PCIDevice *bridge, uint8_t type);
128 pcibus_t pci_bridge_get_limit(const PCIDevice *bridge, uint8_t type);
/openbmc/qemu/hw/xen/
H A Dxen-host-pci-device.h14 pcibus_t base_addr;
15 pcibus_t size;
H A Dxen_pt.h263 static inline pcibus_t xen_pt_get_emul_size(XenPTBarFlag flag, pcibus_t r_size) in xen_pt_get_emul_size()
H A Dxen_pt.c550 pcibus_t addr;
551 pcibus_t size;
639 pcibus_t guest_addr = sec->offset_within_address_space; in xen_pt_region_update()
640 pcibus_t machine_addr = s->bases[bar].access.maddr in xen_pt_region_update()
642 pcibus_t size = int128_get64(sec->size); in xen_pt_region_update()
H A Dxen_pt_config_init.c555 pcibus_t r_size = 0; in xen_pt_exp_rom_bar_reg_write()
/openbmc/qemu/hw/acpi/
H A Derst.c189 pcibus_t bar;
193 pcibus_t register_offset;
240 pcibus_t bar0 = pci_get_bar_addr(PCI_DEVICE(erst_dev), 0); in build_erst()
/openbmc/qemu/hw/display/
H A Dqxl.c1305 pcibus_t pci_start; in qxl_add_memslot()
1306 pcibus_t pci_end; in qxl_add_memslot()
1563 pcibus_t start = d->pci.io_regions[QXL_RAM_RANGE_INDEX].addr; in qxl_set_mode()
1564 pcibus_t end = d->pci.io_regions[QXL_RAM_RANGE_INDEX].size + start; in qxl_set_mode()
/openbmc/qemu/hw/vfio/
H A Dpci.c1175 pcibus_t bar_addr; in vfio_sub_page_bar_update_mapping()
1297 pcibus_t old_addr[PCI_NUM_REGIONS - 1]; in vfio_pci_write_config()
2621 pcibus_t old_addr[PCI_NUM_REGIONS - 1]; in vfio_pci_load_config()
/openbmc/qemu/docs/devel/
H A Dstyle.rst353 Use hwaddr for guest physical addresses except pcibus_t