Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/spi/
Dspi-cadence-quadspi.c98 u_char *rxbuf, loff_t from_addr, size_t n_rx);
493 size_t n_rx = op->data.nbytes; in cqspi_command_read() local
504 if (!n_rx || n_rx > CQSPI_STIG_DATA_LEN_MAX || !rxbuf) { in cqspi_command_read()
507 n_rx, rxbuf); in cqspi_command_read()
532 reg |= (((n_rx - 1) & CQSPI_REG_CMDCTRL_RD_BYTES_MASK) in cqspi_command_read()
541 read_len = (n_rx > 4) ? 4 : n_rx; in cqspi_command_read()
545 if (n_rx > 4) { in cqspi_command_read()
548 read_len = n_rx - read_len; in cqspi_command_read()
663 const size_t n_rx) in cqspi_indirect_read_execute() argument
669 unsigned int remaining = n_rx; in cqspi_indirect_read_execute()
[all …]
Dspi.c4276 void *rxbuf, unsigned n_rx) 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()
4306 if (n_rx) { in spi_write_then_read()
4307 x[1].len = n_rx; in spi_write_then_read()
4318 memcpy(rxbuf, x[1].rx_buf, n_rx); in spi_write_then_read()
/linux-6.1.9/include/linux/spi/
Dspi.h1319 void *rxbuf, unsigned n_rx);