Lines Matching defs:in_bytes
128 int in_bytes = din_len + sizeof(struct ec_host_response);
131 if (in_bytes > (int)sizeof(dev->din)) {
137 return in_bytes;
156 int in_bytes;
179 /* Update in_bytes to actual data size */
180 in_bytes = sizeof(*rs) + rs->data_len;
183 csum = cros_ec_calc_checksum(dev->din, in_bytes);
206 int out_bytes, in_bytes;
216 in_bytes = prepare_proto3_response_buffer(dev, din_len);
217 if (in_bytes < 0)
218 return in_bytes;
221 rv = ops->packet ? ops->packet(dev->dev, out_bytes, in_bytes) : -ENOSYS;