Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mfd/
Dcros_ec_i2c.c72 struct ec_host_response_i2c *ec_response_i2c; in cros_ec_pkt_xfer_i2c() local
112 ec_response_i2c = (struct ec_host_response_i2c *) in_buf; in cros_ec_pkt_xfer_i2c()
113 msg->result = ec_response_i2c->result; in cros_ec_pkt_xfer_i2c()
114 ec_response = &ec_response_i2c->ec_response; in cros_ec_pkt_xfer_i2c()
136 if (ec_response_i2c->result == EC_RES_INVALID_COMMAND && in cros_ec_pkt_xfer_i2c()
137 ec_response_i2c->packet_length == 0) { in cros_ec_pkt_xfer_i2c()
143 if (ec_response_i2c->packet_length < sizeof(struct ec_host_response)) { in cros_ec_pkt_xfer_i2c()
146 ec_response_i2c->packet_length); in cros_ec_pkt_xfer_i2c()