Lines Matching refs:mem_st

53 void acpi_memory_ospm_status(MemHotplugState *mem_st, ACPIOSTInfoList ***list)  in acpi_memory_ospm_status()  argument
58 for (i = 0; i < mem_st->dev_count; i++) { in acpi_memory_ospm_status()
60 acpi_memory_device_status(i, &mem_st->devs[i])); in acpi_memory_ospm_status()
68 MemHotplugState *mem_st = opaque; in acpi_memory_hotplug_read() local
72 if (mem_st->selector >= mem_st->dev_count) { in acpi_memory_hotplug_read()
73 trace_mhp_acpi_invalid_slot_selected(mem_st->selector); in acpi_memory_hotplug_read()
77 mdev = &mem_st->devs[mem_st->selector]; in acpi_memory_hotplug_read()
82 trace_mhp_acpi_read_addr_lo(mem_st->selector, val); in acpi_memory_hotplug_read()
87 trace_mhp_acpi_read_addr_hi(mem_st->selector, val); in acpi_memory_hotplug_read()
91 trace_mhp_acpi_read_size_lo(mem_st->selector, val); in acpi_memory_hotplug_read()
96 trace_mhp_acpi_read_size_hi(mem_st->selector, val); in acpi_memory_hotplug_read()
100 trace_mhp_acpi_read_pxm(mem_st->selector, val); in acpi_memory_hotplug_read()
106 trace_mhp_acpi_read_flags(mem_st->selector, val); in acpi_memory_hotplug_read()
118 MemHotplugState *mem_st = opaque; in acpi_memory_hotplug_write() local
125 if (!mem_st->dev_count) { in acpi_memory_hotplug_write()
130 if (mem_st->selector >= mem_st->dev_count) { in acpi_memory_hotplug_write()
131 trace_mhp_acpi_invalid_slot_selected(mem_st->selector); in acpi_memory_hotplug_write()
138 mem_st->selector = data; in acpi_memory_hotplug_write()
139 trace_mhp_acpi_write_slot(mem_st->selector); in acpi_memory_hotplug_write()
142 mdev = &mem_st->devs[mem_st->selector]; in acpi_memory_hotplug_write()
149 trace_mhp_acpi_write_ost_ev(mem_st->selector, mdev->ost_event); in acpi_memory_hotplug_write()
152 mdev = &mem_st->devs[mem_st->selector]; in acpi_memory_hotplug_write()
154 trace_mhp_acpi_write_ost_status(mem_st->selector, mdev->ost_status); in acpi_memory_hotplug_write()
157 info = acpi_memory_device_status(mem_st->selector, mdev); in acpi_memory_hotplug_write()
162 mdev = &mem_st->devs[mem_st->selector]; in acpi_memory_hotplug_write()
165 trace_mhp_acpi_clear_insert_evt(mem_st->selector); in acpi_memory_hotplug_write()
168 trace_mhp_acpi_clear_remove_evt(mem_st->selector); in acpi_memory_hotplug_write()
171 trace_mhp_acpi_ejecting_invalid_slot(mem_st->selector); in acpi_memory_hotplug_write()
180 trace_mhp_acpi_pc_dimm_delete_failed(mem_st->selector); in acpi_memory_hotplug_write()
195 trace_mhp_acpi_pc_dimm_deleted(mem_st->selector); in acpi_memory_hotplug_write()
240 acpi_memory_slot_status(MemHotplugState *mem_st, in acpi_memory_slot_status() argument
252 if (slot >= mem_st->dev_count) { in acpi_memory_slot_status()
261 return &mem_st->devs[slot]; in acpi_memory_slot_status()
264 void acpi_memory_plug_cb(HotplugHandler *hotplug_dev, MemHotplugState *mem_st, in acpi_memory_plug_cb() argument
274 mdev = acpi_memory_slot_status(mem_st, dev, errp); in acpi_memory_plug_cb()
288 MemHotplugState *mem_st, in acpi_memory_unplug_request_cb() argument
293 mdev = acpi_memory_slot_status(mem_st, dev, errp); in acpi_memory_unplug_request_cb()
302 void acpi_memory_unplug_cb(MemHotplugState *mem_st, in acpi_memory_unplug_cb() argument
307 mdev = acpi_memory_slot_status(mem_st, dev, errp); in acpi_memory_unplug_cb()