Lines Matching refs:tx
117 void* tx = NULL; in exec_xfer() local
131 rc = spi_add_data_xfer_cmd(dev, &tx, &rx, len); in exec_xfer()
139 rand_buf(tx, len, tx_seed); in exec_xfer()
141 memcpy(result, tx, len); in exec_xfer()
143 rx_seed = digest(tx, len); in exec_xfer()
175 void* tx = NULL; in TEST_P() local
183 rc = spi_add_data_xfer_cmd(dev, &tx, &rx, 1); in TEST_P()
185 EXPECT_NE(tx, NULL); in TEST_P()
187 tx = NULL; in TEST_P()
190 rc = spi_add_data_xfer_cmd(dev, &tx, NULL, 1); in TEST_P()
192 EXPECT_NE(tx, NULL); in TEST_P()
193 tx = NULL; in TEST_P()
200 rc = spi_add_data_xfer_cmd(dev, &tx, &tx, 1); in TEST_P()
202 EXPECT_NE(tx, NULL); in TEST_P()
203 tx = NULL; in TEST_P()
241 void* tx; in TEST_P() local
250 rc = spi_add_data_xfer_cmd(dev, &tx, &rx, MAX_TOTAL_PAYLOAD + 1); in TEST_P()