vco_freq 97 drivers/clk/clk-highbank.c unsigned long divf, divq, vco_freq, reg; vco_freq 105 drivers/clk/clk-highbank.c vco_freq = parent_rate * (divf + 1); vco_freq 107 drivers/clk/clk-highbank.c return vco_freq / (1 << divq); vco_freq 114 drivers/clk/clk-highbank.c unsigned long vco_freq; vco_freq 126 drivers/clk/clk-highbank.c vco_freq = rate * (1 << divq); vco_freq 127 drivers/clk/clk-highbank.c divf = (vco_freq + (ref_freq / 2)) / ref_freq; vco_freq 39 drivers/clk/socfpga/clk-pll-a10.c unsigned long long vco_freq; vco_freq 45 drivers/clk/socfpga/clk-pll-a10.c vco_freq = (unsigned long long)parent_rate * (divf + 1); vco_freq 46 drivers/clk/socfpga/clk-pll-a10.c do_div(vco_freq, (1 + divq)); vco_freq 47 drivers/clk/socfpga/clk-pll-a10.c return (unsigned long)vco_freq; vco_freq 37 drivers/clk/socfpga/clk-pll-s10.c unsigned long long vco_freq; vco_freq 42 drivers/clk/socfpga/clk-pll-s10.c vco_freq = (unsigned long long)parent_rate / refdiv; vco_freq 47 drivers/clk/socfpga/clk-pll-s10.c vco_freq = (unsigned long long)vco_freq * (mdiv + 6); vco_freq 49 drivers/clk/socfpga/clk-pll-s10.c return (unsigned long)vco_freq; vco_freq 43 drivers/clk/socfpga/clk-pll.c unsigned long long vco_freq; vco_freq 53 drivers/clk/socfpga/clk-pll.c vco_freq = (unsigned long long)parent_rate * (divf + 1); vco_freq 54 drivers/clk/socfpga/clk-pll.c do_div(vco_freq, (1 + divq)); vco_freq 55 drivers/clk/socfpga/clk-pll.c return (unsigned long)vco_freq; vco_freq 5287 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 vco_freq = engine_clock * dividers.post_div; vco_freq 5290 drivers/gpu/drm/amd/amdgpu/si_dpm.c ASIC_INTERNAL_ENGINE_SS, vco_freq)) { vco_freq 243 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c pll_settings->vco_freq = vco_freq 110 drivers/gpu/drm/amd/display/dc/inc/clock_source.h uint32_t vco_freq; vco_freq 341 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t vco_freq = clock * dividers.uc_pll_post_div; vco_freq 344 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c vco_freq, &ss_info)) { vco_freq 904 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c uint32_t vco_freq = clock * dividers.uc_pll_post_div; vco_freq 906 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c vco_freq, &ssInfo)) { vco_freq 163 drivers/gpu/drm/i915/display/intel_display.c int hpll_freq, vco_freq[] = { 800, 1600, 2000, 2400 }; vco_freq 169 drivers/gpu/drm/i915/display/intel_display.c return vco_freq[hpll_freq] * 1000; vco_freq 74 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c u64 vco_freq; vco_freq 171 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c u64 vco_freq[60]; vco_freq 187 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c vco_freq[vco_freq_index++] = vco; vco_freq 192 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c u64 vco_tmp = vco_freq[i]; vco_freq 207 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c pd->vco_freq = vco_optimal; vco_freq 248 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c dec_start = pd.vco_freq; vco_freq 252 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c frac_start = pd.vco_freq * (1 << 20); vco_freq 265 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c fdata = pd.vco_freq; vco_freq 270 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c DBG("VCO freq: %llu", pd.vco_freq); vco_freq 3189 drivers/gpu/drm/radeon/ci_dpm.c u32 vco_freq = engine_clock * dividers.post_div; vco_freq 3192 drivers/gpu/drm/radeon/ci_dpm.c ASIC_INTERNAL_ENGINE_SS, vco_freq)) { vco_freq 556 drivers/gpu/drm/radeon/cypress_dpm.c u32 vco_freq = memory_clock * dividers.post_div; vco_freq 559 drivers/gpu/drm/radeon/cypress_dpm.c ASIC_INTERNAL_MEMORY_SS, vco_freq)) { vco_freq 2042 drivers/gpu/drm/radeon/ni_dpm.c u32 vco_freq = engine_clock * dividers.post_div; vco_freq 2045 drivers/gpu/drm/radeon/ni_dpm.c ASIC_INTERNAL_ENGINE_SS, vco_freq)) { vco_freq 2238 drivers/gpu/drm/radeon/ni_dpm.c u32 vco_freq = memory_clock * dividers.post_div; vco_freq 2241 drivers/gpu/drm/radeon/ni_dpm.c ASIC_INTERNAL_MEMORY_SS, vco_freq)) { vco_freq 276 drivers/gpu/drm/radeon/radeon.h uint32_t vco_freq; vco_freq 1133 drivers/gpu/drm/radeon/radeon_atombios.c rdev->clock.vco_freq = vco_freq 1290 drivers/gpu/drm/radeon/radeon_atombios.c rdev->clock.vco_freq = vco_freq 1293 drivers/gpu/drm/radeon/radeon_atombios.c rdev->clock.vco_freq = rdev->clock.current_dispclk; vco_freq 1297 drivers/gpu/drm/radeon/radeon_atombios.c rdev->clock.vco_freq = rdev->clock.current_dispclk; vco_freq 1299 drivers/gpu/drm/radeon/radeon_atombios.c if (rdev->clock.vco_freq == 0) vco_freq 1300 drivers/gpu/drm/radeon/radeon_atombios.c rdev->clock.vco_freq = 360000; /* 3.6 GHz */ vco_freq 749 drivers/gpu/drm/radeon/radeon_audio.c radeon_audio_set_dto(encoder, rdev->clock.vco_freq * 10); vco_freq 917 drivers/gpu/drm/radeon/radeon_uvd.c static unsigned radeon_uvd_calc_upll_post_div(unsigned vco_freq, vco_freq 922 drivers/gpu/drm/radeon/radeon_uvd.c unsigned post_div = vco_freq / target_freq; vco_freq 929 drivers/gpu/drm/radeon/radeon_uvd.c if ((vco_freq / post_div) > target_freq) vco_freq 969 drivers/gpu/drm/radeon/radeon_uvd.c unsigned vco_freq, ref_freq = rdev->clock.spll.reference_freq; vco_freq 976 drivers/gpu/drm/radeon/radeon_uvd.c for (vco_freq = vco_min; vco_freq <= vco_max; vco_freq += 100) { vco_freq 978 drivers/gpu/drm/radeon/radeon_uvd.c uint64_t fb_div = (uint64_t)vco_freq * fb_factor; vco_freq 990 drivers/gpu/drm/radeon/radeon_uvd.c vclk_div = radeon_uvd_calc_upll_post_div(vco_freq, vclk, vco_freq 996 drivers/gpu/drm/radeon/radeon_uvd.c dclk_div = radeon_uvd_calc_upll_post_div(vco_freq, dclk, vco_freq 1002 drivers/gpu/drm/radeon/radeon_uvd.c score = vclk - (vco_freq / vclk_div) + dclk - (vco_freq / dclk_div); vco_freq 533 drivers/gpu/drm/radeon/rv6xx_dpm.c static inline u32 rv6xx_calculate_spread_spectrum_clk_v(u32 vco_freq, u32 ref_freq, vco_freq 537 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 fb_divider = vco_freq / ref_freq; vco_freq 540 drivers/gpu/drm/radeon/rv6xx_dpm.c (5375 * ((vco_freq * 10) / (4096 >> fb_divider_scale)))); vco_freq 555 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 vco_freq, clk_v, clk_s; vco_freq 561 drivers/gpu/drm/radeon/rv6xx_dpm.c vco_freq = rv6xx_calculate_vco_frequency(ref_clk, ÷rs, vco_freq 565 drivers/gpu/drm/radeon/rv6xx_dpm.c ASIC_INTERNAL_ENGINE_SS, vco_freq)) { vco_freq 566 drivers/gpu/drm/radeon/rv6xx_dpm.c clk_v = rv6xx_calculate_spread_spectrum_clk_v(vco_freq, vco_freq 634 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 *vco_freq) vco_freq 645 drivers/gpu/drm/radeon/rv6xx_dpm.c if (vco_freq_temp > *vco_freq) { vco_freq 647 drivers/gpu/drm/radeon/rv6xx_dpm.c *vco_freq = vco_freq_temp; vco_freq 658 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 vco_freq = 0, clk_v, clk_s; vco_freq 667 drivers/gpu/drm/radeon/rv6xx_dpm.c &vco_freq); vco_freq 673 drivers/gpu/drm/radeon/rv6xx_dpm.c &vco_freq); vco_freq 679 drivers/gpu/drm/radeon/rv6xx_dpm.c &vco_freq); vco_freq 681 drivers/gpu/drm/radeon/rv6xx_dpm.c if (vco_freq) { vco_freq 683 drivers/gpu/drm/radeon/rv6xx_dpm.c ASIC_INTERNAL_MEMORY_SS, vco_freq)) { vco_freq 684 drivers/gpu/drm/radeon/rv6xx_dpm.c clk_v = rv6xx_calculate_spread_spectrum_clk_v(vco_freq, vco_freq 92 drivers/gpu/drm/radeon/rv730_dpm.c u32 vco_freq = engine_clock * post_divider; vco_freq 95 drivers/gpu/drm/radeon/rv730_dpm.c ASIC_INTERNAL_ENGINE_SS, vco_freq)) { vco_freq 167 drivers/gpu/drm/radeon/rv730_dpm.c u32 vco_freq = memory_clock * post_divider; vco_freq 170 drivers/gpu/drm/radeon/rv730_dpm.c ASIC_INTERNAL_MEMORY_SS, vco_freq)) { vco_freq 160 drivers/gpu/drm/radeon/rv740_dpm.c u32 vco_freq = engine_clock * dividers.post_div; vco_freq 163 drivers/gpu/drm/radeon/rv740_dpm.c ASIC_INTERNAL_ENGINE_SS, vco_freq)) { vco_freq 247 drivers/gpu/drm/radeon/rv740_dpm.c u32 vco_freq = memory_clock * dividers.post_div; vco_freq 250 drivers/gpu/drm/radeon/rv740_dpm.c ASIC_INTERNAL_MEMORY_SS, vco_freq)) { vco_freq 539 drivers/gpu/drm/radeon/rv770_dpm.c u32 vco_freq = engine_clock * post_divider; vco_freq 542 drivers/gpu/drm/radeon/rv770_dpm.c ASIC_INTERNAL_ENGINE_SS, vco_freq)) { vco_freq 4825 drivers/gpu/drm/radeon/si_dpm.c u32 vco_freq = engine_clock * dividers.post_div; vco_freq 4828 drivers/gpu/drm/radeon/si_dpm.c ASIC_INTERNAL_ENGINE_SS, vco_freq)) { vco_freq 276 drivers/iio/frequency/ad9523.c unsigned long vco_freq; vco_freq 864 drivers/iio/frequency/ad9523.c st->vco_freq = div_u64((unsigned long long)pdata->vcxo_freq * vco_freq 887 drivers/iio/frequency/ad9523.c st->vco_freq / pdata->pll2_vco_div_m1; vco_freq 891 drivers/iio/frequency/ad9523.c st->vco_freq / pdata->pll2_vco_div_m2; vco_freq 252 drivers/media/dvb-frontends/stv6110.c u32 divider, ref, p, presc, i, result_freq, vco_freq; vco_freq 329 drivers/media/dvb-frontends/stv6110.c vco_freq = divider * ((priv->mclk / 1000) / ((1 << (r_div_opt + 1)))); vco_freq 331 drivers/media/dvb-frontends/stv6110.c ret, result_freq, vco_freq); vco_freq 521 drivers/media/tuners/r820t.c u32 vco_freq; vco_freq 612 drivers/media/tuners/r820t.c vco_freq = freq * mix_div; vco_freq 613 drivers/media/tuners/r820t.c nint = vco_freq / (2 * pll_ref); vco_freq 614 drivers/media/tuners/r820t.c vco_fra = vco_freq - 2 * pll_ref * nint; vco_freq 2484 drivers/net/wireless/broadcom/b43/phy_lp.c u32 freqref, vco_freq, val1, val2, val3, timeout, timeoutref, count; vco_freq 2516 drivers/net/wireless/broadcom/b43/phy_lp.c vco_freq = chandata->freq << 1; vco_freq 2518 drivers/net/wireless/broadcom/b43/phy_lp.c vco_freq = chandata->freq << 2; vco_freq 2523 drivers/net/wireless/broadcom/b43/phy_lp.c val3 = lpphy_qdiv_roundup(vco_freq, 3, 16);