Searched refs:n_tx (Results 1 – 2 of 2) sorted by relevance
4905 const void *txbuf, unsigned n_tx, 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()4932 if (n_tx) { in spi_write_then_read()4933 x[0].len = n_tx; in spi_write_then_read()4941 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read()4943 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read()
1552 const void *txbuf, unsigned n_tx,