Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/spi/
Dspi-qup.c118 #define SPI_MAX_XFER (SZ_64K - 64) macro
497 SPI_MAX_XFER, &rx_nents) / qup->w_size; in spi_qup_do_dma()
500 SPI_MAX_XFER, &tx_nents) / qup->w_size; in spi_qup_do_dma()
552 iterations = n_words / SPI_MAX_XFER; /* round down */ in spi_qup_do_pio()
558 qup->n_words = SPI_MAX_XFER; in spi_qup_do_pio()
560 qup->n_words = n_words % SPI_MAX_XFER; in spi_qup_do_pio()
563 qup->tx_buf = xfer->tx_buf + offset * SPI_MAX_XFER; in spi_qup_do_pio()
566 qup->rx_buf = xfer->rx_buf + offset * SPI_MAX_XFER; in spi_qup_do_pio()
885 timeout = DIV_ROUND_UP(min_t(unsigned long, SPI_MAX_XFER, in spi_qup_transfer_one()
1097 host->max_dma_len = SPI_MAX_XFER; in spi_qup_probe()