Searched refs:n_tx (Results 1 – 3 of 3) sorted by relevance
587 size_t n_tx = op->data.nbytes; in cqspi_command_write() local602 if (n_tx > CQSPI_STIG_DATA_LEN_MAX || (n_tx && !txbuf)) { in cqspi_command_write()605 n_tx, txbuf); in cqspi_command_write()628 if (n_tx) { in cqspi_command_write()630 reg |= ((n_tx - 1) & CQSPI_REG_CMDCTRL_WR_BYTES_MASK) in cqspi_command_write()633 write_len = (n_tx > 4) ? 4 : n_tx; in cqspi_command_write()638 if (n_tx > 4) { in cqspi_command_write()640 write_len = n_tx - 4; in cqspi_command_write()835 const size_t n_tx) in cqspi_indirect_write_execute() argument840 unsigned int remaining = n_tx; in cqspi_indirect_write_execute()
4053 const void *txbuf, unsigned n_tx, in spi_write_then_read() argument4068 if ((n_tx + n_rx) > SPI_BUFSIZ || !mutex_trylock(&lock)) { in spi_write_then_read()4069 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read()4079 if (n_tx) { in spi_write_then_read()4080 x[0].len = n_tx; in spi_write_then_read()4088 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read()4090 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read()
1303 const void *txbuf, unsigned n_tx,