Home
last modified time | relevance | path

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

/drivers/platform/chrome/
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()
Dcros_ec_ishtp.c65 struct ec_host_response ec_response; member
69 offsetof(struct cros_ish_in_msg, ec_response)
457 msg->result = in_msg->ec_response.result; in prepare_cros_ec_rx()
462 if (in_msg->ec_response.data_len > msg->insize) { in prepare_cros_ec_rx()
464 in_msg->ec_response.data_len, msg->insize); in prepare_cros_ec_rx()
473 for (i = 0; i < in_msg->ec_response.data_len; i++) in prepare_cros_ec_rx()
548 rv = in_msg->ec_response.data_len; in cros_ec_pkt_xfer_ish()
552 in_msg->ec_response.struct_version, in cros_ec_pkt_xfer_ish()
553 in_msg->ec_response.checksum, in cros_ec_pkt_xfer_ish()
554 in_msg->ec_response.result, in cros_ec_pkt_xfer_ish()
[all …]
/drivers/platform/chrome/wilco_ec/
Ddebugfs.c171 struct ec_response { struct
179 struct ec_response rs; in send_ec_cmd() argument