Home
last modified time | relevance | path

Searched refs:res_reserve (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/pci-bridge/
H A Dgen_pcie_root_port.c41 PCIResReserve res_reserve; member
95 if (s->hide_native_hotplug_cap && grp->res_reserve.io == -1 && s->hotplug) { in gen_rp_realize()
96 grp->res_reserve.io = GEN_PCIE_ROOT_DEFAULT_IO_RANGE; in gen_rp_realize()
99 grp->res_reserve, errp); in gen_rp_realize()
106 if (!grp->res_reserve.io) { in gen_rp_realize()
135 res_reserve.bus, -1),
137 res_reserve.io, -1),
139 res_reserve.mem_non_pref, -1),
141 res_reserve.mem_pref_32, -1),
143 res_reserve.mem_pref_64, -1),
H A Dcxl_root_port.c49 PCIResReserve res_reserve; member
163 pci_bridge_qemu_reserve_cap_init(pci_dev, 0, crp->res_reserve, errp); in cxl_rp_realize()
169 if (!crp->res_reserve.io || crp->res_reserve.io == -1) { in cxl_rp_realize()
202 DEFINE_PROP_UINT32("bus-reserve", CXLRootPort, res_reserve.bus, -1),
203 DEFINE_PROP_SIZE("io-reserve", CXLRootPort, res_reserve.io, -1),
204 DEFINE_PROP_SIZE("mem-reserve", CXLRootPort, res_reserve.mem_non_pref, -1),
205 DEFINE_PROP_SIZE("pref32-reserve", CXLRootPort, res_reserve.mem_pref_32,
207 DEFINE_PROP_SIZE("pref64-reserve", CXLRootPort, res_reserve.mem_pref_64,
H A Dpci_bridge_dev.c53 PCIResReserve res_reserve; member
103 bridge_dev->res_reserve, errp); in pci_bridge_dev_realize()
180 res_reserve.bus, -1),
182 res_reserve.io, -1),
184 res_reserve.mem_non_pref, -1),
186 res_reserve.mem_pref_32, -1),
188 res_reserve.mem_pref_64, -1),
/openbmc/qemu/hw/pci/
H A Dpci_bridge.c423 if (res_reserve.mem_pref_32 != (uint64_t)-1 && in pci_bridge_qemu_reserve_cap_init()
424 res_reserve.mem_pref_64 != (uint64_t)-1) { in pci_bridge_qemu_reserve_cap_init()
430 if (res_reserve.mem_non_pref != (uint64_t)-1 && in pci_bridge_qemu_reserve_cap_init()
431 res_reserve.mem_non_pref >= 4 * GiB) { in pci_bridge_qemu_reserve_cap_init()
437 if (res_reserve.mem_pref_32 != (uint64_t)-1 && in pci_bridge_qemu_reserve_cap_init()
438 res_reserve.mem_pref_32 >= 4 * GiB) { in pci_bridge_qemu_reserve_cap_init()
444 if (res_reserve.bus == (uint32_t)-1 && in pci_bridge_qemu_reserve_cap_init()
445 res_reserve.io == (uint64_t)-1 && in pci_bridge_qemu_reserve_cap_init()
447 res_reserve.mem_pref_32 == (uint64_t)-1 && in pci_bridge_qemu_reserve_cap_init()
448 res_reserve.mem_pref_64 == (uint64_t)-1) { in pci_bridge_qemu_reserve_cap_init()
[all …]
/openbmc/qemu/include/hw/pci/
H A Dpci_bridge.h200 PCIResReserve res_reserve, Error **errp);