27 .cmd_size_out =
sizeof(
info),
35 *locked =
info.slot_locked;
36 return info.slot_count;
52 .cmd_size_in =
sizeof(req),
82 .cmd_size_in =
sizeof(req),
void * memcpy(void *dest, const void *src, size_t n)
static struct smmstore_params_info info
int google_chromeec_check_feature(int feature)
int google_chromeec_command(struct chromeec_command *cec_command)
Send a command to a CrOS EC.
#define EC_CMD_VSTORE_READ
#define EC_CMD_VSTORE_WRITE
#define EC_VSTORE_SLOT_SIZE
#define EC_VSTORE_SLOT_MAX
#define EC_CMD_VSTORE_INFO
uint8_t data[EC_VSTORE_SLOT_SIZE]
int google_chromeec_vstore_supported(void)
int google_chromeec_vstore_info(uint32_t *locked)
int google_chromeec_vstore_write(int slot, uint8_t *data, size_t size)
int google_chromeec_vstore_read(int slot, uint8_t *data)