Home
last modified time | relevance | path

Searched refs:kdiv (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/samsung/
Dclk-pll.c287 s16 kdiv; in samsung_pll36xx_recalc_rate() local
295 kdiv = (s16)(pll_con1 & PLL36XX_KDIV_MASK); in samsung_pll36xx_recalc_rate()
297 fvco *= (mdiv << 16) + kdiv; in samsung_pll36xx_recalc_rate()
314 rate->kdiv != old_kdiv); in samsung_pll36xx_mpk_change()
356 pll_con1 |= rate->kdiv << PLL36XX_KDIV_SHIFT; in samsung_pll36xx_set_rate()
551 u32 mdiv, pdiv, sdiv, kdiv, pll_con0, pll_con1, shift; in samsung_pll46xx_recalc_rate() local
560 kdiv = pll->type == pll_4650c ? pll_con1 & PLL4650C_KDIV_MASK : in samsung_pll46xx_recalc_rate()
565 fvco *= (mdiv << shift) + kdiv; in samsung_pll46xx_recalc_rate()
582 || old_kdiv != rate->kdiv); in samsung_pll46xx_mpk_change()
641 con1 |= (rate->kdiv << PLL46XX_KDIV_SHIFT) | in samsung_pll46xx_set_rate()
[all …]
Dclk-pll.h80 .kdiv = (_k), \
100 .kdiv = (_k), \
111 .kdiv = (_k), \
124 unsigned int kdiv; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_dpll_mgr.c1394 u32 kdiv; member
1437 params->kdiv = 0; in skl_wrpll_params_populate()
1440 params->kdiv = 1; in skl_wrpll_params_populate()
1443 params->kdiv = 2; in skl_wrpll_params_populate()
1446 params->kdiv = 3; in skl_wrpll_params_populate()
1566 DPLL_CFGCR2_KDIV(wrpll_params.kdiv) | in skl_ddi_hdmi_pll_dividers()
2459 int *qdiv, int *kdiv) in cnl_wrpll_get_multipliers() argument
2466 *kdiv = 1; in cnl_wrpll_get_multipliers()
2470 *kdiv = 2; in cnl_wrpll_get_multipliers()
2474 *kdiv = 2; in cnl_wrpll_get_multipliers()
[all …]
/kernel/linux/linux-5.10/drivers/clk/imx/
Dclk-pll14xx.c141 short int kdiv; in clk_pll1443x_recalc_rate() local
149 kdiv = pll_div_ctl1 & KDIV_MASK; in clk_pll1443x_recalc_rate()
152 fvco *= (mdiv * 65536 + kdiv); in clk_pll1443x_recalc_rate()
267 tmp = rate->kdiv << KDIV_SHIFT; in clk_pll1443x_set_rate()
285 writel_relaxed(rate->kdiv << KDIV_SHIFT, pll->base + 0x8); in clk_pll1443x_set_rate()
Dclk.h53 unsigned int kdiv; member
193 .kdiv = (_k), \
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0015_linux_drivers_clk.patch1059 + u32 mdiv, pdiv, sdiv, kdiv;
1067 + kdiv = (pll_div_ctrl1 & KDIV_MASK);
1070 + mdiv, pdiv, sdiv, kdiv);
2940 short int kdiv;
2949 kdiv = pll_div_ctl1 & KDIV_MASK;
2959 + rate_table[i].sdiv == sdiv && rate_table[i].kdiv == kdiv)
2964 fvco *= (mdiv * 65536 + kdiv);
4058 .kdiv = (_k), \