Home
last modified time | relevance | path

Searched refs:n_tx (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/spi/
Dspi-cadence-quadspi.c562 size_t n_tx = op->data.nbytes; in cqspi_command_write() local
572 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() argument
956 unsigned int remaining = n_tx; in cqspi_indirect_write_execute()
Dspi.c4275 const void *txbuf, unsigned n_tx, in spi_write_then_read() argument
4291 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()
/linux-6.1.9/include/linux/spi/
Dspi.h1318 const void *txbuf, unsigned n_tx,