Lines Matching refs:mmio_base
85 void __iomem *mmio_base; member
133 val = readl(imx->mmio_base + MX3_PWMCR); in pwm_imx27_get_state()
153 val = readl(imx->mmio_base + MX3_PWMPR); in pwm_imx27_get_state()
165 val = readl(imx->mmio_base + MX3_PWMSAR); in pwm_imx27_get_state()
182 writel(MX3_PWMCR_SWR, imx->mmio_base + MX3_PWMCR); in pwm_imx27_sw_reset()
185 cr = readl(imx->mmio_base + MX3_PWMCR); in pwm_imx27_sw_reset()
202 sr = readl(imx->mmio_base + MX3_PWMSR); in pwm_imx27_wait_fifo_slot()
209 sr = readl(imx->mmio_base + MX3_PWMSR); in pwm_imx27_wait_fifo_slot()
264 writel(duty_cycles, imx->mmio_base + MX3_PWMSAR); in pwm_imx27_apply()
265 writel(period_cycles, imx->mmio_base + MX3_PWMPR); in pwm_imx27_apply()
285 writel(cr, imx->mmio_base + MX3_PWMCR); in pwm_imx27_apply()
348 imx->mmio_base = devm_platform_ioremap_resource(pdev, 0); in pwm_imx27_probe()
349 if (IS_ERR(imx->mmio_base)) in pwm_imx27_probe()
350 return PTR_ERR(imx->mmio_base); in pwm_imx27_probe()
357 pwmcr = readl(imx->mmio_base + MX3_PWMCR); in pwm_imx27_probe()