Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/spi/
Dspi-qcom-qspi.c21 #define QSPI_BYTES_PER_WORD 4 macro
545 words_to_read = wr_cnts / QSPI_BYTES_PER_WORD; in pio_read()
546 bytes_to_read = wr_cnts % QSPI_BYTES_PER_WORD; in pio_read()
550 ctrl->xfer.rem_bytes -= words_to_read * QSPI_BYTES_PER_WORD; in pio_read()
580 if (ctrl->xfer.rem_bytes < QSPI_BYTES_PER_WORD) { in pio_write()
596 rem_words = ctrl->xfer.rem_bytes / QSPI_BYTES_PER_WORD; in pio_write()
597 wr_fifo_words = wr_fifo_bytes / QSPI_BYTES_PER_WORD; in pio_write()
600 ctrl->xfer.rem_bytes -= wr_size * QSPI_BYTES_PER_WORD; in pio_write()