Lines Matching refs:mmio_base
59 void __iomem *mmio_base; member
123 aud_pll_ctrl0 = readl(priv->mmio_base + SSPA_AUD_PLL_CTRL0); in audio_pll_recalc_rate()
131 aud_pll_ctrl1 = readl(priv->mmio_base + SSPA_AUD_PLL_CTRL1); in audio_pll_recalc_rate()
214 writel(val, priv->mmio_base + SSPA_AUD_PLL_CTRL0); in audio_pll_set_rate()
218 writel(val, priv->mmio_base + SSPA_AUD_PLL_CTRL1); in audio_pll_set_rate()
255 priv->sspa_mux.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
265 priv->sysclk_div.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
278 priv->sysclk_gate.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
286 priv->sspa0_div.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
299 priv->sspa0_gate.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
308 priv->sspa1_mux.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
317 priv->sspa1_div.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
330 priv->sspa1_gate.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
360 priv->mmio_base = devm_platform_ioremap_resource(pdev, 0); in mmp2_audio_clk_probe()
361 if (IS_ERR(priv->mmio_base)) in mmp2_audio_clk_probe()
362 return PTR_ERR(priv->mmio_base); in mmp2_audio_clk_probe()
400 priv->aud_ctrl = readl(priv->mmio_base + SSPA_AUD_CTRL); in mmp2_audio_clk_suspend()
401 priv->aud_pll_ctrl0 = readl(priv->mmio_base + SSPA_AUD_PLL_CTRL0); in mmp2_audio_clk_suspend()
402 priv->aud_pll_ctrl1 = readl(priv->mmio_base + SSPA_AUD_PLL_CTRL1); in mmp2_audio_clk_suspend()
413 writel(priv->aud_ctrl, priv->mmio_base + SSPA_AUD_CTRL); in mmp2_audio_clk_resume()
414 writel(priv->aud_pll_ctrl0, priv->mmio_base + SSPA_AUD_PLL_CTRL0); in mmp2_audio_clk_resume()
415 writel(priv->aud_pll_ctrl1, priv->mmio_base + SSPA_AUD_PLL_CTRL1); in mmp2_audio_clk_resume()