Searched refs:ec_response_i2c (Results 1 – 2 of 2) sorted by relevance
58 struct ec_host_response_i2c *ec_response_i2c = in cros_ec_i2c_packet() local93 if (ec_response_i2c->result == EC_RES_INVALID_COMMAND && in cros_ec_i2c_packet()94 ec_response_i2c->packet_length == 0) in cros_ec_i2c_packet()97 if (ec_response_i2c->packet_length < sizeof(struct ec_host_response)) { in cros_ec_i2c_packet()99 __func__, ec_response_i2c->packet_length); in cros_ec_i2c_packet()105 memmove(dev->din, &ec_response_i2c->ec_response, in_bytes); in cros_ec_i2c_packet()
65 struct ec_host_response_i2c *ec_response_i2c; in cros_ec_pkt_xfer_i2c() local105 ec_response_i2c = (struct ec_host_response_i2c *) in_buf; in cros_ec_pkt_xfer_i2c()106 msg->result = ec_response_i2c->result; in cros_ec_pkt_xfer_i2c()107 ec_response = &ec_response_i2c->ec_response; in cros_ec_pkt_xfer_i2c()129 if (ec_response_i2c->result == EC_RES_INVALID_COMMAND && in cros_ec_pkt_xfer_i2c()130 ec_response_i2c->packet_length == 0) { in cros_ec_pkt_xfer_i2c()136 if (ec_response_i2c->packet_length < sizeof(struct ec_host_response)) { in cros_ec_pkt_xfer_i2c()139 ec_response_i2c->packet_length); in cros_ec_pkt_xfer_i2c()