Lines Matching refs:tx_buf

85 				.tx_buf = TX(0),
99 .tx_buf = TX(PAGE_SIZE - 4),
112 .tx_buf = TX(0),
137 .tx_buf = TX(0),
141 .tx_buf = TX(SPI_TEST_MAX_SIZE_HALF),
154 .tx_buf = TX(64),
158 .tx_buf = TX(0),
172 .tx_buf = TX(0),
175 .tx_buf = TX(64),
188 .tx_buf = TX(0),
204 .tx_buf = TX(0),
222 .tx_buf = TX(0),
238 .tx_buf = TX(0),
245 .tx_buf = TX(SPI_TEST_MAX_SIZE_HALF),
260 .tx_buf = TX(1024),
266 .tx_buf = TX(0),
281 .tx_buf = TX(0),
286 .tx_buf = TX(1024),
299 .tx_buf = TX(0),
307 .tx_buf = TX(0),
424 dev_info(&spi->dev, " tx_buf: %pK\n", xfer->tx_buf); in spi_test_dump_message()
425 if (dump_data && xfer->tx_buf) in spi_test_dump_message()
427 xfer->tx_buf, in spi_test_dump_message()
590 if (xfer->tx_buf) { in spi_test_check_loopback_result()
592 txb = ((u8 *)xfer->tx_buf)[i]; in spi_test_check_loopback_result()
673 u8 *tx_buf; in spi_test_fill_pattern() local
692 tx_buf = (u8 *)xfers[i].tx_buf; in spi_test_fill_pattern()
693 if (!tx_buf) in spi_test_fill_pattern()
696 for (j = 0; j < xfers[i].len; j++, tx_buf++, count++) { in spi_test_fill_pattern()
700 *tx_buf = test->fill_pattern; in spi_test_fill_pattern()
703 *tx_buf = GET_VALUE_BYTE(test->fill_pattern, in spi_test_fill_pattern()
707 *tx_buf = GET_VALUE_BYTE(test->fill_pattern, in spi_test_fill_pattern()
711 *tx_buf = GET_VALUE_BYTE(test->fill_pattern, in spi_test_fill_pattern()
715 *tx_buf = count; in spi_test_fill_pattern()
718 *tx_buf = GET_VALUE_BYTE(count, count, 2); in spi_test_fill_pattern()
721 *tx_buf = GET_VALUE_BYTE(count, count, 3); in spi_test_fill_pattern()
724 *tx_buf = GET_VALUE_BYTE(count, count, 4); in spi_test_fill_pattern()
727 *tx_buf = j; in spi_test_fill_pattern()
730 *tx_buf = GET_VALUE_BYTE(j, j, 2); in spi_test_fill_pattern()
733 *tx_buf = GET_VALUE_BYTE(j, j, 3); in spi_test_fill_pattern()
736 *tx_buf = GET_VALUE_BYTE(j, j, 4); in spi_test_fill_pattern()
739 *tx_buf = i; in spi_test_fill_pattern()
772 ret = spi_test_translate(spi, (void **)&x->tx_buf, x->len, in _spi_test_run_iter()
838 if (test.transfers[i].tx_buf) in spi_test_run_iter()
875 if (test.transfers[i].tx_buf) in spi_test_run_iter()
876 test.transfers[i].tx_buf += tx_off; in spi_test_run_iter()