Searched refs:n_tx (Results 1 – 3 of 3) sorted by relevance
628 size_t n_tx = op->data.nbytes; in cqspi_command_write() local638 if (n_tx > CQSPI_STIG_DATA_LEN_MAX || (n_tx && !txbuf)) { in cqspi_command_write()641 n_tx, txbuf); in cqspi_command_write()664 if (n_tx) { in cqspi_command_write()666 reg |= ((n_tx - 1) & CQSPI_REG_CMDCTRL_WR_BYTES_MASK) in cqspi_command_write()669 write_len = (n_tx > 4) ? 4 : n_tx; in cqspi_command_write()674 if (n_tx > 4) { in cqspi_command_write()676 write_len = n_tx - 4; in cqspi_command_write()1076 const size_t n_tx) in cqspi_indirect_write_execute() argument1081 unsigned int remaining = n_tx; in cqspi_indirect_write_execute()
4835 const void *txbuf, unsigned n_tx, in spi_write_then_read() argument4851 if ((n_tx + n_rx) > SPI_BUFSIZ || !mutex_trylock(&lock)) { in spi_write_then_read()4852 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read()4862 if (n_tx) { in spi_write_then_read()4863 x[0].len = n_tx; in spi_write_then_read()4871 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read()4873 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read()
1556 const void *txbuf, unsigned n_tx,