Home
last modified time | relevance | path

Searched refs:ec_response (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/platform/chrome/
H A Dcros_ec_i2c.c42 struct ec_host_response ec_response; member
63 struct ec_host_response *ec_response; in cros_ec_pkt_xfer_i2c() local
115 ec_response = &ec_response_i2c->ec_response; in cros_ec_pkt_xfer_i2c()
152 if (msg->insize < ec_response->data_len) { in cros_ec_pkt_xfer_i2c()
156 ec_response->data_len); in cros_ec_pkt_xfer_i2c()
164 sum += ((u8 *)ec_response)[i]; in cros_ec_pkt_xfer_i2c()
168 ec_response->data_len); in cros_ec_pkt_xfer_i2c()
169 for (i = 0; i < ec_response->data_len; i++) in cros_ec_pkt_xfer_i2c()
179 ret = ec_response->data_len; in cros_ec_pkt_xfer_i2c()
H A Dcros_ec_ishtp.c65 struct ec_host_response ec_response; member
69 offsetof(struct cros_ish_in_msg, ec_response)
432 msg->result = in_msg->ec_response.result; in prepare_cros_ec_rx()
437 if (in_msg->ec_response.data_len > msg->insize) { in prepare_cros_ec_rx()
439 in_msg->ec_response.data_len, msg->insize); in prepare_cros_ec_rx()
448 for (i = 0; i < in_msg->ec_response.data_len; i++) in prepare_cros_ec_rx()
523 rv = in_msg->ec_response.data_len; in cros_ec_pkt_xfer_ish()
527 in_msg->ec_response.struct_version, in cros_ec_pkt_xfer_ish()
528 in_msg->ec_response.checksum, in cros_ec_pkt_xfer_ish()
529 in_msg->ec_response.result, in cros_ec_pkt_xfer_ish()
[all …]