Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/analogbits/
H A Dwrpll-cln28hpc.c148 static u8 __wrpll_calc_divq(u32 target_rate, u64 *vco_rate) in __wrpll_calc_divq() argument
153 if (!vco_rate) { in __wrpll_calc_divq()
161 *vco_rate = MAX_VCO_FREQ; in __wrpll_calc_divq()
164 *vco_rate = MIN_VCO_FREQ; in __wrpll_calc_divq()
167 *vco_rate = (u64)target_rate << divq; in __wrpll_calc_divq()
/openbmc/u-boot/drivers/clk/sifive/
H A Dwrpll-cln28hpc.c157 static u8 __wrpll_calc_divq(u32 target_rate, u64 *vco_rate) in __wrpll_calc_divq() argument
162 if (!vco_rate) { in __wrpll_calc_divq()
170 *vco_rate = MAX_VCO_FREQ; in __wrpll_calc_divq()
173 *vco_rate = MIN_VCO_FREQ; in __wrpll_calc_divq()
176 *vco_rate = target_rate << divq; in __wrpll_calc_divq()
/openbmc/linux/drivers/gpu/drm/msm/dsi/phy/
H A Ddsi_phy_28nm.c44 unsigned long vco_rate; member
63 unsigned long vco_rate; member
135 if (rate <= lpfr_lut[i].vco_rate) in dsi_pll_28nm_clk_set_rate()
248 unsigned long vco_rate; in dsi_pll_28nm_clk_recalc_rate() local
264 vco_rate = ref_clk * sdm_byp_div; in dsi_pll_28nm_clk_recalc_rate()
278 vco_rate = (ref_clk * (sdm_dc_off + 1)) + in dsi_pll_28nm_clk_recalc_rate()
280 DBG("vco rate = %lu", vco_rate); in dsi_pll_28nm_clk_recalc_rate()
283 DBG("returning vco rate = %lu", vco_rate); in dsi_pll_28nm_clk_recalc_rate()
285 return vco_rate; in dsi_pll_28nm_clk_recalc_rate()
570 cached_state->vco_rate = 0; in dsi_28nm_pll_save_state()
[all …]
H A Ddsi_phy_28nm_8960.c49 unsigned long vco_rate; member
147 unsigned long vco_rate; in dsi_pll_28nm_clk_recalc_rate() local
166 vco_rate = (parent_rate / ref_divider) * fb_divider * 2; in dsi_pll_28nm_clk_recalc_rate()
168 vco_rate = 0; in dsi_pll_28nm_clk_recalc_rate()
171 DBG("returning vco rate = %lu", vco_rate); in dsi_pll_28nm_clk_recalc_rate()
173 return vco_rate; in dsi_pll_28nm_clk_recalc_rate()
356 cached_state->vco_rate = clk_hw_get_rate(phy->vco_hw); in dsi_28nm_pll_save_state()
367 cached_state->vco_rate, 0); in dsi_28nm_pll_restore_state()
H A Ddsi_phy_14nm.c66 unsigned long vco_rate; member
495 u64 vco_rate, multiplier = BIT(20); in dsi_pll_14nm_vco_recalc_rate() local
514 vco_rate = ref_clk * dec_start; in dsi_pll_14nm_vco_recalc_rate()
516 vco_rate += ((ref_clk * div_frac_start) / multiplier); in dsi_pll_14nm_vco_recalc_rate()
523 vco_rate = DIV_ROUND_UP_ULL(vco_rate, 1000) * 1000; in dsi_pll_14nm_vco_recalc_rate()
525 DBG("returning vco rate = %lu", (unsigned long)vco_rate); in dsi_pll_14nm_vco_recalc_rate()
527 return (unsigned long)vco_rate; in dsi_pll_14nm_vco_recalc_rate()
702 cached_state->vco_rate = clk_hw_get_rate(phy->vco_hw); in dsi_14nm_pll_save_state()
714 cached_state->vco_rate, 0); in dsi_14nm_pll_restore_state()
H A Ddsi_phy_10nm.c62 unsigned long vco_rate; member
426 u64 vco_rate = 0x0; in dsi_pll_10nm_vco_recalc_rate() local
450 vco_rate = pll_freq; in dsi_pll_10nm_vco_recalc_rate()
451 pll_10nm->vco_current_rate = vco_rate; in dsi_pll_10nm_vco_recalc_rate()
454 pll_10nm->phy->id, (unsigned long)vco_rate, dec, frac); in dsi_pll_10nm_vco_recalc_rate()
456 return (unsigned long)vco_rate; in dsi_pll_10nm_vco_recalc_rate()
H A Ddsi_phy_7nm.c69 unsigned long vco_rate; member
485 u64 vco_rate = 0x0; in dsi_pll_7nm_vco_recalc_rate() local
509 vco_rate = pll_freq; in dsi_pll_7nm_vco_recalc_rate()
510 pll_7nm->vco_current_rate = vco_rate; in dsi_pll_7nm_vco_recalc_rate()
513 pll_7nm->phy->id, (unsigned long)vco_rate, dec, frac); in dsi_pll_7nm_vco_recalc_rate()
515 return (unsigned long)vco_rate; in dsi_pll_7nm_vco_recalc_rate()
/openbmc/linux/drivers/clk/
H A Dclk-lmk04832.c263 unsigned int vco_rate; member
409 return vco_rate; in lmk04832_vco_recalc_rate()
499 long vco_rate; in lmk04832_vco_round_rate() local
507 if (vco_rate < 0) { in lmk04832_vco_round_rate()
509 return vco_rate; in lmk04832_vco_round_rate()
512 if (rate != vco_rate) in lmk04832_vco_round_rate()
515 return vco_rate; in lmk04832_vco_round_rate()
523 long vco_rate; in lmk04832_vco_set_rate() local
538 if (vco_rate < 0) { in lmk04832_vco_set_rate()
540 return vco_rate; in lmk04832_vco_set_rate()
[all …]
/openbmc/linux/sound/soc/bcm/
H A Dcygnus-ssp.h117 unsigned long vco_rate; member