Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/platform/chrome/
Dcros_ec_i2c.c65 struct ec_host_response_i2c *ec_response_i2c; in cros_ec_pkt_xfer_i2c() local
105 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()