Lines Matching defs: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),
461 dev_info(&spi->dev, " tx_buf: %pK\n", xfer->tx_buf);
462 if (dump_data && xfer->tx_buf)
464 xfer->tx_buf,
622 /* if applicable to transfer check that rx_buf is equal to tx_buf */
627 /* so depending on tx_buf we need to handle things */
628 if (xfer->tx_buf) {
630 txb = ((u8 *)xfer->tx_buf)[i];
711 u8 *tx_buf;
729 /* if tx_buf is NULL then skip */
730 tx_buf = (u8 *)xfers[i].tx_buf;
731 if (!tx_buf)
734 for (j = 0; j < xfers[i].len; j++, tx_buf++, count++) {
738 *tx_buf = test->fill_pattern;
741 *tx_buf = GET_VALUE_BYTE(test->fill_pattern,
745 *tx_buf = GET_VALUE_BYTE(test->fill_pattern,
749 *tx_buf = GET_VALUE_BYTE(test->fill_pattern,
753 *tx_buf = count;
756 *tx_buf = GET_VALUE_BYTE(count, count, 2);
759 *tx_buf = GET_VALUE_BYTE(count, count, 3);
762 *tx_buf = GET_VALUE_BYTE(count, count, 4);
765 *tx_buf = j;
768 *tx_buf = GET_VALUE_BYTE(j, j, 2);
771 *tx_buf = GET_VALUE_BYTE(j, j, 3);
774 *tx_buf = GET_VALUE_BYTE(j, j, 4);
777 *tx_buf = i;
809 /* patch the values of tx_buf */
810 ret = spi_test_translate(spi, (void **)&x->tx_buf, x->len,
876 if (test.transfers[i].tx_buf)
887 "%s: iterate_tx_off configured with tx_buf==NULL - ignoring\n",
913 if (test.transfers[i].tx_buf)
914 test.transfers[i].tx_buf += tx_off;