Lines Matching refs:vpll
28 static void dss_dpll_enable_scp_clk(struct dss_video_pll *vpll) in dss_dpll_enable_scp_clk() argument
30 REG_MOD(vpll->clkctrl_base, 1, 14, 14); /* CIO_CLK_ICG */ in dss_dpll_enable_scp_clk()
33 static void dss_dpll_disable_scp_clk(struct dss_video_pll *vpll) in dss_dpll_disable_scp_clk() argument
35 REG_MOD(vpll->clkctrl_base, 0, 14, 14); /* CIO_CLK_ICG */ in dss_dpll_disable_scp_clk()
38 static void dss_dpll_power_enable(struct dss_video_pll *vpll) in dss_dpll_power_enable() argument
40 REG_MOD(vpll->clkctrl_base, 2, 31, 30); /* PLL_POWER_ON_ALL */ in dss_dpll_power_enable()
49 static void dss_dpll_power_disable(struct dss_video_pll *vpll) in dss_dpll_power_disable() argument
51 REG_MOD(vpll->clkctrl_base, 0, 31, 30); /* PLL_POWER_OFF */ in dss_dpll_power_disable()
56 struct dss_video_pll *vpll = container_of(pll, struct dss_video_pll, pll); in dss_video_pll_enable() local
65 dss_dpll_enable_scp_clk(vpll); in dss_video_pll_enable()
71 dss_dpll_power_enable(vpll); in dss_video_pll_enable()
76 dss_dpll_disable_scp_clk(vpll); in dss_video_pll_enable()
85 struct dss_video_pll *vpll = container_of(pll, struct dss_video_pll, pll); in dss_video_pll_disable() local
87 dss_dpll_power_disable(vpll); in dss_video_pll_disable()
89 dss_dpll_disable_scp_clk(vpll); in dss_video_pll_disable()
141 struct dss_video_pll *vpll; in dss_video_pll_init() local
170 vpll = devm_kzalloc(&pdev->dev, sizeof(*vpll), GFP_KERNEL); in dss_video_pll_init()
171 if (!vpll) in dss_video_pll_init()
174 vpll->dev = &pdev->dev; in dss_video_pll_init()
175 vpll->clkctrl_base = clkctrl_base; in dss_video_pll_init()
177 pll = &vpll->pll; in dss_video_pll_init()