Lines Matching full:din
150 * Assumes buf is a pointer into the ec_dev->din buffer
163 if (buf - ec_dev->din + n > ec_dev->din_size) in receive_n_bytes()
187 * The received data is placed into ec_dev->din.
210 ec_dev->din, in cros_ec_spi_receive_packet()
215 ptr = ec_dev->din; in cros_ec_spi_receive_packet()
219 ptr - ec_dev->din); in cros_ec_spi_receive_packet()
243 memmove(ec_dev->din, ptr, todo); in cros_ec_spi_receive_packet()
244 ptr = ec_dev->din + todo; in cros_ec_spi_receive_packet()
258 response = (struct ec_host_response *)ec_dev->din; in cros_ec_spi_receive_packet()
274 todo, need_len, ptr - ec_dev->din); in cros_ec_spi_receive_packet()
284 dev_dbg(ec_dev->dev, "loop done, ptr=%zd\n", ptr - ec_dev->din); in cros_ec_spi_receive_packet()
296 * The received data is placed into ec_dev->din.
318 ec_dev->din, in cros_ec_spi_receive_response()
323 ptr = ec_dev->din; in cros_ec_spi_receive_response()
327 ptr - ec_dev->din); in cros_ec_spi_receive_response()
351 memmove(ec_dev->din, ptr, todo); in cros_ec_spi_receive_response()
352 ptr = ec_dev->din + todo; in cros_ec_spi_receive_response()
367 todo, need_len, ptr - ec_dev->din); in cros_ec_spi_receive_response()
378 dev_dbg(ec_dev->dev, "loop done, ptr=%zd\n", ptr - ec_dev->din); in cros_ec_spi_receive_response()
485 ptr = ec_dev->din; in do_cros_ec_pkt_xfer_spi()
606 ptr = ec_dev->din; in do_cros_ec_cmd_xfer_spi()