Lines Matching refs:in_bytes
178 int in_bytes = din_len + sizeof(struct ec_host_response); in prepare_proto3_response_buffer() local
181 if (in_bytes > (int)sizeof(cdev->din)) { in prepare_proto3_response_buffer()
187 return in_bytes; in prepare_proto3_response_buffer()
206 int in_bytes; in handle_proto3_response() local
230 in_bytes = sizeof(*rs) + rs->data_len; in handle_proto3_response()
233 csum = cros_ec_calc_checksum(dev->din, in_bytes); in handle_proto3_response()
256 int out_bytes, in_bytes; in send_command_proto3() local
266 in_bytes = prepare_proto3_response_buffer(cdev, din_len); in send_command_proto3()
267 if (in_bytes < 0) in send_command_proto3()
268 return in_bytes; in send_command_proto3()
271 rv = ops->packet ? ops->packet(cdev->dev, out_bytes, in_bytes) : in send_command_proto3()