Lines Matching refs:ERSTDeviceState

150     OBJECT_CHECK(ERSTDeviceState, (obj), TYPE_ACPI_ERST)
183 } ERSTDeviceState; typedef
377 static uint8_t *get_nvram_ptr_by_index(ERSTDeviceState *s, unsigned index) in get_nvram_ptr_by_index()
390 static void make_erst_storage_header(ERSTDeviceState *s) in make_erst_storage_header()
416 static void check_erst_backend_storage(ERSTDeviceState *s, Error **errp) in check_erst_backend_storage()
471 static void update_map_entry(ERSTDeviceState *s, unsigned index, in update_map_entry()
479 static unsigned find_next_empty_record_index(ERSTDeviceState *s) in find_next_empty_record_index()
494 static unsigned lookup_erst_record(ERSTDeviceState *s, in lookup_erst_record()
528 static unsigned get_next_record_identifier(ERSTDeviceState *s, in get_next_record_identifier()
564 static unsigned clear_erst_record(ERSTDeviceState *s) in clear_erst_record()
589 static unsigned read_erst_record(ERSTDeviceState *s) in read_erst_record()
658 static unsigned write_erst_record(ERSTDeviceState *s) in write_erst_record()
790 ERSTDeviceState *s = (ERSTDeviceState *)opaque; in erst_reg_write()
892 ERSTDeviceState *s = (ERSTDeviceState *)opaque; in erst_reg_read()
921 ERSTDeviceState *s = opaque; in erst_post_load()
936 VMSTATE_UINT8(operation, ERSTDeviceState),
937 VMSTATE_UINT8(busy_status, ERSTDeviceState),
938 VMSTATE_UINT8(command_status, ERSTDeviceState),
939 VMSTATE_UINT32(record_offset, ERSTDeviceState),
940 VMSTATE_UINT64(reg_action, ERSTDeviceState),
941 VMSTATE_UINT64(reg_value, ERSTDeviceState),
942 VMSTATE_UINT64(record_identifier, ERSTDeviceState),
943 VMSTATE_UINT32(next_record_index, ERSTDeviceState),
951 ERSTDeviceState *s = ACPIERST(pci_dev); in erst_realizefn()
1001 ERSTDeviceState *s = ACPIERST(dev); in erst_reset()
1015 DEFINE_PROP_LINK(ACPI_ERST_MEMDEV_PROP, ERSTDeviceState, hostmem,
1017 DEFINE_PROP_UINT32(ACPI_ERST_RECORD_SIZE_PROP, ERSTDeviceState,
1047 .instance_size = sizeof(ERSTDeviceState),