Home
last modified time | relevance | path

Searched full:pll_freq (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/clk/nuvoton/
H A Dclk-ma35d1-pll.c85 u64 pll_freq; in ma35d1_calc_smic_pll_freq() local
94 pll_freq = (u64)parent_rate * n; in ma35d1_calc_smic_pll_freq()
95 div_u64(pll_freq, m * outdiv); in ma35d1_calc_smic_pll_freq()
96 return pll_freq; in ma35d1_calc_smic_pll_freq()
101 unsigned long pll_freq, x; in ma35d1_calc_pll_freq() local
112 pll_freq = (u64)parent_rate * n; in ma35d1_calc_pll_freq()
113 div_u64(pll_freq, m * p); in ma35d1_calc_pll_freq()
118 pll_freq = div_u64(parent_rate * n, 100 * m * p); in ma35d1_calc_pll_freq()
120 return pll_freq; in ma35d1_calc_pll_freq()
190 unsigned long pll_freq; in ma35d1_clk_pll_set_rate() local
[all …]
/linux/drivers/gpu/drm/meson/
H A Dmeson_vclk.c363 unsigned int pll_freq; member
375 .pll_freq = 4320000,
387 .pll_freq = 4320000,
399 .pll_freq = 2970000,
411 .pll_freq = 2970000,
423 .pll_freq = 2970000,
435 .pll_freq = 5940000,
447 .pll_freq = 5940000,
459 .pll_freq = 5940000,
623 unsigned int pll_freq) in meson_hdmi_pll_get_m() argument
[all …]
/linux/drivers/clk/
H A Dclk-vt8500.c641 unsigned long pll_freq; in vtwm_pll_recalc_rate() local
645 pll_freq = parent_rate * VT8500_PLL_MUL(pll_val); in vtwm_pll_recalc_rate()
646 pll_freq /= VT8500_PLL_DIV(pll_val); in vtwm_pll_recalc_rate()
649 pll_freq = parent_rate * WM8650_PLL_MUL(pll_val); in vtwm_pll_recalc_rate()
650 pll_freq /= WM8650_PLL_DIV(pll_val); in vtwm_pll_recalc_rate()
653 pll_freq = parent_rate * WM8750_PLL_MUL(pll_val); in vtwm_pll_recalc_rate()
654 pll_freq /= WM8750_PLL_DIV(pll_val); in vtwm_pll_recalc_rate()
657 pll_freq = parent_rate * WM8850_PLL_MUL(pll_val); in vtwm_pll_recalc_rate()
658 pll_freq /= WM8850_PLL_DIV(pll_val); in vtwm_pll_recalc_rate()
661 pll_freq = 0; in vtwm_pll_recalc_rate()
[all …]
/linux/drivers/gpu/drm/msm/dsi/phy/
H A Ddsi_phy_7nm.c113 u64 pll_freq; in dsi_pll_calc_dec_frac() local
119 pll_freq = pll->vco_current_rate; in dsi_pll_calc_dec_frac()
124 dec_multiple = div_u64(pll_freq * multiplier, divider); in dsi_pll_calc_dec_frac()
130 if (pll_freq <= 1300000000ULL) in dsi_pll_calc_dec_frac()
132 else if (pll_freq <= 2500000000ULL) in dsi_pll_calc_dec_frac()
134 else if (pll_freq <= 4000000000ULL) in dsi_pll_calc_dec_frac()
139 if (pll_freq <= 1000000000ULL) in dsi_pll_calc_dec_frac()
141 else if (pll_freq <= 2500000000ULL) in dsi_pll_calc_dec_frac()
143 else if (pll_freq <= 3020000000ULL) in dsi_pll_calc_dec_frac()
149 if (pll_freq <= 1000000000ULL) in dsi_pll_calc_dec_frac()
[all …]
H A Ddsi_phy_10nm.c117 u64 pll_freq; in dsi_pll_calc_dec_frac() local
123 pll_freq = pll->vco_current_rate; in dsi_pll_calc_dec_frac()
128 dec_multiple = div_u64(pll_freq * multiplier, divider); in dsi_pll_calc_dec_frac()
131 if (pll_freq <= 1900000000UL) in dsi_pll_calc_dec_frac()
133 else if (pll_freq <= 3000000000UL) in dsi_pll_calc_dec_frac()
137 if (pll_freq < 1100000000UL) in dsi_pll_calc_dec_frac()
417 u64 pll_freq, tmp64; in dsi_pll_10nm_vco_recalc_rate() local
433 pll_freq = dec * (ref_clk * 2); in dsi_pll_10nm_vco_recalc_rate()
435 pll_freq += div_u64(tmp64, multiplier); in dsi_pll_10nm_vco_recalc_rate()
437 vco_rate = pll_freq; in dsi_pll_10nm_vco_recalc_rate()
/linux/sound/soc/samsung/
H A Dodroid.c60 unsigned int pll_freq, rclk_freq, rfs; in odroid_card_be_hw_params() local
66 pll_freq = 196608001U; in odroid_card_be_hw_params()
71 pll_freq = 180633609U; in odroid_card_be_hw_params()
77 pll_freq = 196608001U; in odroid_card_be_hw_params()
84 ret = clk_set_rate(priv->clk_i2s_bus, pll_freq / 2 + 1); in odroid_card_be_hw_params()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp_consts.h340 /* pll_freq */
350 /* pll_freq */
360 /* pll_freq */
370 /* pll_freq */
380 /* pll_freq */
390 /* pll_freq */
H A Dice_ptp_hw.h81 * @pll_freq: Frequency of PLL that drives timer ticks in Hz
89 u64 pll_freq; member
382 return e822_time_ref[time_ref].pll_freq; in ice_e82x_pll_freq()
/linux/sound/soc/codecs/
H A Dadau17x1.h37 unsigned int pll_freq; member
H A Dadau17x1.c378 adau->pll_freq = freq_out; in adau17x1_set_dai_pll()
484 freq = adau->pll_freq; in adau17x1_hw_params()
/linux/drivers/media/rc/
H A Dene_ir.c100 dev->pll_freq = (ene_read_reg(dev, ENE_PLLFRH) << 4) + in ene_hw_detect()
105 dev->pll_freq == ENE_DEFAULT_PLL_FREQ ? 2 : 4; in ene_hw_detect()
117 pr_notice("PLL freq = %d\n", dev->pll_freq); in ene_hw_detect()
394 dev->pll_freq == ENE_DEFAULT_PLL_FREQ ? 1 : 2; in ene_rx_setup()
H A Dene_ir.h196 int pll_freq; member
/linux/drivers/gpu/drm/i915/display/
H A Dintel_fdi.c274 i915->display.fdi.pll_freq = (fdi_pll_clk + 2) * 10000; in intel_fdi_pll_freq_update()
276 i915->display.fdi.pll_freq = 270000; in intel_fdi_pll_freq_update()
281 drm_dbg(&i915->drm, "FDI PLL freq=%d\n", i915->display.fdi.pll_freq); in intel_fdi_pll_freq_update()
290 return i915->display.fdi.pll_freq; in intel_fdi_link_freq()
H A Dintel_display_core.h392 unsigned int pll_freq; member
/linux/include/video/
H A Dtgafb.h216 u32 pll_freq; /* pixclock in mhz */ member
/linux/Documentation/devicetree/bindings/clock/
H A Dfsl,qoriq-clock.yaml93 that means output_freq=PLL_freq/2.
/linux/drivers/mfd/
H A Ddb8500-prcmu.c1831 u32 pll_freq = 0; in set_plldsi_rate() local
1853 if (pll_freq == 0) in set_plldsi_rate()
1854 pll_freq = (((u32)d << PRCM_PLL_FREQ_D_SHIFT) | in set_plldsi_rate()
1860 pll_freq = (((u32)d << PRCM_PLL_FREQ_D_SHIFT) | in set_plldsi_rate()
1864 if (pll_freq == 0) in set_plldsi_rate()
1867 pll_freq |= (1 << PRCM_PLL_FREQ_N_SHIFT); in set_plldsi_rate()
1868 writel(pll_freq, PRCM_PLLDSI_FREQ); in set_plldsi_rate()
/linux/drivers/video/fbdev/
H A Dtgafb.c249 u32 htimings, vtimings, pll_freq; local
277 par->pll_freq = pll_freq = 1000000000 / info->var.pixclock;
303 tgafb_set_pll(par, pll_freq);
/linux/drivers/media/i2c/cx25840/
H A Dcx25840-core.c3533 u64 pll_freq; in cx23885_dif_setup() local
3541 pll_freq = div_u64((u64)ifHz * 268435456, 50000000); in cx23885_dif_setup()
3542 pll_freq_word = (u32)pll_freq; in cx23885_dif_setup()