Searched refs:n_tx (Results 1 – 3 of 3) sorted by relevance
/drivers/mtd/spi-nor/ |
D | cadence-quadspi.c | 358 const u8 *txbuf, const unsigned n_tx, in cqspi_command_read() argument 407 const u8 *txbuf, const unsigned n_tx) in cqspi_command_write() argument 417 if (n_tx > CQSPI_STIG_DATA_LEN_MAX || (n_tx && !txbuf)) { in cqspi_command_write() 420 n_tx, txbuf); in cqspi_command_write() 425 if (n_tx) { in cqspi_command_write() 427 reg |= ((n_tx - 1) & CQSPI_REG_CMDCTRL_WR_BYTES_MASK) in cqspi_command_write() 430 write_len = (n_tx > 4) ? 4 : n_tx; in cqspi_command_write() 435 if (n_tx > 4) { in cqspi_command_write() 437 write_len = n_tx - 4; in cqspi_command_write() 617 const u8 *txbuf, const size_t n_tx) in cqspi_indirect_write_execute() argument [all …]
|
/drivers/spi/ |
D | spi.c | 3603 const void *txbuf, unsigned n_tx, in spi_write_then_read() argument 3618 if ((n_tx + n_rx) > SPI_BUFSIZ || !mutex_trylock(&lock)) { in spi_write_then_read() 3619 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read() 3629 if (n_tx) { in spi_write_then_read() 3630 x[0].len = n_tx; in spi_write_then_read() 3638 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read() 3640 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read()
|
/drivers/net/ethernet/aurora/ |
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()
|