Lines Matching refs:SPI_CMD_REG
30 #define SPI_CMD_REG 0x0018 macro
275 reg_val = readl(mdata->base + SPI_CMD_REG); in mtk_spi_reset()
277 writel(reg_val, mdata->base + SPI_CMD_REG); in mtk_spi_reset()
279 reg_val = readl(mdata->base + SPI_CMD_REG); in mtk_spi_reset()
281 writel(reg_val, mdata->base + SPI_CMD_REG); in mtk_spi_reset()
362 reg_val = readl(mdata->base + SPI_CMD_REG); in mtk_spi_hw_init()
421 writel(reg_val, mdata->base + SPI_CMD_REG); in mtk_spi_hw_init()
431 reg_val = readl(mdata->base + SPI_CMD_REG); in mtk_spi_hw_init()
435 writel(reg_val, mdata->base + SPI_CMD_REG); in mtk_spi_hw_init()
470 reg_val = readl(mdata->base + SPI_CMD_REG); in mtk_spi_set_cs()
473 writel(reg_val, mdata->base + SPI_CMD_REG); in mtk_spi_set_cs()
476 writel(reg_val, mdata->base + SPI_CMD_REG); in mtk_spi_set_cs()
547 cmd = readl(mdata->base + SPI_CMD_REG); in mtk_spi_enable_transfer()
552 writel(cmd, mdata->base + SPI_CMD_REG); in mtk_spi_enable_transfer()
670 cmd = readl(mdata->base + SPI_CMD_REG); in mtk_spi_dma_transfer()
675 writel(cmd, mdata->base + SPI_CMD_REG); in mtk_spi_dma_transfer()
819 cmd = readl(mdata->base + SPI_CMD_REG); in mtk_spi_interrupt_thread()
822 writel(cmd, mdata->base + SPI_CMD_REG); in mtk_spi_interrupt_thread()
1076 reg_val = readl(mdata->base + SPI_CMD_REG); in mtk_spi_mem_exec_op()
1080 writel(reg_val, mdata->base + SPI_CMD_REG); in mtk_spi_mem_exec_op()
1092 reg_val = readl(mdata->base + SPI_CMD_REG); in mtk_spi_mem_exec_op()
1096 writel(reg_val, mdata->base + SPI_CMD_REG); in mtk_spi_mem_exec_op()