Lines Matching refs:tx_buf

42 		 "is checked to match tx_buf after the spi_message "	\
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),
462 dev_info(&spi->dev, " tx_buf: %pK\n", xfer->tx_buf);
463 if (dump_data && xfer->tx_buf)
465 xfer->tx_buf,
623 /* if applicable to transfer check that rx_buf is equal to tx_buf */
628 /* so depending on tx_buf we need to handle things */
629 if (xfer->tx_buf) {
631 txb = ((u8 *)xfer->tx_buf)[i];
712 u8 *tx_buf;
730 /* if tx_buf is NULL then skip */
731 tx_buf = (u8 *)xfers[i].tx_buf;
732 if (!tx_buf)
735 for (j = 0; j < xfers[i].len; j++, tx_buf++, count++) {
739 *tx_buf = test->fill_pattern;
742 *tx_buf = GET_VALUE_BYTE(test->fill_pattern,
746 *tx_buf = GET_VALUE_BYTE(test->fill_pattern,
750 *tx_buf = GET_VALUE_BYTE(test->fill_pattern,
754 *tx_buf = count;
757 *tx_buf = GET_VALUE_BYTE(count, count, 2);
760 *tx_buf = GET_VALUE_BYTE(count, count, 3);
763 *tx_buf = GET_VALUE_BYTE(count, count, 4);
766 *tx_buf = j;
769 *tx_buf = GET_VALUE_BYTE(j, j, 2);
772 *tx_buf = GET_VALUE_BYTE(j, j, 3);
775 *tx_buf = GET_VALUE_BYTE(j, j, 4);
778 *tx_buf = i;
810 /* patch the values of tx_buf */
811 ret = spi_test_translate(spi, (void **)&x->tx_buf, x->len,
877 if (test.transfers[i].tx_buf)
888 "%s: iterate_tx_off configured with tx_buf==NULL - ignoring\n",
914 if (test.transfers[i].tx_buf)
915 test.transfers[i].tx_buf += tx_off;