Lines Matching refs:tx_buf
42 "is checked to match tx_buf after the spi_message " \
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);
425 if (dump_data && xfer->tx_buf)
427 xfer->tx_buf,
585 /* if applicable to transfer check that rx_buf is equal to tx_buf */
590 /* so depending on tx_buf we need to handle things */
591 if (xfer->tx_buf) {
593 txb = ((u8 *)xfer->tx_buf)[i];
674 u8 *tx_buf;
692 /* if tx_buf is NULL then skip */
693 tx_buf = (u8 *)xfers[i].tx_buf;
694 if (!tx_buf)
697 for (j = 0; j < xfers[i].len; j++, tx_buf++, count++) {
701 *tx_buf = test->fill_pattern;
704 *tx_buf = GET_VALUE_BYTE(test->fill_pattern,
708 *tx_buf = GET_VALUE_BYTE(test->fill_pattern,
712 *tx_buf = GET_VALUE_BYTE(test->fill_pattern,
716 *tx_buf = count;
719 *tx_buf = GET_VALUE_BYTE(count, count, 2);
722 *tx_buf = GET_VALUE_BYTE(count, count, 3);
725 *tx_buf = GET_VALUE_BYTE(count, count, 4);
728 *tx_buf = j;
731 *tx_buf = GET_VALUE_BYTE(j, j, 2);
734 *tx_buf = GET_VALUE_BYTE(j, j, 3);
737 *tx_buf = GET_VALUE_BYTE(j, j, 4);
740 *tx_buf = i;
772 /* patch the values of tx_buf */
773 ret = spi_test_translate(spi, (void **)&x->tx_buf, x->len,
839 if (test.transfers[i].tx_buf)
850 "%s: iterate_tx_off configured with tx_buf==NULL - ignoring\n",
876 if (test.transfers[i].tx_buf)
877 test.transfers[i].tx_buf += tx_off;