Lines Matching refs:resp
280 struct ec_response_get_comms_status *resp = NULL; in ec_command_inptr() local
291 (uint8_t **)&resp, sizeof(*resp)); in ec_command_inptr()
300 } while (resp->flags & EC_COMMS_STATUS_PROCESSING); in ec_command_inptr()
572 struct ec_response_host_event_mask *resp; in cros_ec_get_host_events() local
579 (uint8_t **)&resp, sizeof(*resp)) < (int)sizeof(*resp)) in cros_ec_get_host_events()
582 if (resp->mask & EC_HOST_EVENT_MASK(EC_HOST_EVENT_INVALID)) in cros_ec_get_host_events()
585 *events_ptr = resp->mask; in cros_ec_get_host_events()
608 struct ec_response_flash_protect *resp) in cros_ec_flash_protect() argument
617 resp, sizeof(*resp)) != sizeof(*resp)) in cros_ec_flash_protect()
626 struct ec_response_hello *resp; in cros_ec_check_version() local
656 (uint8_t **)&resp, sizeof(*resp)) > 0) { in cros_ec_check_version()
663 (uint8_t **)&resp, sizeof(*resp)) > 0) { in cros_ec_check_version()
681 struct ec_response_hello *resp; in cros_ec_test() local
685 (uint8_t **)&resp, sizeof(*resp)) < sizeof(*resp)) { in cros_ec_test()
689 if (resp->out_data != req.in_data + 0x01020304) { in cros_ec_test()
690 printf("Received invalid handshake %x\n", resp->out_data); in cros_ec_test()
983 struct ec_response_ldo_get *resp; in cros_ec_get_ldo() local
988 (uint8_t **)&resp, sizeof(*resp)) != in cros_ec_get_ldo()
989 sizeof(*resp)) in cros_ec_get_ldo()
992 *state = resp->state; in cros_ec_get_ldo()