Lines Matching refs:vpll
36 static void dss_dpll_enable_scp_clk(struct dss_video_pll *vpll) in dss_dpll_enable_scp_clk() argument
38 REG_MOD(vpll->clkctrl_base, 1, 14, 14); /* CIO_CLK_ICG */ in dss_dpll_enable_scp_clk()
41 static void dss_dpll_disable_scp_clk(struct dss_video_pll *vpll) in dss_dpll_disable_scp_clk() argument
43 REG_MOD(vpll->clkctrl_base, 0, 14, 14); /* CIO_CLK_ICG */ in dss_dpll_disable_scp_clk()
46 static void dss_dpll_power_enable(struct dss_video_pll *vpll) in dss_dpll_power_enable() argument
48 REG_MOD(vpll->clkctrl_base, 2, 31, 30); /* PLL_POWER_ON_ALL */ in dss_dpll_power_enable()
57 static void dss_dpll_power_disable(struct dss_video_pll *vpll) in dss_dpll_power_disable() argument
59 REG_MOD(vpll->clkctrl_base, 0, 31, 30); /* PLL_POWER_OFF */ in dss_dpll_power_disable()
64 struct dss_video_pll *vpll = container_of(pll, struct dss_video_pll, pll); in dss_video_pll_enable() local
73 dss_dpll_enable_scp_clk(vpll); in dss_video_pll_enable()
79 dss_dpll_power_enable(vpll); in dss_video_pll_enable()
84 dss_dpll_disable_scp_clk(vpll); in dss_video_pll_enable()
93 struct dss_video_pll *vpll = container_of(pll, struct dss_video_pll, pll); in dss_video_pll_disable() local
95 dss_dpll_power_disable(vpll); in dss_video_pll_disable()
97 dss_dpll_disable_scp_clk(vpll); in dss_video_pll_disable()
139 struct dss_video_pll *vpll; in dss_video_pll_init() local
184 vpll = devm_kzalloc(&pdev->dev, sizeof(*vpll), GFP_KERNEL); in dss_video_pll_init()
185 if (!vpll) in dss_video_pll_init()
188 vpll->dev = &pdev->dev; in dss_video_pll_init()
189 vpll->clkctrl_base = clkctrl_base; in dss_video_pll_init()
191 pll = &vpll->pll; in dss_video_pll_init()