/linux/drivers/clk/nuvoton/ |
H A D | clk-ma35d1-pll.c | 85 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 D | meson_vclk.c | 363 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 D | clk-vt8500.c | 641 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 D | dsi_phy_7nm.c | 113 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 D | dsi_phy_10nm.c | 117 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 D | odroid.c | 60 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 D | ice_ptp_consts.h | 340 /* pll_freq */ 350 /* pll_freq */ 360 /* pll_freq */ 370 /* pll_freq */ 380 /* pll_freq */ 390 /* pll_freq */
|
H A D | ice_ptp_hw.h | 81 * @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 D | adau17x1.h | 37 unsigned int pll_freq; member
|
H A D | adau17x1.c | 378 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 D | ene_ir.c | 100 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 D | ene_ir.h | 196 int pll_freq; member
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_fdi.c | 274 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 D | intel_display_core.h | 392 unsigned int pll_freq; member
|
/linux/include/video/ |
H A D | tgafb.h | 216 u32 pll_freq; /* pixclock in mhz */ member
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | fsl,qoriq-clock.yaml | 93 that means output_freq=PLL_freq/2.
|
/linux/drivers/mfd/ |
H A D | db8500-prcmu.c | 1831 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 D | tgafb.c | 249 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 D | cx25840-core.c | 3533 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()
|