Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/clk/analogbits/
Dwrpll-cln28hpc.c144 static u8 __wrpll_calc_divq(u32 target_rate, u64 *vco_rate) in __wrpll_calc_divq() argument
149 if (!vco_rate) { in __wrpll_calc_divq()
157 *vco_rate = MAX_VCO_FREQ; in __wrpll_calc_divq()
160 *vco_rate = MIN_VCO_FREQ; in __wrpll_calc_divq()
163 *vco_rate = (u64)target_rate << divq; in __wrpll_calc_divq()
/Linux-v5.4/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll_28nm.c44 unsigned long vco_rate; member
63 unsigned long vco_rate; member
148 if (rate <= lpfr_lut[i].vco_rate) in dsi_pll_28nm_clk_set_rate()
261 unsigned long vco_rate; in dsi_pll_28nm_clk_recalc_rate() local
277 vco_rate = ref_clk * sdm_byp_div; in dsi_pll_28nm_clk_recalc_rate()
291 vco_rate = (ref_clk * (sdm_dc_off + 1)) + in dsi_pll_28nm_clk_recalc_rate()
293 DBG("vco rate = %lu", vco_rate); in dsi_pll_28nm_clk_recalc_rate()
296 DBG("returning vco rate = %lu", vco_rate); in dsi_pll_28nm_clk_recalc_rate()
298 return vco_rate; in dsi_pll_28nm_clk_recalc_rate()
450 cached_state->vco_rate = clk_hw_get_rate(&pll->clk_hw); in dsi_pll_28nm_save_state()
[all …]
Ddsi_pll_28nm_8960.c52 unsigned long vco_rate; member
166 unsigned long vco_rate; in dsi_pll_28nm_clk_recalc_rate() local
185 vco_rate = (parent_rate / ref_divider) * fb_divider * 2; in dsi_pll_28nm_clk_recalc_rate()
187 vco_rate = 0; in dsi_pll_28nm_clk_recalc_rate()
190 DBG("returning vco rate = %lu", vco_rate); in dsi_pll_28nm_clk_recalc_rate()
192 return vco_rate; in dsi_pll_28nm_clk_recalc_rate()
350 cached_state->vco_rate = clk_hw_get_rate(&pll->clk_hw); in dsi_pll_28nm_save_state()
361 cached_state->vco_rate, 0); in dsi_pll_28nm_restore_state()
Ddsi_pll_14nm.c112 unsigned long vco_rate; member
630 u64 vco_rate, multiplier = BIT(20); in dsi_pll_14nm_vco_recalc_rate() local
649 vco_rate = ref_clk * dec_start; in dsi_pll_14nm_vco_recalc_rate()
651 vco_rate += ((ref_clk * div_frac_start) / multiplier); in dsi_pll_14nm_vco_recalc_rate()
658 vco_rate = DIV_ROUND_UP_ULL(vco_rate, 1000) * 1000; in dsi_pll_14nm_vco_recalc_rate()
660 DBG("returning vco rate = %lu", (unsigned long)vco_rate); in dsi_pll_14nm_vco_recalc_rate()
662 return (unsigned long)vco_rate; in dsi_pll_14nm_vco_recalc_rate()
810 cached_state->vco_rate = clk_hw_get_rate(&pll->clk_hw); in dsi_pll_14nm_save_state()
822 cached_state->vco_rate, 0); in dsi_pll_14nm_restore_state()
Ddsi_pll_10nm.c80 unsigned long vco_rate; member
482 u64 vco_rate = 0x0; in dsi_pll_10nm_vco_recalc_rate() local
507 vco_rate = pll_freq; in dsi_pll_10nm_vco_recalc_rate()
510 pll_10nm->id, (unsigned long)vco_rate, dec, frac); in dsi_pll_10nm_vco_recalc_rate()
512 return (unsigned long)vco_rate; in dsi_pll_10nm_vco_recalc_rate()
/Linux-v5.4/sound/soc/bcm/
Dcygnus-ssp.h127 unsigned long vco_rate; member