Searched refs:n_tx (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-cadence-quadspi.c | 406 size_t n_tx = op->data.nbytes; in cqspi_command_write() local 411 if (n_tx > CQSPI_STIG_DATA_LEN_MAX || (n_tx && !txbuf)) { in cqspi_command_write() 414 n_tx, txbuf); in cqspi_command_write() 429 if (n_tx) { in cqspi_command_write() 431 reg |= ((n_tx - 1) & CQSPI_REG_CMDCTRL_WR_BYTES_MASK) in cqspi_command_write() 434 write_len = (n_tx > 4) ? 4 : n_tx; in cqspi_command_write() 439 if (n_tx > 4) { in cqspi_command_write() 441 write_len = n_tx in cqspi_command_write() 592 cqspi_indirect_write_execute(struct cqspi_flash_pdata *f_pdata, loff_t to_addr, const u8 *txbuf, const size_t n_tx) cqspi_indirect_write_execute() argument [all...] |
H A D | spi.c | 3974 * @n_tx: size of txbuf, in bytes 3991 const void *txbuf, unsigned n_tx, in spi_write_then_read() 4006 if ((n_tx + n_rx) > SPI_BUFSIZ || !mutex_trylock(&lock)) { in spi_write_then_read() 4007 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read() 4017 if (n_tx) { in spi_write_then_read() 4018 x[0].len = n_tx; in spi_write_then_read() 4026 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read() 4028 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read() 3990 spi_write_then_read(struct spi_device *spi, const void *txbuf, unsigned n_tx, void *rxbuf, unsigned n_rx) spi_write_then_read() argument
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-cadence-quadspi.c | 589 size_t n_tx = op->data.nbytes; in cqspi_command_write() local 599 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 in cqspi_command_write() 1010 cqspi_indirect_write_execute(struct cqspi_flash_pdata *f_pdata, loff_t to_addr, const u8 *txbuf, const size_t n_tx) cqspi_indirect_write_execute() argument [all...] |
H A D | spi.c | 4387 * @n_tx: size of txbuf, in bytes 4404 const void *txbuf, unsigned n_tx, in spi_write_then_read() 4420 if ((n_tx + n_rx) > SPI_BUFSIZ || !mutex_trylock(&lock)) { in spi_write_then_read() 4421 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read() 4431 if (n_tx) { in spi_write_then_read() 4432 x[0].len = n_tx; in spi_write_then_read() 4440 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read() 4442 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read() 4403 spi_write_then_read(struct spi_device *spi, const void *txbuf, unsigned n_tx, void *rxbuf, unsigned n_rx) spi_write_then_read() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aurora/ |
H A D | nb8800.c | 829 unsigned int n_tx = TX_DESC_COUNT; in nb8800_dma_init() local 853 priv->tx_bufs = kcalloc(n_tx, sizeof(*priv->tx_bufs), GFP_KERNEL); in nb8800_dma_init() 857 for (i = 0; i < n_tx; i++) in nb8800_dma_init()
|
/kernel/linux/linux-5.10/include/linux/spi/ |
H A D | spi.h | 1320 const void *txbuf, unsigned n_tx,
|
/kernel/linux/linux-6.6/include/linux/spi/ |
H A D | spi.h | 1425 const void *txbuf, unsigned n_tx,
|
Completed in 21 milliseconds