Searched refs:n_rx (Results 1 – 3 of 3) sorted by relevance
355 size_t n_rx = op->data.nbytes; in cqspi_command_read() local361 if (!n_rx || n_rx > CQSPI_STIG_DATA_LEN_MAX || !rxbuf) { in cqspi_command_read()364 n_rx, rxbuf); in cqspi_command_read()376 reg |= (((n_rx - 1) & CQSPI_REG_CMDCTRL_RD_BYTES_MASK) in cqspi_command_read()385 read_len = (n_rx > 4) ? 4 : n_rx; in cqspi_command_read()389 if (n_rx > 4) { in cqspi_command_read()392 read_len = n_rx - read_len; in cqspi_command_read()482 const size_t n_rx) in cqspi_indirect_read_execute() argument488 unsigned int remaining = n_rx; in cqspi_indirect_read_execute()489 unsigned int mod_bytes = n_rx % 4; in cqspi_indirect_read_execute()[all …]
4002 void *rxbuf, unsigned n_rx) in spi_write_then_read() argument4016 if ((n_tx + n_rx) > SPI_BUFSIZ || !mutex_trylock(&lock)) { in spi_write_then_read()4017 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read()4031 if (n_rx) { in spi_write_then_read()4032 x[1].len = n_rx; in spi_write_then_read()4043 memcpy(rxbuf, x[1].rx_buf, n_rx); in spi_write_then_read()
828 unsigned int n_rx = RX_DESC_COUNT; in nb8800_dma_init() local838 priv->rx_bufs = kcalloc(n_rx, sizeof(*priv->rx_bufs), GFP_KERNEL); in nb8800_dma_init()842 for (i = 0; i < n_rx; i++) { in nb8800_dma_init()