Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/spi/
Dspi-qcom-qspi.c201 u32 pio_xfer_cfg; in qcom_qspi_pio_xfer_cfg() local
206 pio_xfer_cfg = readl(ctrl->base + PIO_XFER_CFG); in qcom_qspi_pio_xfer_cfg()
207 pio_xfer_cfg &= ~TRANSFER_DIRECTION; in qcom_qspi_pio_xfer_cfg()
208 pio_xfer_cfg |= xfer->dir; in qcom_qspi_pio_xfer_cfg()
210 pio_xfer_cfg &= ~TRANSFER_FRAGMENT; in qcom_qspi_pio_xfer_cfg()
212 pio_xfer_cfg |= TRANSFER_FRAGMENT; in qcom_qspi_pio_xfer_cfg()
213 pio_xfer_cfg &= ~MULTI_IO_MODE_MSK; in qcom_qspi_pio_xfer_cfg()
215 pio_xfer_cfg |= iomode << MULTI_IO_MODE_SHFT; in qcom_qspi_pio_xfer_cfg()
217 writel(pio_xfer_cfg, ctrl->base + PIO_XFER_CFG); in qcom_qspi_pio_xfer_cfg()