Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/spi/
Dspi-qcom-qspi.c170 u32 pio_xfer_cfg; in qcom_qspi_pio_xfer_cfg() local
174 pio_xfer_cfg = readl(ctrl->base + PIO_XFER_CFG); in qcom_qspi_pio_xfer_cfg()
175 pio_xfer_cfg &= ~TRANSFER_DIRECTION; in qcom_qspi_pio_xfer_cfg()
176 pio_xfer_cfg |= xfer->dir; in qcom_qspi_pio_xfer_cfg()
178 pio_xfer_cfg &= ~TRANSFER_FRAGMENT; in qcom_qspi_pio_xfer_cfg()
180 pio_xfer_cfg |= TRANSFER_FRAGMENT; in qcom_qspi_pio_xfer_cfg()
181 pio_xfer_cfg &= ~MULTI_IO_MODE_MSK; in qcom_qspi_pio_xfer_cfg()
182 pio_xfer_cfg |= qspi_buswidth_to_iomode(ctrl, xfer->buswidth); in qcom_qspi_pio_xfer_cfg()
184 writel(pio_xfer_cfg, ctrl->base + PIO_XFER_CFG); in qcom_qspi_pio_xfer_cfg()