| /linux/drivers/clk/mediatek/ |
| H A D | clk-pll.c | 17 #include "clk-pll.h" 36 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_is_prepared() local 38 return (readl(pll->en_addr) & BIT(pll->data->pll_en_bit)) != 0; in mtk_pll_is_prepared() 43 struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); in mtk_pll_fenc_is_prepared() local 45 return !!(readl(pll->fenc_addr) & BIT(pll->data->fenc_sta_bit)); in mtk_pll_fenc_is_prepared() 48 static unsigned long __mtk_pll_recalc_rate(struct mtk_clk_pll *pll, u32 fin, in __mtk_pll_recalc_rate() argument 51 int pcwbits = pll->data->pcwbits; in __mtk_pll_recalc_rate() 57 /* The fractional part of the PLL divider. */ in __mtk_pll_recalc_rate() 58 ibits = pll->data->pcwibits ? pll->data->pcwibits : INTEGER_BITS; in __mtk_pll_recalc_rate() 75 static void __mtk_pll_tuner_enable(struct mtk_clk_pll *pll) in __mtk_pll_tuner_enable() argument [all …]
|
| /linux/drivers/clk/tegra/ |
| H A D | clk-pll.c | 276 static void clk_pll_enable_lock(struct tegra_clk_pll *pll) in clk_pll_enable_lock() argument 280 if (!(pll->params->flags & TEGRA_PLL_USE_LOCK)) in clk_pll_enable_lock() 283 if (!(pll->params->flags & TEGRA_PLL_HAS_LOCK_ENABLE)) in clk_pll_enable_lock() 286 val = pll_readl_misc(pll); in clk_pll_enable_lock() 287 val |= BIT(pll->params->lock_enable_bit_idx); in clk_pll_enable_lock() 288 pll_writel_misc(val, pll); in clk_pll_enable_lock() 291 static int clk_pll_wait_for_lock(struct tegra_clk_pll *pll) in clk_pll_wait_for_lock() argument 297 if (!(pll->params->flags & TEGRA_PLL_USE_LOCK)) { in clk_pll_wait_for_lock() 298 udelay(pll->params->lock_delay); in clk_pll_wait_for_lock() 302 lock_addr = pll->clk_base; in clk_pll_wait_for_lock() [all …]
|
| /linux/drivers/clk/sprd/ |
| H A D | pll.c | 3 // Spreadtrum pll clock driver 13 #include "pll.h" 18 #define pindex(pll, member) \ argument 19 (pll->factors[member].shift / (8 * sizeof(pll->regs_num))) 21 #define pshift(pll, member) \ argument 22 (pll->factors[member].shift % (8 * sizeof(pll->regs_num))) 24 #define pwidth(pll, member) \ argument 25 pll->factors[member].width 27 #define pmask(pll, member) \ argument 28 ((pwidth(pll, member)) ? \ [all …]
|
| /linux/drivers/clk/imx/ |
| H A D | clk-pllv3.c | 33 * struct clk_pllv3 - IMX PLL clock version 3 35 * @base: base address of PLL registers 36 * @power_bit: pll power bit mask 37 * @powerup_set: set power_bit to power up the PLL 44 * IMX PLL clock version 3, found on i.MX6 series. Divider for pllv3 61 static int clk_pllv3_wait_lock(struct clk_pllv3 *pll) in clk_pllv3_wait_lock() argument 63 u32 val = readl_relaxed(pll->base) & pll->power_bit; in clk_pllv3_wait_lock() 65 /* No need to wait for lock when pll is not powered up */ in clk_pllv3_wait_lock() 66 if ((pll->powerup_set && !val) || (!pll->powerup_set && val)) in clk_pllv3_wait_lock() 69 return readl_relaxed_poll_timeout(pll->base, val, val & BM_PLL_LOCK, in clk_pllv3_wait_lock() [all …]
|
| H A D | clk-pllv4.c | 19 /* PLL Control Status Register (xPLLCSR) */ 24 /* PLL Configuration Register (xPLLCFG) */ 30 /* PLL Numerator Register (xPLLNUM) */ 34 /* PLL Denominator Register (xPLLDENOM) */ 50 /* Valid PLL MULT Table */ 53 /* Valid PLL MULT range, (max, min) */ 60 static inline int clk_pllv4_wait_lock(struct clk_pllv4 *pll) in clk_pllv4_wait_lock() argument 64 return readl_poll_timeout(pll->base + PLL_CSR_OFFSET, in clk_pllv4_wait_lock() 70 struct clk_pllv4 *pll = to_clk_pllv4(hw); in clk_pllv4_is_prepared() local 72 if (readl_relaxed(pll->base) & PLL_EN) in clk_pllv4_is_prepared() [all …]
|
| H A D | clk-frac-pll.c | 7 * Documentation for this fractional pll can be found at: 44 static int clk_wait_lock(struct clk_frac_pll *pll) in clk_wait_lock() argument 48 return readl_poll_timeout(pll->base, val, val & PLL_LOCK_STATUS, 0, in clk_wait_lock() 52 static int clk_wait_ack(struct clk_frac_pll *pll) in clk_wait_ack() argument 56 /* return directly if the pll is in powerdown or in bypass */ in clk_wait_ack() 57 if (readl_relaxed(pll->base) & (PLL_PD_MASK | PLL_BYPASS_MASK)) in clk_wait_ack() 60 /* Wait for the pll's divfi and divff to be reloaded */ in clk_wait_ack() 61 return readl_poll_timeout(pll->base, val, val & PLL_NEWDIV_ACK, 0, in clk_wait_ack() 67 struct clk_frac_pll *pll = to_clk_frac_pll(hw); in clk_pll_prepare() local 70 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_prepare() [all …]
|
| /linux/drivers/clk/qcom/ |
| H A D | clk-pll.c | 17 #include "clk-pll.h" 26 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_enable() local 31 ret = regmap_read(pll->clkr.regmap, pll->mode_reg, &val); in clk_pll_enable() 39 /* Disable PLL bypass mode. */ in clk_pll_enable() 40 ret = regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_BYPASSNL, in clk_pll_enable() 51 /* De-assert active-low PLL reset. */ in clk_pll_enable() 52 ret = regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_RESET_N, in clk_pll_enable() 57 /* Wait until PLL is locked. */ in clk_pll_enable() 60 /* Enable PLL output. */ in clk_pll_enable() 61 return regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_OUTCTRL, in clk_pll_enable() [all …]
|
| /linux/drivers/clk/bcm/ |
| H A D | clk-iproc-pll.c | 19 * PLL MACRO_SELECT modes 0 to 5 choose pre-calculated PLL output frequencies 20 * from a look-up table. Mode 7 allows user to manipulate PLL clock dividers 24 /* number of delay loops waiting for PLL to lock */ 75 struct iproc_pll *pll; member 118 static int pll_get_rate_index(struct iproc_pll *pll, unsigned int target_rate) in pll_get_rate_index() argument 122 for (i = 0; i < pll->num_vco_entries; i++) in pll_get_rate_index() 123 if (target_rate == pll->vco_param[i].rate) in pll_get_rate_index() 126 if (i >= pll->num_vco_entries) in pll_get_rate_index() 147 static int pll_wait_for_lock(struct iproc_pll *pll) in pll_wait_for_lock() argument 150 const struct iproc_pll_ctrl *ctrl = pll->ctrl; in pll_wait_for_lock() [all …]
|
| H A D | clk-iproc-armpll.c | 66 static unsigned int __get_fid(struct iproc_arm_pll *pll) in __get_fid() argument 71 val = readl(pll->base + IPROC_CLK_ARM_DIV_OFFSET); in __get_fid() 80 val = readl(pll->base + IPROC_CLK_POLICY_FREQ_OFFSET); in __get_fid() 84 val = readl(pll->base + IPROC_CLK_POLICY_DBG_OFFSET); in __get_fid() 103 * - PLL channel 0 (slow clock) 104 * - PLL channel 1 (fast clock) 106 static int __get_mdiv(struct iproc_arm_pll *pll) in __get_mdiv() argument 112 fid = __get_fid(pll); in __get_mdiv() 121 val = readl(pll->base + IPROC_CLK_PLLARMC_OFFSET); in __get_mdiv() 128 val = readl(pll->base + IPROC_CLK_PLLARMCTL5_OFFSET); in __get_mdiv() [all …]
|
| /linux/drivers/clk/rockchip/ |
| H A D | clk-pll.c | 51 struct rockchip_clk_pll *pll, unsigned long rate) in rockchip_get_pll_settings() argument 53 const struct rockchip_pll_rate_table *rate_table = pll->rate_table; in rockchip_get_pll_settings() 56 for (i = 0; i < pll->rate_count; i++) { in rockchip_get_pll_settings() 67 struct rockchip_clk_pll *pll = to_rockchip_clk_pll(hw); in rockchip_pll_determine_rate() local 68 const struct rockchip_pll_rate_table *rate_table = pll->rate_table; in rockchip_pll_determine_rate() 72 for (i = 0; i < pll->rate_count; i++) { in rockchip_pll_determine_rate() 87 * Wait for the pll to reach the locked state. 91 static int rockchip_pll_wait_lock(struct rockchip_clk_pll *pll) in rockchip_pll_wait_lock() argument 93 struct regmap *grf = pll->ctx->grf; in rockchip_pll_wait_lock() 97 ret = regmap_read_poll_timeout(grf, pll->lock_offset, val, in rockchip_pll_wait_lock() [all …]
|
| /linux/drivers/video/fbdev/aty/ |
| H A D | mach64_ct.c | 18 static int aty_valid_pll_ct (const struct fb_info *info, u32 vclk_per, struct pll_ct *pll); 19 static int aty_dsp_gt (const struct fb_info *info, u32 bpp, struct pll_ct *pll); 20 static int aty_var_to_pll_ct(const struct fb_info *info, u32 vclk_per, u32 bpp, union aty_pll *pll); 21 static u32 aty_pll_to_var_ct(const struct fb_info *info, const union aty_pll *pll); 103 * PLL programming (Mach64 CT family) 118 static int aty_dsp_gt(const struct fb_info *info, u32 bpp, struct pll_ct *pll) in aty_dsp_gt() argument 125 multiplier = ((u32)pll->mclk_fb_div) * pll->vclk_post_div_real; in aty_dsp_gt() 126 divider = ((u32)pll->vclk_fb_div) * pll->xclk_ref_div; in aty_dsp_gt() 128 ras_multiplier = pll->xclkmaxrasdelay; in aty_dsp_gt() 134 vshift = (6 - 2) - pll->xclk_post_div; /* FIFO is 64 bits wide in accelerator mode ... */ in aty_dsp_gt() [all …]
|
| /linux/drivers/clk/at91/ |
| H A D | clk-pll.c | 57 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_prepare() local 58 struct regmap *regmap = pll->regmap; in clk_pll_prepare() 59 const struct clk_pll_layout *layout = pll->layout; in clk_pll_prepare() 61 pll->characteristics; in clk_pll_prepare() 62 u8 id = pll->id; in clk_pll_prepare() 77 (div == pll->div && mul == pll->mul)) in clk_pll_prepare() 81 out = characteristics->out[pll->range]; in clk_pll_prepare() 85 characteristics->icpll[pll->range] << PLL_ICPR_SHIFT(id)); in clk_pll_prepare() 88 pll->div | (PLL_MAX_COUNT << PLL_COUNT_SHIFT) | in clk_pll_prepare() 90 ((pll->mul & layout->mul_mask) << layout->mul_shift)); in clk_pll_prepare() [all …]
|
| /linux/drivers/clk/sophgo/ |
| H A D | clk-cv18xx-pll.c | 11 #include "clk-cv18xx-pll.h" 36 struct cv1800_clk_pll *pll = hw_to_cv1800_clk_pll(hw); in ipll_recalc_rate() local 39 value = readl(pll->common.base + pll->pll_reg); in ipll_recalc_rate() 91 struct cv1800_clk_pll *pll = hw_to_cv1800_clk_pll(hw); in ipll_determine_rate() local 93 return ipll_find_rate(pll->pll_limit, req->best_parent_rate, in ipll_determine_rate() 135 struct cv1800_clk_pll *pll = hw_to_cv1800_clk_pll(hw); in ipll_set_rate() local 137 ipll_find_rate(pll->pll_limit, parent_rate, &rate, &detected); in ipll_set_rate() 140 pll->pll_limit, &detected); in ipll_set_rate() 142 spin_lock_irqsave(pll->common.lock, flags); in ipll_set_rate() 144 regval = readl(pll->common.base + pll->pll_reg); in ipll_set_rate() [all …]
|
| H A D | clk-sg2044-pll.c | 3 * Sophgo SG2044 PLL clock controller driver 22 #include <dt-bindings/clock/sophgo,sg2044-pll.h> 85 struct sg2044_pll_internal pll; member 90 struct sg2044_clk_common * const *pll; member 142 struct sg2044_pll *pll = hw_to_sg2044_pll(hw); in sg2044_pll_recalc_rate() local 146 ret = regmap_read(pll->common.regmap, in sg2044_pll_recalc_rate() 147 pll->syscon_offset + pll->pll.ctrl_offset + PLL_HIGH_CTRL_OFFSET, in sg2044_pll_recalc_rate() 263 struct sg2044_pll *pll = hw_to_sg2044_pll(hw); in sg2044_pll_determine_rate() local 268 target = clamp(req->rate, pll->pll.limits[PLL_LIMIT_FOUT].min, in sg2044_pll_determine_rate() 269 pll->pll.limits[PLL_LIMIT_FOUT].max); in sg2044_pll_determine_rate() [all …]
|
| /linux/drivers/clk/pistachio/ |
| H A D | clk-pll.c | 65 /* Fractional PLL operating modes */ 78 static inline u32 pll_readl(struct pistachio_clk_pll *pll, u32 reg) in pll_readl() argument 80 return readl(pll->base + reg); in pll_readl() 83 static inline void pll_writel(struct pistachio_clk_pll *pll, u32 val, u32 reg) in pll_writel() argument 85 writel(val, pll->base + reg); in pll_writel() 88 static inline void pll_lock(struct pistachio_clk_pll *pll) in pll_lock() argument 90 while (!(pll_readl(pll, PLL_STATUS) & PLL_STATUS_LOCK)) in pll_lock() 107 struct pistachio_clk_pll *pll = to_pistachio_pll(hw); in pll_frac_get_mode() local 110 val = pll_readl(pll, PLL_CTRL3) & PLL_FRAC_CTRL3_DSMPD; in pll_frac_get_mode() 116 struct pistachio_clk_pll *pll = to_pistachio_pll(hw); in pll_frac_set_mode() local [all …]
|
| /linux/arch/mips/ath79/ |
| H A D | clock.c | 99 u32 pll; in ar71xx_clocks_init() local 105 pll = __raw_readl(pll_base + AR71XX_PLL_REG_CPU_CONFIG); in ar71xx_clocks_init() 107 div = ((pll >> AR71XX_PLL_FB_SHIFT) & AR71XX_PLL_FB_MASK) + 1; in ar71xx_clocks_init() 110 div = ((pll >> AR71XX_CPU_DIV_SHIFT) & AR71XX_CPU_DIV_MASK) + 1; in ar71xx_clocks_init() 113 div = ((pll >> AR71XX_DDR_DIV_SHIFT) & AR71XX_DDR_DIV_MASK) + 1; in ar71xx_clocks_init() 116 div = (((pll >> AR71XX_AHB_DIV_SHIFT) & AR71XX_AHB_DIV_MASK) + 1) * 2; in ar71xx_clocks_init() 127 u32 pll; in ar724x_clocks_init() local 131 pll = __raw_readl(pll_base + AR724X_PLL_REG_CPU_CONFIG); in ar724x_clocks_init() 133 mult = ((pll >> AR724X_PLL_FB_SHIFT) & AR724X_PLL_FB_MASK); in ar724x_clocks_init() 134 div = ((pll >> AR724X_PLL_REF_DIV_SHIFT) & AR724X_PLL_REF_DIV_MASK) * 2; in ar724x_clocks_init() [all …]
|
| /linux/drivers/gpu/drm/omapdrm/dss/ |
| H A D | hdmi_pll.c | 3 * HDMI PLL 23 void hdmi_pll_dump(struct hdmi_pll_data *pll, struct seq_file *s) in hdmi_pll_dump() argument 26 hdmi_read_reg(pll->base, r)) in hdmi_pll_dump() 41 struct hdmi_pll_data *pll = container_of(dsspll, struct hdmi_pll_data, pll); in hdmi_pll_enable() local 42 struct hdmi_wp_data *wp = pll->wp; in hdmi_pll_enable() 45 r = pm_runtime_get_sync(&pll->pdev->dev); in hdmi_pll_enable() 59 struct hdmi_pll_data *pll = container_of(dsspll, struct hdmi_pll_data, pll); in hdmi_pll_disable() local 60 struct hdmi_wp_data *wp = pll->wp; in hdmi_pll_disable() 67 r = pm_runtime_put_sync(&pll->pdev->dev); in hdmi_pll_disable() 132 struct dss_pll *pll = &hpll->pll; in hdmi_init_pll_data() local [all …]
|
| H A D | video-pll.c | 18 struct dss_pll pll; member 43 * DRA7x PLL CTRL's PLL_PWR_STATUS seems to always return 0, in dss_dpll_power_enable() 54 static int dss_video_pll_enable(struct dss_pll *pll) in dss_video_pll_enable() argument 56 struct dss_video_pll *vpll = container_of(pll, struct dss_video_pll, pll); in dss_video_pll_enable() 59 r = dss_runtime_get(pll->dss); in dss_video_pll_enable() 63 dss_ctrl_pll_enable(pll, true); in dss_video_pll_enable() 67 r = dss_pll_wait_reset_done(pll); in dss_video_pll_enable() 77 dss_ctrl_pll_enable(pll, false); in dss_video_pll_enable() 78 dss_runtime_put(pll->dss); in dss_video_pll_enable() 83 static void dss_video_pll_disable(struct dss_pll *pll) in dss_video_pll_disable() argument [all …]
|
| /linux/drivers/clk/mmp/ |
| H A D | clk-pll.c | 3 * MMP PLL clock rate calculation 31 struct mmp_clk_pll *pll = to_clk_mmp_pll(hw); in mmp_clk_pll_is_enabled() local 34 val = readl_relaxed(pll->enable_reg); in mmp_clk_pll_is_enabled() 35 if ((val & pll->enable) == pll->enable) in mmp_clk_pll_is_enabled() 39 if (pll->default_rate > 0) in mmp_clk_pll_is_enabled() 48 struct mmp_clk_pll *pll = to_clk_mmp_pll(hw); in mmp_clk_pll_recalc_rate() local 53 val = readl_relaxed(pll->enable_reg); in mmp_clk_pll_recalc_rate() 54 if ((val & pll->enable) != pll->enable) in mmp_clk_pll_recalc_rate() 55 return pll->default_rate; in mmp_clk_pll_recalc_rate() 57 if (pll->reg) { in mmp_clk_pll_recalc_rate() [all …]
|
| /linux/drivers/clk/mxs/ |
| H A D | clk-pll.c | 14 * struct clk_pll - mxs pll clock 15 * @hw: clk_hw for the pll 16 * @base: base address of the pll 18 * @rate: the clock rate of the pll 20 * The mxs pll is a fixed rate clock with power and gate control, 34 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_prepare() local 36 writel_relaxed(1 << pll->power, pll->base + SET); in clk_pll_prepare() 45 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_unprepare() local 47 writel_relaxed(1 << pll->power, pll->base + CLR); in clk_pll_unprepare() 52 struct clk_pll *pll = to_clk_pll(hw); in clk_pll_enable() local [all …]
|
| /linux/drivers/clk/st/ |
| H A D | clkgen-pll.c | 24 * PLL configuration register bits for PLL3200 C32 35 * PLL configuration register bits for PLL4600 C28 93 { .name = "clk-s-a0-pll-odf-0", }, 154 { .name = "clockgen-a9-pll-odf", }, 179 { .name = "clockgen-a9-pll-odf", }, 188 * DOC: Clock Generated by PLL, rate set and enabled by bootloader 198 * PLL clock that is integrated in the ClockGenA instances on the STiH415 202 * @regs_base: base of the PLL configuration register(s). 230 struct clkgen_pll *pll = to_clkgen_pll(hw); in clkgen_pll_is_locked() local 231 u32 locked = CLKGEN_READ(pll, locked_status); in clkgen_pll_is_locked() [all …]
|
| /linux/drivers/gpu/drm/sprd/ |
| H A D | megacores_pll.c | 30 static int dphy_calc_pll_param(struct dphy_pll *pll) in dphy_calc_pll_param() argument 38 pll->potential_fvco = pll->freq / khz; in dphy_calc_pll_param() 39 pll->ref_clk = PHY_REF_CLK / khz; in dphy_calc_pll_param() 42 if (pll->potential_fvco >= VCO_BAND_LOW && in dphy_calc_pll_param() 43 pll->potential_fvco <= VCO_BAND_HIGH) { in dphy_calc_pll_param() 44 pll->fvco = pll->potential_fvco; in dphy_calc_pll_param() 45 pll->out_sel = BIT(i); in dphy_calc_pll_param() 48 pll->potential_fvco <<= 1; in dphy_calc_pll_param() 50 if (pll->fvco == 0) in dphy_calc_pll_param() 53 if (pll->fvco >= VCO_BAND_LOW && pll->fvco <= VCO_BAND_MID) { in dphy_calc_pll_param() [all …]
|
| /linux/drivers/clk/x86/ |
| H A D | clk-cgu-pll.c | 42 struct lgm_clk_pll *pll = to_lgm_clk_pll(hw); in lgm_pll_recalc_rate() local 45 mult = lgm_get_clk_val(pll->membase, PLL_REF_DIV(pll->reg), 0, 12); in lgm_pll_recalc_rate() 46 div = lgm_get_clk_val(pll->membase, PLL_REF_DIV(pll->reg), 18, 6); in lgm_pll_recalc_rate() 47 frac = lgm_get_clk_val(pll->membase, pll->reg, 2, 24); in lgm_pll_recalc_rate() 49 if (pll->type == TYPE_LJPLL) in lgm_pll_recalc_rate() 57 struct lgm_clk_pll *pll = to_lgm_clk_pll(hw); in lgm_pll_is_enabled() local 60 ret = lgm_get_clk_val(pll->membase, pll->reg, 0, 1); in lgm_pll_is_enabled() 67 struct lgm_clk_pll *pll = to_lgm_clk_pll(hw); in lgm_pll_enable() local 71 lgm_set_clk_val(pll->membase, pll->reg, 0, 1, 1); in lgm_pll_enable() 72 ret = regmap_read_poll_timeout_atomic(pll->membase, pll->reg, in lgm_pll_enable() [all …]
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | hdmi_pll.c | 3 * HDMI PLL 23 void hdmi_pll_dump(struct hdmi_pll_data *pll, struct seq_file *s) in hdmi_pll_dump() argument 26 hdmi_read_reg(pll->base, r)) in hdmi_pll_dump() 39 void hdmi_pll_compute(struct hdmi_pll_data *pll, in hdmi_pll_compute() argument 47 const struct dss_pll_hw *hw = pll->pll.hw; in hdmi_pll_compute() 49 clkin = clk_get_rate(pll->pll.clkin); in hdmi_pll_compute() 101 struct hdmi_pll_data *pll = container_of(dsspll, struct hdmi_pll_data, pll); in hdmi_pll_enable() local 102 struct hdmi_wp_data *wp = pll->wp; in hdmi_pll_enable() 111 struct hdmi_pll_data *pll = container_of(dsspll, struct hdmi_pll_data, pll); in hdmi_pll_disable() local 112 struct hdmi_wp_data *wp = pll->wp; in hdmi_pll_disable() [all …]
|
| H A D | video-pll.c | 20 struct dss_pll pll; member 45 * DRA7x PLL CTRL's PLL_PWR_STATUS seems to always return 0, in dss_dpll_power_enable() 56 static int dss_video_pll_enable(struct dss_pll *pll) in dss_video_pll_enable() argument 58 struct dss_video_pll *vpll = container_of(pll, struct dss_video_pll, pll); in dss_video_pll_enable() 65 dss_ctrl_pll_enable(pll->id, true); in dss_video_pll_enable() 69 r = dss_pll_wait_reset_done(pll); in dss_video_pll_enable() 79 dss_ctrl_pll_enable(pll->id, false); in dss_video_pll_enable() 85 static void dss_video_pll_disable(struct dss_pll *pll) in dss_video_pll_disable() argument 87 struct dss_video_pll *vpll = container_of(pll, struct dss_video_pll, pll); in dss_video_pll_disable() 93 dss_ctrl_pll_enable(pll->id, false); in dss_video_pll_disable() [all …]
|