Lines Matching refs:vpll

30 static void dss_dpll_enable_scp_clk(struct dss_video_pll *vpll)  in dss_dpll_enable_scp_clk()  argument
32 REG_MOD(vpll->clkctrl_base, 1, 14, 14); /* CIO_CLK_ICG */ in dss_dpll_enable_scp_clk()
35 static void dss_dpll_disable_scp_clk(struct dss_video_pll *vpll) in dss_dpll_disable_scp_clk() argument
37 REG_MOD(vpll->clkctrl_base, 0, 14, 14); /* CIO_CLK_ICG */ in dss_dpll_disable_scp_clk()
40 static void dss_dpll_power_enable(struct dss_video_pll *vpll) in dss_dpll_power_enable() argument
42 REG_MOD(vpll->clkctrl_base, 2, 31, 30); /* PLL_POWER_ON_ALL */ in dss_dpll_power_enable()
51 static void dss_dpll_power_disable(struct dss_video_pll *vpll) in dss_dpll_power_disable() argument
53 REG_MOD(vpll->clkctrl_base, 0, 31, 30); /* PLL_POWER_OFF */ in dss_dpll_power_disable()
58 struct dss_video_pll *vpll = container_of(pll, struct dss_video_pll, pll); in dss_video_pll_enable() local
67 dss_dpll_enable_scp_clk(vpll); in dss_video_pll_enable()
73 dss_dpll_power_enable(vpll); in dss_video_pll_enable()
78 dss_dpll_disable_scp_clk(vpll); in dss_video_pll_enable()
87 struct dss_video_pll *vpll = container_of(pll, struct dss_video_pll, pll); in dss_video_pll_disable() local
89 dss_dpll_power_disable(vpll); in dss_video_pll_disable()
91 dss_dpll_disable_scp_clk(vpll); in dss_video_pll_disable()
133 struct dss_video_pll *vpll; in dss_video_pll_init() local
178 vpll = devm_kzalloc(&pdev->dev, sizeof(*vpll), GFP_KERNEL); in dss_video_pll_init()
179 if (!vpll) in dss_video_pll_init()
182 vpll->dev = &pdev->dev; in dss_video_pll_init()
183 vpll->clkctrl_base = clkctrl_base; in dss_video_pll_init()
185 pll = &vpll->pll; in dss_video_pll_init()