Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-qup.c115 #define SPI_MAX_XFER (SZ_64K - 64) macro
466 SPI_MAX_XFER, &rx_nents) / qup->w_size; in spi_qup_do_dma()
469 SPI_MAX_XFER, &tx_nents) / qup->w_size; in spi_qup_do_dma()
521 iterations = n_words / SPI_MAX_XFER; /* round down */ in spi_qup_do_pio()
527 qup->n_words = SPI_MAX_XFER; in spi_qup_do_pio()
529 qup->n_words = n_words % SPI_MAX_XFER; in spi_qup_do_pio()
532 qup->tx_buf = xfer->tx_buf + offset * SPI_MAX_XFER; in spi_qup_do_pio()
535 qup->rx_buf = xfer->rx_buf + offset * SPI_MAX_XFER; in spi_qup_do_pio()
856 timeout = DIV_ROUND_UP(min_t(unsigned long, SPI_MAX_XFER, in spi_qup_transfer_one()
1053 host->max_dma_len = SPI_MAX_XFER; in spi_qup_probe()