Lines Matching refs:in_buf
60 u8 *in_buf = NULL; in cros_ec_pkt_xfer_i2c() local
79 in_buf = ec_dev->din; in cros_ec_pkt_xfer_i2c()
81 i2c_msg[1].buf = (char *) in_buf; in cros_ec_pkt_xfer_i2c()
113 ec_response_i2c = (struct ec_host_response_i2c *) in_buf; in cros_ec_pkt_xfer_i2c()
167 in_buf + response_header_size, in cros_ec_pkt_xfer_i2c()
197 u8 *in_buf = NULL; in cros_ec_cmd_xfer_i2c() local
211 in_buf = kzalloc(packet_len, GFP_KERNEL); in cros_ec_cmd_xfer_i2c()
212 if (!in_buf) in cros_ec_cmd_xfer_i2c()
215 i2c_msg[1].buf = (char *)in_buf; in cros_ec_cmd_xfer_i2c()
257 len = in_buf[1]; in cros_ec_cmd_xfer_i2c()
266 sum = in_buf[0] + in_buf[1]; in cros_ec_cmd_xfer_i2c()
268 msg->data[i] = in_buf[2 + i]; in cros_ec_cmd_xfer_i2c()
269 sum += in_buf[2 + i]; in cros_ec_cmd_xfer_i2c()
272 i2c_msg[1].len, in_buf, sum); in cros_ec_cmd_xfer_i2c()
273 if (sum != in_buf[2 + len]) { in cros_ec_cmd_xfer_i2c()
281 kfree(in_buf); in cros_ec_cmd_xfer_i2c()