• Home
  • Raw
  • Download

Lines Matching refs:resp

294 		struct ec_response_hello *resp = resp_data;  in process_cmd()  local
296 resp->out_data = req->in_data + 0x01020304; in process_cmd()
297 len = sizeof(*resp); in process_cmd()
301 struct ec_response_get_version *resp = resp_data; in process_cmd() local
303 strcpy(resp->version_string_ro, "sandbox_ro"); in process_cmd()
304 strcpy(resp->version_string_rw, "sandbox_rw"); in process_cmd()
305 resp->current_image = ec->current_image; in process_cmd()
306 debug("Current image %d\n", resp->current_image); in process_cmd()
307 len = sizeof(*resp); in process_cmd()
312 struct ec_response_vbnvcontext *resp = resp_data; in process_cmd() local
316 memcpy(resp->block, ec->vbnv_context, in process_cmd()
317 sizeof(resp->block)); in process_cmd()
318 len = sizeof(*resp); in process_cmd()
321 memcpy(ec->vbnv_context, resp->block, in process_cmd()
322 sizeof(resp->block)); in process_cmd()
351 struct ec_response_host_event_mask *resp = resp_data; in process_cmd() local
353 resp->mask = 0; in process_cmd()
355 resp->mask |= EC_HOST_EVENT_MASK( in process_cmd()
359 len = sizeof(*resp); in process_cmd()
364 struct ec_response_vboot_hash *resp = resp_data; in process_cmd() local
377 len, resp->hash_digest, &size); in process_cmd()
382 resp->status = EC_VBOOT_HASH_STATUS_DONE; in process_cmd()
383 resp->hash_type = EC_VBOOT_HASH_TYPE_SHA256; in process_cmd()
384 resp->digest_size = size; in process_cmd()
385 resp->reserved0 = 0; in process_cmd()
386 resp->offset = entry->offset; in process_cmd()
387 resp->size = len; in process_cmd()
388 len = sizeof(*resp); in process_cmd()
399 struct ec_response_flash_protect *resp = resp_data; in process_cmd() local
405 resp->flags = req->flags ? EC_FLASH_PROTECT_ALL_NOW : in process_cmd()
407 resp->valid_flags = EC_FLASH_PROTECT_ALL_NOW; in process_cmd()
408 resp->writable_flags = 0; in process_cmd()
409 len = sizeof(*resp); in process_cmd()
418 struct ec_response_flash_region_info *resp = resp_data; in process_cmd() local
426 resp->offset = entry->offset; in process_cmd()
427 resp->size = entry->length; in process_cmd()
428 len = sizeof(*resp); in process_cmd()
430 req->region, resp->offset, resp->size); in process_cmd()