Searched refs:n_rx (Results 1 – 2 of 2) sorted by relevance
4906 void *rxbuf, unsigned n_rx) in spi_write_then_read() argument4921 if ((n_tx + n_rx) > SPI_BUFSIZ || !mutex_trylock(&lock)) { in spi_write_then_read()4922 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read()4936 if (n_rx) { in spi_write_then_read()4937 x[1].len = n_rx; in spi_write_then_read()4948 memcpy(rxbuf, x[1].rx_buf, n_rx); in spi_write_then_read()
1553 void *rxbuf, unsigned n_rx);