Searched refs:n_rx (Results 1 – 2 of 2) sorted by relevance
493 size_t n_rx = op->data.nbytes; in cqspi_command_read() local509 if (!n_rx || n_rx > CQSPI_STIG_DATA_LEN_MAX || !rxbuf) { in cqspi_command_read()512 n_rx, rxbuf); in cqspi_command_read()537 reg |= (((n_rx - 1) & CQSPI_REG_CMDCTRL_RD_BYTES_MASK) in cqspi_command_read()546 read_len = (n_rx > 4) ? 4 : n_rx; in cqspi_command_read()550 if (n_rx > 4) { in cqspi_command_read()553 read_len = n_rx - read_len; in cqspi_command_read()674 const size_t n_rx) in cqspi_indirect_read_execute() argument680 unsigned int remaining = n_rx; in cqspi_indirect_read_execute()681 unsigned int mod_bytes = n_rx % 4; in cqspi_indirect_read_execute()[all …]
4109 void *rxbuf, unsigned n_rx) in spi_write_then_read() argument4123 if ((n_tx + n_rx) > SPI_BUFSIZ || !mutex_trylock(&lock)) { in spi_write_then_read()4124 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read()4138 if (n_rx) { in spi_write_then_read()4139 x[1].len = n_rx; in spi_write_then_read()4150 memcpy(rxbuf, x[1].rx_buf, n_rx); in spi_write_then_read()