Lines Matching refs:din_len
129 static int prepare_proto3_response_buffer(struct cros_ec_dev *dev, int din_len) in prepare_proto3_response_buffer() argument
131 int in_bytes = din_len + sizeof(struct ec_host_response); in prepare_proto3_response_buffer()
135 debug("%s: Cannot receive %d bytes\n", __func__, din_len); in prepare_proto3_response_buffer()
156 uint8_t **dinp, int din_len) in handle_proto3_response() argument
175 if (rs->data_len > din_len) { in handle_proto3_response()
206 uint8_t **dinp, int din_len) in send_command_proto3() argument
219 in_bytes = prepare_proto3_response_buffer(dev, din_len); in send_command_proto3()
229 return handle_proto3_response(dev, dinp, din_len); in send_command_proto3()
234 uint8_t **dinp, int din_len) in send_command() argument
242 dout, dout_len, dinp, din_len); in send_command()
247 (const uint8_t *)dout, dout_len, dinp, din_len); in send_command()
270 int din_len) in ec_command_inptr() argument
276 &din, din_len); in ec_command_inptr()
305 NULL, 0, &din, din_len); in ec_command_inptr()
336 void *din, int din_len) in ec_command() argument
341 assert((din_len == 0) || din); in ec_command()
343 &in_buffer, din_len); in ec_command()
350 assert(len <= din_len); in ec_command()