Lines Matching refs:xfers
316 struct spi_transfer xfers[4] = { }; in spi_mem_exec_op() local
360 xfers[xferpos].tx_buf = tmpbuf; in spi_mem_exec_op()
361 xfers[xferpos].len = op->cmd.nbytes; in spi_mem_exec_op()
362 xfers[xferpos].tx_nbits = op->cmd.buswidth; in spi_mem_exec_op()
363 spi_message_add_tail(&xfers[xferpos], &msg); in spi_mem_exec_op()
374 xfers[xferpos].tx_buf = tmpbuf + 1; in spi_mem_exec_op()
375 xfers[xferpos].len = op->addr.nbytes; in spi_mem_exec_op()
376 xfers[xferpos].tx_nbits = op->addr.buswidth; in spi_mem_exec_op()
377 spi_message_add_tail(&xfers[xferpos], &msg); in spi_mem_exec_op()
384 xfers[xferpos].tx_buf = tmpbuf + op->addr.nbytes + 1; in spi_mem_exec_op()
385 xfers[xferpos].len = op->dummy.nbytes; in spi_mem_exec_op()
386 xfers[xferpos].tx_nbits = op->dummy.buswidth; in spi_mem_exec_op()
387 xfers[xferpos].dummy_data = 1; in spi_mem_exec_op()
388 spi_message_add_tail(&xfers[xferpos], &msg); in spi_mem_exec_op()
395 xfers[xferpos].rx_buf = op->data.buf.in; in spi_mem_exec_op()
396 xfers[xferpos].rx_nbits = op->data.buswidth; in spi_mem_exec_op()
398 xfers[xferpos].tx_buf = op->data.buf.out; in spi_mem_exec_op()
399 xfers[xferpos].tx_nbits = op->data.buswidth; in spi_mem_exec_op()
402 xfers[xferpos].len = op->data.nbytes; in spi_mem_exec_op()
403 spi_message_add_tail(&xfers[xferpos], &msg); in spi_mem_exec_op()