Searched refs:n_tx (Results 1 – 3 of 3) sorted by relevance
589 size_t n_tx = op->data.nbytes; in cqspi_command_write() local599 if (n_tx > CQSPI_STIG_DATA_LEN_MAX || (n_tx && !txbuf)) { in cqspi_command_write()602 n_tx, txbuf); in cqspi_command_write()625 if (n_tx) { in cqspi_command_write()627 reg |= ((n_tx - 1) & CQSPI_REG_CMDCTRL_WR_BYTES_MASK) in cqspi_command_write()630 write_len = (n_tx > 4) ? 4 : n_tx; in cqspi_command_write()635 if (n_tx > 4) { in cqspi_command_write()637 write_len = n_tx - 4; in cqspi_command_write()1012 const size_t n_tx) in cqspi_indirect_write_execute() argument1017 unsigned int remaining = n_tx; in cqspi_indirect_write_execute()
4378 const void *txbuf, unsigned n_tx, in spi_write_then_read() argument4394 if ((n_tx + n_rx) > SPI_BUFSIZ || !mutex_trylock(&lock)) { in spi_write_then_read()4395 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read()4405 if (n_tx) { in spi_write_then_read()4406 x[0].len = n_tx; in spi_write_then_read()4414 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read()4416 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read()
1424 const void *txbuf, unsigned n_tx,