Lines Matching refs:din
131 if (in_bytes > (int)sizeof(dev->din)) { in prepare_proto3_response_buffer()
155 struct ec_host_response *rs = (struct ec_host_response *)dev->din; in handle_proto3_response()
159 cros_ec_dump_data("in-header", -1, dev->din, sizeof(*rs)); in handle_proto3_response()
177 cros_ec_dump_data("in-data", -1, dev->din + sizeof(*rs), rs->data_len); in handle_proto3_response()
183 csum = cros_ec_calc_checksum(dev->din, in_bytes); in handle_proto3_response()
269 uint8_t *din = NULL; in ec_command_inptr() local
273 &din, din_len); in ec_command_inptr()
302 NULL, 0, &din, din_len); in ec_command_inptr()
305 debug("%s: len=%d, din=%p\n", __func__, len, din); in ec_command_inptr()
308 assert(len <= 0 || !((uintptr_t)din & 7)); in ec_command_inptr()
309 *dinp = din; in ec_command_inptr()
333 void *din, int din_len) in ec_command() argument
338 assert((din_len == 0) || din); in ec_command()
346 if (din && in_buffer) { in ec_command()
348 memmove(din, in_buffer, len); in ec_command()