Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/misc/
H A Dcros_ec_i2c.c58 struct ec_host_response_i2c *ec_response_i2c = in cros_ec_i2c_packet() local
93 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()
/OK3568_Linux_fs/kernel/drivers/platform/chrome/
H A 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()