Lines Matching refs:din
134 if (in_bytes > (int)sizeof(dev->din)) { in prepare_proto3_response_buffer()
158 struct ec_host_response *rs = (struct ec_host_response *)dev->din; in handle_proto3_response()
162 cros_ec_dump_data("in-header", -1, dev->din, sizeof(*rs)); in handle_proto3_response()
180 cros_ec_dump_data("in-data", -1, dev->din + sizeof(*rs), rs->data_len); in handle_proto3_response()
186 csum = cros_ec_calc_checksum(dev->din, in_bytes); in handle_proto3_response()
272 uint8_t *din = NULL; in ec_command_inptr() local
276 &din, din_len); in ec_command_inptr()
305 NULL, 0, &din, din_len); in ec_command_inptr()
308 debug("%s: len=%d, din=%p\n", __func__, len, din); in ec_command_inptr()
311 assert(len <= 0 || !((uintptr_t)din & 7)); in ec_command_inptr()
312 *dinp = din; in ec_command_inptr()
336 void *din, int din_len) in ec_command() argument
341 assert((din_len == 0) || din); in ec_command()
349 if (din && in_buffer) { in ec_command()
351 memmove(din, in_buffer, len); in ec_command()