Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/spi/
Dspi-qcom-qspi.c18 #define QSPI_BYTES_PER_WORD 4 macro
351 words_to_read = wr_cnts / QSPI_BYTES_PER_WORD; in pio_read()
352 bytes_to_read = wr_cnts % QSPI_BYTES_PER_WORD; in pio_read()
356 ctrl->xfer.rem_bytes -= words_to_read * QSPI_BYTES_PER_WORD; in pio_read()
386 if (ctrl->xfer.rem_bytes < QSPI_BYTES_PER_WORD) { in pio_write()
402 rem_words = ctrl->xfer.rem_bytes / QSPI_BYTES_PER_WORD; in pio_write()
403 wr_fifo_words = wr_fifo_bytes / QSPI_BYTES_PER_WORD; in pio_write()
406 ctrl->xfer.rem_bytes -= wr_size * QSPI_BYTES_PER_WORD; in pio_write()