refdiv 209 arch/mips/ath25/ar2315.c unsigned int pllc_out, refdiv, fdiv, divby2; refdiv 213 arch/mips/ath25/ar2315.c refdiv = ATH25_REG_MS(pllc_ctrl, AR2315_PLLC_REF_DIV); refdiv 214 arch/mips/ath25/ar2315.c refdiv = clockctl1_predivide_table[refdiv]; refdiv 217 arch/mips/ath25/ar2315.c pllc_out = (40000000 / refdiv) * (2 * divby2) * fdiv; refdiv 159 drivers/clk/berlin/berlin2-avpll.c u32 reg, refdiv, fbdiv; refdiv 164 drivers/clk/berlin/berlin2-avpll.c refdiv = (reg & VCO_REFDIV_MASK) >> VCO_REFDIV_SHIFT; refdiv 165 drivers/clk/berlin/berlin2-avpll.c refdiv = vco_refdiv[refdiv]; refdiv 168 drivers/clk/berlin/berlin2-avpll.c do_div(freq, refdiv); refdiv 52 drivers/clk/clk-axm5516.c unsigned long rate, fbdiv, refdiv, postdiv; refdiv 58 drivers/clk/clk-axm5516.c refdiv = ((control >> 16) & 0x1f) + 1; refdiv 59 drivers/clk/clk-axm5516.c rate = (parent_rate / (refdiv * postdiv)) * fbdiv; refdiv 206 drivers/clk/pistachio/clk-pll.c if (!params || !params->refdiv) refdiv 212 drivers/clk/pistachio/clk-pll.c vco = div64_u64(vco, params->refdiv << 24); refdiv 218 drivers/clk/pistachio/clk-pll.c val = div64_u64(params->fref, params->refdiv); refdiv 229 drivers/clk/pistachio/clk-pll.c val |= (params->refdiv << PLL_CTRL1_REFDIV_SHIFT) | refdiv 363 drivers/clk/pistachio/clk-pll.c if (!params || !params->refdiv) refdiv 366 drivers/clk/pistachio/clk-pll.c vco = div_u64(params->fref * params->fbdiv, params->refdiv); refdiv 371 drivers/clk/pistachio/clk-pll.c val = div_u64(params->fref, params->refdiv); refdiv 397 drivers/clk/pistachio/clk-pll.c val |= (params->refdiv << PLL_CTRL1_REFDIV_SHIFT) | refdiv 97 drivers/clk/pistachio/clk.h unsigned long long refdiv; refdiv 140 drivers/clk/rockchip/clk-pll.c rate->refdiv = ((pllcon >> RK3036_PLLCON1_REFDIV_SHIFT) refdiv 162 drivers/clk/rockchip/clk-pll.c do_div(rate64, cur.refdiv); refdiv 168 drivers/clk/rockchip/clk-pll.c do_div(frac_rate64, cur.refdiv); refdiv 190 drivers/clk/rockchip/clk-pll.c __func__, rate->rate, rate->fbdiv, rate->postdiv1, rate->refdiv, refdiv 209 drivers/clk/rockchip/clk-pll.c writel_relaxed(HIWORD_UPDATE(rate->refdiv, RK3036_PLLCON1_REFDIV_MASK, refdiv 307 drivers/clk/rockchip/clk-pll.c cur.fbdiv, cur.postdiv1, cur.refdiv, cur.postdiv2, refdiv 310 drivers/clk/rockchip/clk-pll.c rate->fbdiv, rate->postdiv1, rate->refdiv, rate->postdiv2, refdiv 314 drivers/clk/rockchip/clk-pll.c rate->refdiv != cur.refdiv || rate->postdiv2 != cur.postdiv2 || refdiv 613 drivers/clk/rockchip/clk-pll.c rate->refdiv = ((pllcon >> RK3399_PLLCON1_REFDIV_SHIFT) refdiv 639 drivers/clk/rockchip/clk-pll.c do_div(rate64, cur.refdiv); refdiv 645 drivers/clk/rockchip/clk-pll.c do_div(frac_rate64, cur.refdiv); refdiv 667 drivers/clk/rockchip/clk-pll.c __func__, rate->rate, rate->fbdiv, rate->postdiv1, rate->refdiv, refdiv 684 drivers/clk/rockchip/clk-pll.c writel_relaxed(HIWORD_UPDATE(rate->refdiv, RK3399_PLLCON1_REFDIV_MASK, refdiv 786 drivers/clk/rockchip/clk-pll.c cur.fbdiv, cur.postdiv1, cur.refdiv, cur.postdiv2, refdiv 789 drivers/clk/rockchip/clk-pll.c rate->fbdiv, rate->postdiv1, rate->refdiv, rate->postdiv2, refdiv 793 drivers/clk/rockchip/clk-pll.c rate->refdiv != cur.refdiv || rate->postdiv2 != cur.postdiv2 || refdiv 204 drivers/clk/rockchip/clk.h .refdiv = _refdiv, \ refdiv 253 drivers/clk/rockchip/clk.h unsigned int refdiv; refdiv 35 drivers/clk/socfpga/clk-pll-s10.c unsigned long refdiv; refdiv 41 drivers/clk/socfpga/clk-pll-s10.c refdiv = (reg & SOCFPGA_PLL_REFDIV_MASK) >> SOCFPGA_PLL_REFDIV_SHIFT; refdiv 42 drivers/clk/socfpga/clk-pll-s10.c vco_freq = (unsigned long long)parent_rate / refdiv; refdiv 374 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h uint8_t refdiv; refdiv 340 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c if (amdgpu_crtc->ss.refdiv) { refdiv 342 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_crtc->pll_reference_div = amdgpu_crtc->ss.refdiv; refdiv 630 drivers/gpu/drm/radeon/atombios_crtc.c if (radeon_crtc->ss.refdiv) { refdiv 632 drivers/gpu/drm/radeon/atombios_crtc.c radeon_crtc->pll_reference_div = radeon_crtc->ss.refdiv; refdiv 1420 drivers/gpu/drm/radeon/radeon_atombios.c ss->refdiv = ss_assign->ucRecommendedRef_Div; refdiv 315 drivers/gpu/drm/radeon/radeon_mode.h uint8_t refdiv; refdiv 85 drivers/media/dvb-frontends/cx24113.c u8 refdiv; refdiv 281 drivers/media/dvb-frontends/cx24113.c static u8 cx24113_set_ref_div(struct cx24113_state *state, u8 refdiv) refdiv 284 drivers/media/dvb-frontends/cx24113.c refdiv = 2; refdiv 285 drivers/media/dvb-frontends/cx24113.c return state->refdiv = refdiv; refdiv 396 drivers/media/dvb-frontends/cx24113.c cx24113_set_nfr(state, n, f, state->refdiv); refdiv 484 drivers/net/wireless/ath/ath10k/hw.c .refdiv = 0, refdiv 492 drivers/net/wireless/ath/ath10k/hw.c .refdiv = 0, refdiv 500 drivers/net/wireless/ath/ath10k/hw.c .refdiv = 0, refdiv 508 drivers/net/wireless/ath/ath10k/hw.c .refdiv = 0, refdiv 516 drivers/net/wireless/ath/ath10k/hw.c .refdiv = 0, refdiv 524 drivers/net/wireless/ath/ath10k/hw.c .refdiv = 0, refdiv 532 drivers/net/wireless/ath/ath10k/hw.c .refdiv = 0, refdiv 540 drivers/net/wireless/ath/ath10k/hw.c .refdiv = 0, refdiv 817 drivers/net/wireless/ath/ath10k/hw.c reg_val |= (SM(hw_clk->refdiv, WLAN_PLL_CONTROL_REFDIV) | refdiv 506 drivers/net/wireless/ath/ath10k/hw.h u32 refdiv; refdiv 834 drivers/net/wireless/ath/ath9k/hw.c u32 regval, pll2_divint, pll2_divfrac, refdiv; refdiv 847 drivers/net/wireless/ath/ath9k/hw.c refdiv = 1; refdiv 851 drivers/net/wireless/ath/ath9k/hw.c refdiv = 3; refdiv 857 drivers/net/wireless/ath/ath9k/hw.c refdiv = 5; refdiv 863 drivers/net/wireless/ath/ath9k/hw.c refdiv = 1; refdiv 875 drivers/net/wireless/ath/ath9k/hw.c REG_WRITE(ah, AR_PHY_PLL_CONTROL, (refdiv << 27) | refdiv 2098 sound/soc/codecs/arizona.c int refdiv; refdiv 2155 sound/soc/codecs/arizona.c int refdiv, div; refdiv 2159 sound/soc/codecs/arizona.c cfg->refdiv = 0; refdiv 2163 sound/soc/codecs/arizona.c cfg->refdiv++; refdiv 2195 sound/soc/codecs/arizona.c refdiv = cfg->refdiv; refdiv 2198 sound/soc/codecs/arizona.c init_ratio, Fref, refdiv); refdiv 2206 sound/soc/codecs/arizona.c cfg->refdiv = refdiv; refdiv 2210 sound/soc/codecs/arizona.c Fref, refdiv, div, ratio); refdiv 2232 sound/soc/codecs/arizona.c cfg->refdiv = refdiv; refdiv 2236 sound/soc/codecs/arizona.c Fref, refdiv, div, ratio); refdiv 2243 sound/soc/codecs/arizona.c refdiv++; refdiv 2247 sound/soc/codecs/arizona.c Fref, refdiv, div, init_ratio); refdiv 2281 sound/soc/codecs/arizona.c Fref = Fref / (1 << cfg->refdiv); refdiv 2322 sound/soc/codecs/arizona.c cfg->refdiv, 1 << cfg->refdiv); refdiv 2342 sound/soc/codecs/arizona.c cfg->refdiv << ARIZONA_FLL1_CLK_REF_DIV_SHIFT | refdiv 3479 sound/soc/codecs/madera.c int refdiv, div; refdiv 3483 sound/soc/codecs/madera.c cfg->refdiv = 0; refdiv 3487 sound/soc/codecs/madera.c cfg->refdiv++; refdiv 3528 sound/soc/codecs/madera.c refdiv = cfg->refdiv; refdiv 3537 sound/soc/codecs/madera.c cfg->refdiv = refdiv; refdiv 3553 sound/soc/codecs/madera.c cfg->refdiv = refdiv; refdiv 3561 sound/soc/codecs/madera.c refdiv++; refdiv 3609 sound/soc/codecs/madera.c fref = fref / (1 << cfg->refdiv); refdiv 3678 sound/soc/codecs/madera.c cfg->fratio, ratio, cfg->refdiv, 1 << cfg->refdiv); refdiv 3711 sound/soc/codecs/madera.c cfg->refdiv << MADERA_FLL1_REFCLK_DIV_SHIFT | refdiv 4307 sound/soc/codecs/madera.c int refdiv, fref, fout, lockdet_thr, fbdiv, hp, fast_clk, fllgcd; refdiv 4314 sound/soc/codecs/madera.c for (refdiv = 0; refdiv < 4; refdiv++) refdiv 4315 sound/soc/codecs/madera.c if ((fin / (1 << refdiv)) <= MADERA_FLLHJ_MAX_THRESH) refdiv 4318 sound/soc/codecs/madera.c fref = fin / (1 << refdiv); refdiv 4364 sound/soc/codecs/madera.c refdiv, fref, frac); refdiv 4426 sound/soc/codecs/madera.c refdiv << MADERA_FLL1_REFCLK_DIV_SHIFT); refdiv 150 sound/soc/codecs/madera.h int refdiv;