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()
591 if (xfer->tx_buf) { in spi_test_check_loopback_result()
593 txb = ((u8 *)xfer->tx_buf)[i]; in spi_test_check_loopback_result()
674 u8 *tx_buf; in spi_test_fill_pattern() local
693 tx_buf = (u8 *)xfers[i].tx_buf; in spi_test_fill_pattern()
694 if (!tx_buf) in spi_test_fill_pattern()
697 for (j = 0; j < xfers[i].len; j++, tx_buf++, count++) { in spi_test_fill_pattern()
701 *tx_buf = test->fill_pattern; in spi_test_fill_pattern()
704 *tx_buf = GET_VALUE_BYTE(test->fill_pattern, in spi_test_fill_pattern()
708 *tx_buf = GET_VALUE_BYTE(test->fill_pattern, in spi_test_fill_pattern()
712 *tx_buf = GET_VALUE_BYTE(test->fill_pattern, in spi_test_fill_pattern()
716 *tx_buf = count; in spi_test_fill_pattern()
719 *tx_buf = GET_VALUE_BYTE(count, count, 2); in spi_test_fill_pattern()
722 *tx_buf = GET_VALUE_BYTE(count, count, 3); in spi_test_fill_pattern()
725 *tx_buf = GET_VALUE_BYTE(count, count, 4); in spi_test_fill_pattern()
728 *tx_buf = j; in spi_test_fill_pattern()
731 *tx_buf = GET_VALUE_BYTE(j, j, 2); in spi_test_fill_pattern()
734 *tx_buf = GET_VALUE_BYTE(j, j, 3); in spi_test_fill_pattern()
737 *tx_buf = GET_VALUE_BYTE(j, j, 4); in spi_test_fill_pattern()
740 *tx_buf = i; in spi_test_fill_pattern()
773 ret = spi_test_translate(spi, (void **)&x->tx_buf, x->len, in _spi_test_run_iter()
839 if (test.transfers[i].tx_buf) in spi_test_run_iter()
876 if (test.transfers[i].tx_buf) in spi_test_run_iter()
877 test.transfers[i].tx_buf += tx_off; in spi_test_run_iter()