Lines Matching refs:tx_buf
96 .tx_buf = TX(0),
110 .tx_buf = TX(PAGE_SIZE - 4),
123 .tx_buf = TX(0),
148 .tx_buf = TX(0),
152 .tx_buf = TX(SPI_TEST_MAX_SIZE_HALF),
165 .tx_buf = TX(64),
169 .tx_buf = TX(0),
183 .tx_buf = TX(0),
186 .tx_buf = TX(64),
199 .tx_buf = TX(0),
215 .tx_buf = TX(0),
233 .tx_buf = TX(0),
249 .tx_buf = TX(0),
256 .tx_buf = TX(SPI_TEST_MAX_SIZE_HALF),
271 .tx_buf = TX(1024),
277 .tx_buf = TX(0),
292 .tx_buf = TX(0),
297 .tx_buf = TX(1024),
310 .tx_buf = TX(0),
318 .tx_buf = TX(0),
340 .tx_buf = TX(0),
344 .tx_buf = TX(1),
349 .tx_buf = TX(513),
461 dev_info(&spi->dev, " tx_buf: %pK\n", xfer->tx_buf); in spi_test_dump_message()
462 if (dump_data && xfer->tx_buf) in spi_test_dump_message()
464 xfer->tx_buf, in spi_test_dump_message()
628 if (xfer->tx_buf) { in spi_test_check_loopback_result()
630 txb = ((u8 *)xfer->tx_buf)[i]; in spi_test_check_loopback_result()
711 u8 *tx_buf; in spi_test_fill_pattern() local
730 tx_buf = (u8 *)xfers[i].tx_buf; in spi_test_fill_pattern()
731 if (!tx_buf) in spi_test_fill_pattern()
734 for (j = 0; j < xfers[i].len; j++, tx_buf++, count++) { in spi_test_fill_pattern()
738 *tx_buf = test->fill_pattern; in spi_test_fill_pattern()
741 *tx_buf = GET_VALUE_BYTE(test->fill_pattern, in spi_test_fill_pattern()
745 *tx_buf = GET_VALUE_BYTE(test->fill_pattern, in spi_test_fill_pattern()
749 *tx_buf = GET_VALUE_BYTE(test->fill_pattern, in spi_test_fill_pattern()
753 *tx_buf = count; in spi_test_fill_pattern()
756 *tx_buf = GET_VALUE_BYTE(count, count, 2); in spi_test_fill_pattern()
759 *tx_buf = GET_VALUE_BYTE(count, count, 3); in spi_test_fill_pattern()
762 *tx_buf = GET_VALUE_BYTE(count, count, 4); in spi_test_fill_pattern()
765 *tx_buf = j; in spi_test_fill_pattern()
768 *tx_buf = GET_VALUE_BYTE(j, j, 2); in spi_test_fill_pattern()
771 *tx_buf = GET_VALUE_BYTE(j, j, 3); in spi_test_fill_pattern()
774 *tx_buf = GET_VALUE_BYTE(j, j, 4); in spi_test_fill_pattern()
777 *tx_buf = i; in spi_test_fill_pattern()
810 ret = spi_test_translate(spi, (void **)&x->tx_buf, x->len, in _spi_test_run_iter()
876 if (test.transfers[i].tx_buf) in spi_test_run_iter()
913 if (test.transfers[i].tx_buf) in spi_test_run_iter()
914 test.transfers[i].tx_buf += tx_off; in spi_test_run_iter()