Searched refs:pcibus_t (Results 1 – 13 of 13) sorted by relevance
/openbmc/qemu/hw/pci/ |
H A D | pci_bridge.c | 95 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 D | pci.c | 1311 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 D | pcie_sriov.c | 114 pcibus_t size = memory_region_size(memory); in pcie_sriov_vf_register_bar()
|
/openbmc/qemu/include/hw/pci/ |
H A D | pci.h | 123 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 D | pci_bridge.h | 127 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 D | xen-host-pci-device.h | 14 pcibus_t base_addr; 15 pcibus_t size;
|
H A D | xen_pt.h | 263 static inline pcibus_t xen_pt_get_emul_size(XenPTBarFlag flag, pcibus_t r_size) in xen_pt_get_emul_size()
|
H A D | xen_pt.c | 550 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 D | xen_pt_config_init.c | 555 pcibus_t r_size = 0; in xen_pt_exp_rom_bar_reg_write()
|
/openbmc/qemu/hw/acpi/ |
H A D | erst.c | 189 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 D | qxl.c | 1305 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 D | pci.c | 1175 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 D | style.rst | 353 Use hwaddr for guest physical addresses except pcibus_t
|