Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/platform/chrome/
Dcros_ec_i2c.c65 struct ec_host_response_i2c *ec_response_i2c; in cros_ec_pkt_xfer_i2c() local
113 ec_response_i2c = (struct ec_host_response_i2c *) in_buf; in cros_ec_pkt_xfer_i2c()
114 msg->result = ec_response_i2c->result; in cros_ec_pkt_xfer_i2c()
115 ec_response = &ec_response_i2c->ec_response; in cros_ec_pkt_xfer_i2c()
137 if (ec_response_i2c->result == EC_RES_INVALID_COMMAND && in cros_ec_pkt_xfer_i2c()
138 ec_response_i2c->packet_length == 0) { in cros_ec_pkt_xfer_i2c()
144 if (ec_response_i2c->packet_length < sizeof(struct ec_host_response)) { in cros_ec_pkt_xfer_i2c()
147 ec_response_i2c->packet_length); in cros_ec_pkt_xfer_i2c()