Searched refs:n_rx (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-cadence-quadspi.c | 355 size_t n_rx = op->data.nbytes; in cqspi_command_read() local 361 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() 480 cqspi_indirect_read_execute(struct cqspi_flash_pdata *f_pdata, u8 *rxbuf, loff_t from_addr, const size_t n_rx) cqspi_indirect_read_execute() argument [all...] |
H A D | spi.c | 3976 * @n_rx: size of rxbuf, in bytes 3992 void *rxbuf, unsigned n_rx) 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() 4021 if (n_rx) { in spi_write_then_read() 4022 x[1].len = n_rx; in spi_write_then_read() 4033 memcpy(rxbuf, x[1].rx_buf, n_rx); 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 | 109 u_char *rxbuf, loff_t from_addr, size_t n_rx); 506 size_t n_rx = op->data.nbytes; in cqspi_command_read() local 517 if (!n_rx || n_rx > CQSPI_STIG_DATA_LEN_MAX || !rxbuf) { in cqspi_command_read() 520 n_rx, rxbuf); in cqspi_command_read() 545 reg |= (((n_rx - 1) & CQSPI_REG_CMDCTRL_RD_BYTES_MASK) in cqspi_command_read() 565 read_len = (n_rx > 4) ? 4 : n_rx; in cqspi_command_read() 569 if (n_rx > 4) { in cqspi_command_read() 572 read_len = n_rx in cqspi_command_read() 693 cqspi_indirect_read_execute(struct cqspi_flash_pdata *f_pdata, u8 *rxbuf, loff_t from_addr, const size_t n_rx) cqspi_indirect_read_execute() argument 821 cqspi_versal_indirect_read_dma(struct cqspi_flash_pdata *f_pdata, u_char *rxbuf, loff_t from_addr, size_t n_rx) cqspi_versal_indirect_read_dma() argument [all...] |
H A D | spi.c | 4389 * @n_rx: size of rxbuf, in bytes 4405 void *rxbuf, unsigned n_rx) 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() 4435 if (n_rx) { in spi_write_then_read() 4436 x[1].len = n_rx; in spi_write_then_read() 4447 memcpy(rxbuf, x[1].rx_buf, n_rx); 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 | 828 unsigned int n_rx = RX_DESC_COUNT; in nb8800_dma_init() local 838 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()
|
/kernel/linux/linux-5.10/include/linux/spi/ |
H A D | spi.h | 1321 void *rxbuf, unsigned n_rx);
|
/kernel/linux/linux-6.6/include/linux/spi/ |
H A D | spi.h | 1426 void *rxbuf, unsigned n_rx);
|
Completed in 20 milliseconds