Home
last modified time | relevance | path

Searched refs:MEMORY_DEVICE (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/hw/virtio/
H A Dvirtio-md-pci.c23 MemoryDeviceState *md = MEMORY_DEVICE(vmd); in virtio_md_pci_pre_plug()
51 MemoryDeviceState *md = MEMORY_DEVICE(vmd); in virtio_md_pci_plug()
114 MemoryDeviceState *md = MEMORY_DEVICE(vmd); in virtio_md_pci_unplug()
/openbmc/qemu/include/hw/mem/
H A Dmemory-device.h23 DECLARE_CLASS_CHECKERS(MemoryDeviceClass, MEMORY_DEVICE,
25 #define MEMORY_DEVICE(obj) \ macro
/openbmc/qemu/hw/mem/
H A Dpc-dimm.c72 memory_device_pre_plug(MEMORY_DEVICE(dimm), machine, errp); in pc_dimm_pre_plug()
80 memory_device_plug(MEMORY_DEVICE(dimm), machine); in pc_dimm_plug()
93 memory_device_unplug(MEMORY_DEVICE(dimm), machine); in pc_dimm_unplug()
169 value = memory_device_get_region_size(MEMORY_DEVICE(obj), &local_err); in pc_dimm_get_size()
H A Dmemory-device.c41 const MemoryDeviceState *md_a = MEMORY_DEVICE(a); in memory_device_addr_sort()
42 const MemoryDeviceState *md_b = MEMORY_DEVICE(b); in memory_device_addr_sort()
305 const MemoryDeviceState *md = MEMORY_DEVICE(item->data); in qmp_memory_device_list()
326 const MemoryDeviceState *md = MEMORY_DEVICE(obj); in memory_device_plugged_size()
/openbmc/qemu/hw/i386/
H A Dsgx-epc.c36 value = memory_device_get_region_size(MEMORY_DEVICE(obj), &local_err); in sgx_epc_get_size()
55 MemoryDeviceState *md = MEMORY_DEVICE(dev); in sgx_epc_realize()
H A Dsgx.c291 *size = memory_device_get_region_size(MEMORY_DEVICE(epc), &error_fatal); in sgx_epc_get_section()
H A Dpc.c1378 memory_device_pre_plug(MEMORY_DEVICE(dev), MACHINE(hotplug_dev), errp); in pc_hv_balloon_pre_plug()
1384 memory_device_plug(MEMORY_DEVICE(dev), MACHINE(hotplug_dev)); in pc_hv_balloon_plug()
/openbmc/qemu/hw/cxl/
H A Dcxl-device-utils.c403 cxl_device_cap_init(cxl_dstate, MEMORY_DEVICE, 0x4000, in cxl_device_register_init_t3()
428 cxl_device_cap_init(cxl_dstate, MEMORY_DEVICE, 0x4000, 1); in cxl_device_register_init_swcci()
H A Dcxl-mailbox-utils.c79 #define MEMORY_DEVICE 0x0 macro
2751 [IDENTIFY][MEMORY_DEVICE] = { "IDENTIFY_MEMORY_DEVICE",
/openbmc/qemu/include/hw/cxl/
H A Dcxl_device.h311 CXL_DEVICE_CAPABILITY_HEADER_REGISTER(MEMORY_DEVICE,
/openbmc/qemu/hw/ppc/
H A Dspapr.c3567 size = memory_device_get_region_size(MEMORY_DEVICE(dev), &error_abort); in spapr_memory_plug()
3596 size = memory_device_get_region_size(MEMORY_DEVICE(dimm), &local_err); in spapr_memory_pre_plug()
3674 uint64_t size = memory_device_get_region_size(MEMORY_DEVICE(dimm), in spapr_recover_pending_dimm_state()
3723 size = memory_device_get_region_size(MEMORY_DEVICE(dimm), &error_abort); in spapr_memory_unplug_rollback()
3803 size = memory_device_get_region_size(MEMORY_DEVICE(dimm), &error_abort); in spapr_memory_unplug_request()