Lines Matching refs:resp

336 		struct ec_response_get_comms_status *resp = NULL;  in ec_command_inptr()  local
347 (uint8_t **)&resp, sizeof(*resp)); in ec_command_inptr()
356 } while (resp->flags & EC_COMMS_STATUS_PROCESSING); in ec_command_inptr()
604 struct ec_response_hello *resp; in cros_ec_hello() local
608 (uint8_t **)&resp, sizeof(*resp)) < 0) in cros_ec_hello()
610 if (resp->out_data != req.in_data + 0x01020304) { in cros_ec_hello()
611 printf("Received invalid handshake %x\n", resp->out_data); in cros_ec_hello()
706 struct ec_response_host_event_mask *resp; in cros_ec_get_host_events() local
713 (uint8_t **)&resp, sizeof(*resp)) < (int)sizeof(*resp)) in cros_ec_get_host_events()
716 if (resp->mask & EC_HOST_EVENT_MASK(EC_HOST_EVENT_INVALID)) in cros_ec_get_host_events()
719 *events_ptr = resp->mask; in cros_ec_get_host_events()
742 struct ec_response_flash_protect *resp) in cros_ec_flash_protect() argument
751 resp, sizeof(*resp)) != sizeof(*resp)) in cros_ec_flash_protect()
1190 struct ec_response_ldo_get *resp; in cros_ec_get_ldo() local
1195 (uint8_t **)&resp, sizeof(*resp)) != in cros_ec_get_ldo()
1196 sizeof(*resp)) in cros_ec_get_ldo()
1199 *state = resp->state; in cros_ec_get_ldo()
1567 struct ec_response_vstore_info *resp; in cros_ec_vstore_info() local
1570 (uint8_t **)&resp, sizeof(*resp)) != sizeof(*resp)) in cros_ec_vstore_info()
1574 *lockedp = resp->slot_locked; in cros_ec_vstore_info()
1576 return resp->slot_count; in cros_ec_vstore_info()
1588 struct ec_response_vstore_read *resp; in cros_ec_vstore_read() local
1592 (uint8_t **)&resp, sizeof(*resp)) != sizeof(*resp)) in cros_ec_vstore_read()
1598 memcpy(data, resp->data, sizeof(resp->data)); in cros_ec_vstore_read()