Lines Matching full:din
144 * Assumes buf is a pointer into the ec_dev->din buffer
157 if (buf - ec_dev->din + n > ec_dev->din_size) in receive_n_bytes()
181 * The received data is placed into ec_dev->din.
204 ec_dev->din, in cros_ec_spi_receive_packet()
209 ptr = ec_dev->din; in cros_ec_spi_receive_packet()
213 ptr - ec_dev->din); in cros_ec_spi_receive_packet()
237 memmove(ec_dev->din, ptr, todo); in cros_ec_spi_receive_packet()
238 ptr = ec_dev->din + todo; in cros_ec_spi_receive_packet()
252 response = (struct ec_host_response *)ec_dev->din; in cros_ec_spi_receive_packet()
268 todo, need_len, ptr - ec_dev->din); in cros_ec_spi_receive_packet()
278 dev_dbg(ec_dev->dev, "loop done, ptr=%zd\n", ptr - ec_dev->din); in cros_ec_spi_receive_packet()
290 * The received data is placed into ec_dev->din.
312 ec_dev->din, in cros_ec_spi_receive_response()
317 ptr = ec_dev->din; in cros_ec_spi_receive_response()
321 ptr - ec_dev->din); in cros_ec_spi_receive_response()
345 memmove(ec_dev->din, ptr, todo); in cros_ec_spi_receive_response()
346 ptr = ec_dev->din + todo; in cros_ec_spi_receive_response()
361 todo, need_len, ptr - ec_dev->din); in cros_ec_spi_receive_response()
372 dev_dbg(ec_dev->dev, "loop done, ptr=%zd\n", ptr - ec_dev->din); in cros_ec_spi_receive_response()
479 ptr = ec_dev->din; in do_cros_ec_pkt_xfer_spi()
600 ptr = ec_dev->din; in do_cros_ec_cmd_xfer_spi()