Lines Matching refs:rxbuf
84 int spi_read_slt(int id, void *rxbuf, size_t n) in spi_read_slt() argument
89 .rx_buf = rxbuf, in spi_read_slt()
114 void *rxbuf, unsigned n_rx) in spi_write_then_read_slt() argument
128 ret = spi_write_then_read(spi, txbuf, n_tx, rxbuf, n_rx); in spi_write_then_read_slt()
167 char *txbuf = NULL, *rxbuf = NULL; in spi_test_write() local
238 rxbuf = kzalloc(size, GFP_KERNEL); in spi_test_write()
239 if (!rxbuf) { in spi_test_write()
246 spi_read_slt(id, rxbuf, size); in spi_test_write()
258 rxbuf, in spi_test_write()
262 kfree(rxbuf); in spi_test_write()
274 rxbuf = kzalloc(size, GFP_KERNEL); in spi_test_write()
275 if (!rxbuf) { in spi_test_write()
286 spi_write_and_read_slt(id, txbuf, rxbuf, size); in spi_test_write()
287 if (memcmp(txbuf, rxbuf, size)) { in spi_test_write()
302 kfree(rxbuf); in spi_test_write()