Searched refs:n_tx (Results 1 – 3 of 3) sorted by relevance
562 size_t n_tx = op->data.nbytes; in cqspi_command_write() local572 if (n_tx > CQSPI_STIG_DATA_LEN_MAX || (n_tx && !txbuf)) { in cqspi_command_write()575 n_tx, txbuf); in cqspi_command_write()598 if (n_tx) { in cqspi_command_write()600 reg |= ((n_tx - 1) & CQSPI_REG_CMDCTRL_WR_BYTES_MASK) in cqspi_command_write()603 write_len = (n_tx > 4) ? 4 : n_tx; in cqspi_command_write()608 if (n_tx > 4) { in cqspi_command_write()610 write_len = n_tx - 4; in cqspi_command_write()951 const size_t n_tx) in cqspi_indirect_write_execute() argument956 unsigned int remaining = n_tx; in cqspi_indirect_write_execute()
4275 const void *txbuf, unsigned n_tx, in spi_write_then_read() argument4291 if ((n_tx + n_rx) > SPI_BUFSIZ || !mutex_trylock(&lock)) { in spi_write_then_read()4292 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read()4302 if (n_tx) { in spi_write_then_read()4303 x[0].len = n_tx; in spi_write_then_read()4311 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read()4313 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read()
1318 const void *txbuf, unsigned n_tx,