Lines Matching refs:tx_buf
90 .tx_buf = TX(0),
104 .tx_buf = TX(PAGE_SIZE - 4),
117 .tx_buf = TX(0),
142 .tx_buf = TX(0),
146 .tx_buf = TX(SPI_TEST_MAX_SIZE_HALF),
159 .tx_buf = TX(64),
163 .tx_buf = TX(0),
177 .tx_buf = TX(0),
180 .tx_buf = TX(64),
193 .tx_buf = TX(0),
209 .tx_buf = TX(0),
227 .tx_buf = TX(0),
243 .tx_buf = TX(0),
250 .tx_buf = TX(SPI_TEST_MAX_SIZE_HALF),
265 .tx_buf = TX(1024),
271 .tx_buf = TX(0),
286 .tx_buf = TX(0),
291 .tx_buf = TX(1024),
304 .tx_buf = TX(0),
312 .tx_buf = TX(0),
334 .tx_buf = TX(0),
338 .tx_buf = TX(1),
343 .tx_buf = TX(513),
456 dev_info(&spi->dev, " tx_buf: %pK\n", xfer->tx_buf); in spi_test_dump_message()
457 if (dump_data && xfer->tx_buf) in spi_test_dump_message()
459 xfer->tx_buf, in spi_test_dump_message()
623 if (xfer->tx_buf) { in spi_test_check_loopback_result()
625 txb = ((u8 *)xfer->tx_buf)[i]; in spi_test_check_loopback_result()
706 u8 *tx_buf; in spi_test_fill_pattern() local
725 tx_buf = (u8 *)xfers[i].tx_buf; in spi_test_fill_pattern()
726 if (!tx_buf) in spi_test_fill_pattern()
729 for (j = 0; j < xfers[i].len; j++, tx_buf++, count++) { in spi_test_fill_pattern()
733 *tx_buf = test->fill_pattern; in spi_test_fill_pattern()
736 *tx_buf = GET_VALUE_BYTE(test->fill_pattern, in spi_test_fill_pattern()
740 *tx_buf = GET_VALUE_BYTE(test->fill_pattern, in spi_test_fill_pattern()
744 *tx_buf = GET_VALUE_BYTE(test->fill_pattern, in spi_test_fill_pattern()
748 *tx_buf = count; in spi_test_fill_pattern()
751 *tx_buf = GET_VALUE_BYTE(count, count, 2); in spi_test_fill_pattern()
754 *tx_buf = GET_VALUE_BYTE(count, count, 3); in spi_test_fill_pattern()
757 *tx_buf = GET_VALUE_BYTE(count, count, 4); in spi_test_fill_pattern()
760 *tx_buf = j; in spi_test_fill_pattern()
763 *tx_buf = GET_VALUE_BYTE(j, j, 2); in spi_test_fill_pattern()
766 *tx_buf = GET_VALUE_BYTE(j, j, 3); in spi_test_fill_pattern()
769 *tx_buf = GET_VALUE_BYTE(j, j, 4); in spi_test_fill_pattern()
772 *tx_buf = i; in spi_test_fill_pattern()
805 ret = spi_test_translate(spi, (void **)&x->tx_buf, x->len, in _spi_test_run_iter()
871 if (test.transfers[i].tx_buf) in spi_test_run_iter()
908 if (test.transfers[i].tx_buf) in spi_test_run_iter()
909 test.transfers[i].tx_buf += tx_off; in spi_test_run_iter()