parent_rate 103 arch/arm/mach-omap2/clkt2xxx_dpllcore.c unsigned long parent_rate) parent_rate 109 arch/arm/mach-omap2/clkt2xxx_dpllcore.c unsigned long parent_rate) parent_rate 59 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c unsigned long parent_rate) parent_rate 72 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c unsigned long *parent_rate) parent_rate 96 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c unsigned long parent_rate) parent_rate 16 arch/arm/mach-omap2/clock2xxx.h unsigned long parent_rate); parent_rate 18 arch/arm/mach-omap2/clock2xxx.h unsigned long parent_rate); parent_rate 20 arch/arm/mach-omap2/clock2xxx.h unsigned long *parent_rate); parent_rate 22 arch/arm/mach-omap2/clock2xxx.h unsigned long parent_rate); parent_rate 24 arch/arm/mach-omap2/clock2xxx.h unsigned long parent_rate); parent_rate 14 arch/arm/mach-omap2/clock3xxx.h unsigned long parent_rate); parent_rate 497 arch/arm/mach-vexpress/spc.c unsigned long parent_rate) parent_rate 509 arch/arm/mach-vexpress/spc.c unsigned long *parent_rate) parent_rate 517 arch/arm/mach-vexpress/spc.c unsigned long parent_rate) parent_rate 119 arch/mips/alchemy/common/clock.c unsigned long parent_rate) parent_rate 134 arch/mips/alchemy/common/clock.c t *= parent_rate; parent_rate 180 arch/mips/alchemy/common/clock.c unsigned long parent_rate) parent_rate 184 arch/mips/alchemy/common/clock.c return (alchemy_rdsys(a->reg) & 0xff) * parent_rate; parent_rate 189 arch/mips/alchemy/common/clock.c unsigned long parent_rate) parent_rate 195 arch/mips/alchemy/common/clock.c d /= parent_rate; parent_rate 209 arch/mips/alchemy/common/clock.c unsigned long *parent_rate) parent_rate 214 arch/mips/alchemy/common/clock.c if (!rate || !*parent_rate) parent_rate 217 arch/mips/alchemy/common/clock.c mult = rate / (*parent_rate); parent_rate 224 arch/mips/alchemy/common/clock.c return (*parent_rate) * mult; parent_rate 543 arch/mips/alchemy/common/clock.c unsigned long parent_rate) parent_rate 549 arch/mips/alchemy/common/clock.c if (!rate || !parent_rate || rate > (parent_rate / 2)) parent_rate 551 arch/mips/alchemy/common/clock.c ret = alchemy_calc_div(rate, parent_rate, 2, 512, &div); parent_rate 563 arch/mips/alchemy/common/clock.c unsigned long parent_rate) parent_rate 569 arch/mips/alchemy/common/clock.c return parent_rate / v; parent_rate 664 arch/mips/alchemy/common/clock.c unsigned long parent_rate) parent_rate 670 arch/mips/alchemy/common/clock.c if (!rate || !parent_rate || rate > parent_rate) parent_rate 674 arch/mips/alchemy/common/clock.c ret = alchemy_calc_div(rate, parent_rate, v ? 1 : 2, parent_rate 688 arch/mips/alchemy/common/clock.c unsigned long parent_rate) parent_rate 695 arch/mips/alchemy/common/clock.c t = parent_rate / (((v >> sh) & 0xff) + 1); parent_rate 878 arch/mips/alchemy/common/clock.c unsigned long parent_rate) parent_rate 883 arch/mips/alchemy/common/clock.c return parent_rate / c->dt[v]; parent_rate 887 arch/mips/alchemy/common/clock.c unsigned long parent_rate) parent_rate 893 arch/mips/alchemy/common/clock.c if (!rate || !parent_rate || rate > parent_rate) parent_rate 896 arch/mips/alchemy/common/clock.c d = (parent_rate + (rate / 2)) / rate; parent_rate 57 drivers/clk/actions/owl-composite.c unsigned long *parent_rate) parent_rate 62 drivers/clk/actions/owl-composite.c rate, parent_rate); parent_rate 66 drivers/clk/actions/owl-composite.c unsigned long parent_rate) parent_rate 71 drivers/clk/actions/owl-composite.c parent_rate); parent_rate 75 drivers/clk/actions/owl-composite.c unsigned long parent_rate) parent_rate 80 drivers/clk/actions/owl-composite.c rate, parent_rate); parent_rate 84 drivers/clk/actions/owl-composite.c unsigned long *parent_rate) parent_rate 90 drivers/clk/actions/owl-composite.c rate, parent_rate); parent_rate 94 drivers/clk/actions/owl-composite.c unsigned long parent_rate) parent_rate 100 drivers/clk/actions/owl-composite.c parent_rate); parent_rate 104 drivers/clk/actions/owl-composite.c unsigned long parent_rate) parent_rate 110 drivers/clk/actions/owl-composite.c rate, parent_rate); parent_rate 114 drivers/clk/actions/owl-composite.c unsigned long *parent_rate) parent_rate 119 drivers/clk/actions/owl-composite.c return comp->fix_fact_ops->round_rate(&fix_fact_hw->hw, rate, parent_rate); parent_rate 123 drivers/clk/actions/owl-composite.c unsigned long parent_rate) parent_rate 128 drivers/clk/actions/owl-composite.c return comp->fix_fact_ops->recalc_rate(&fix_fact_hw->hw, parent_rate); parent_rate 133 drivers/clk/actions/owl-composite.c unsigned long parent_rate) parent_rate 19 drivers/clk/actions/owl-divider.c unsigned long *parent_rate) parent_rate 21 drivers/clk/actions/owl-divider.c return divider_round_rate(&common->hw, rate, parent_rate, parent_rate 27 drivers/clk/actions/owl-divider.c unsigned long *parent_rate) parent_rate 32 drivers/clk/actions/owl-divider.c rate, parent_rate); parent_rate 37 drivers/clk/actions/owl-divider.c unsigned long parent_rate) parent_rate 46 drivers/clk/actions/owl-divider.c return divider_recalc_rate(&common->hw, parent_rate, parent_rate 53 drivers/clk/actions/owl-divider.c unsigned long parent_rate) parent_rate 58 drivers/clk/actions/owl-divider.c &div->div_hw, parent_rate); parent_rate 64 drivers/clk/actions/owl-divider.c unsigned long parent_rate) parent_rate 69 drivers/clk/actions/owl-divider.c val = divider_get_val(rate, parent_rate, div_hw->table, parent_rate 82 drivers/clk/actions/owl-divider.c unsigned long parent_rate) parent_rate 87 drivers/clk/actions/owl-divider.c rate, parent_rate); parent_rate 62 drivers/clk/actions/owl-divider.h unsigned long *parent_rate); parent_rate 66 drivers/clk/actions/owl-divider.h unsigned long parent_rate); parent_rate 71 drivers/clk/actions/owl-divider.h unsigned long parent_rate); parent_rate 45 drivers/clk/actions/owl-factor.c unsigned long rate, unsigned long parent_rate) parent_rate 52 drivers/clk/actions/owl-factor.c calc_rate = parent_rate * clkt->mul; parent_rate 72 drivers/clk/actions/owl-factor.c unsigned long parent_rate, try_parent_rate, best = 0, cur_rate; parent_rate 80 drivers/clk/actions/owl-factor.c parent_rate = *best_parent_rate; parent_rate 81 drivers/clk/actions/owl-factor.c bestval = _get_table_val(clkt, rate, parent_rate); parent_rate 101 drivers/clk/actions/owl-factor.c parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), parent_rate 103 drivers/clk/actions/owl-factor.c cur_rate = DIV_ROUND_UP(parent_rate, clkt->div) * clkt->mul; parent_rate 107 drivers/clk/actions/owl-factor.c *best_parent_rate = parent_rate; parent_rate 123 drivers/clk/actions/owl-factor.c unsigned long *parent_rate) parent_rate 128 drivers/clk/actions/owl-factor.c val = owl_clk_val_best(factor_hw, &common->hw, rate, parent_rate); parent_rate 131 drivers/clk/actions/owl-factor.c return *parent_rate * mul / div; parent_rate 135 drivers/clk/actions/owl-factor.c unsigned long *parent_rate) parent_rate 141 drivers/clk/actions/owl-factor.c rate, parent_rate); parent_rate 146 drivers/clk/actions/owl-factor.c unsigned long parent_rate) parent_rate 165 drivers/clk/actions/owl-factor.c return parent_rate; parent_rate 168 drivers/clk/actions/owl-factor.c rate = (unsigned long long int)parent_rate * mul; parent_rate 175 drivers/clk/actions/owl-factor.c unsigned long parent_rate) parent_rate 181 drivers/clk/actions/owl-factor.c return owl_factor_helper_recalc_rate(common, factor_hw, parent_rate); parent_rate 187 drivers/clk/actions/owl-factor.c unsigned long parent_rate) parent_rate 191 drivers/clk/actions/owl-factor.c val = _get_table_val(factor_hw->table, rate, parent_rate); parent_rate 207 drivers/clk/actions/owl-factor.c unsigned long parent_rate) parent_rate 214 drivers/clk/actions/owl-factor.c rate, parent_rate); parent_rate 70 drivers/clk/actions/owl-factor.h unsigned long *parent_rate); parent_rate 74 drivers/clk/actions/owl-factor.h unsigned long parent_rate); parent_rate 79 drivers/clk/actions/owl-factor.h unsigned long parent_rate); parent_rate 60 drivers/clk/actions/owl-pll.c unsigned long *parent_rate) parent_rate 82 drivers/clk/actions/owl-pll.c unsigned long parent_rate) parent_rate 156 drivers/clk/actions/owl-pll.c unsigned long parent_rate) parent_rate 184 drivers/clk/analogbits/wrpll-cln28hpc.c unsigned long parent_rate) parent_rate 188 drivers/clk/analogbits/wrpll-cln28hpc.c if (parent_rate > MAX_INPUT_FREQ || parent_rate < MIN_POST_DIVR_FREQ) parent_rate 191 drivers/clk/analogbits/wrpll-cln28hpc.c c->parent_rate = parent_rate; parent_rate 192 drivers/clk/analogbits/wrpll-cln28hpc.c max_r_for_parent = div_u64(parent_rate, MIN_POST_DIVR_FREQ); parent_rate 195 drivers/clk/analogbits/wrpll-cln28hpc.c c->init_r = DIV_ROUND_UP_ULL(parent_rate, MAX_POST_DIVR_FREQ); parent_rate 222 drivers/clk/analogbits/wrpll-cln28hpc.c unsigned long parent_rate) parent_rate 236 drivers/clk/analogbits/wrpll-cln28hpc.c if (parent_rate != c->parent_rate) { parent_rate 237 drivers/clk/analogbits/wrpll-cln28hpc.c if (__wrpll_update_parent_rate(c, parent_rate)) { parent_rate 247 drivers/clk/analogbits/wrpll-cln28hpc.c if (target_rate == parent_rate) { parent_rate 261 drivers/clk/analogbits/wrpll-cln28hpc.c ratio = div64_u64((target_vco_rate << ROUND_SHIFT), parent_rate); parent_rate 277 drivers/clk/analogbits/wrpll-cln28hpc.c post_divr_freq = div_u64(parent_rate, r); parent_rate 301 drivers/clk/analogbits/wrpll-cln28hpc.c post_divr_freq = div_u64(parent_rate, best_r); parent_rate 331 drivers/clk/analogbits/wrpll-cln28hpc.c unsigned long parent_rate) parent_rate 342 drivers/clk/analogbits/wrpll-cln28hpc.c n = parent_rate * fbdiv * (c->divf + 1); parent_rate 159 drivers/clk/at91/clk-audio-pll.c static unsigned long clk_audio_pll_fout(unsigned long parent_rate, parent_rate 162 drivers/clk/at91/clk-audio-pll.c unsigned long long fr = (unsigned long long)parent_rate * fracr; parent_rate 170 drivers/clk/at91/clk-audio-pll.c return parent_rate * (nd + 1) + fr; parent_rate 174 drivers/clk/at91/clk-audio-pll.c unsigned long parent_rate) parent_rate 179 drivers/clk/at91/clk-audio-pll.c fout = clk_audio_pll_fout(parent_rate, frac->nd, frac->fracr); parent_rate 188 drivers/clk/at91/clk-audio-pll.c unsigned long parent_rate) parent_rate 194 drivers/clk/at91/clk-audio-pll.c apad_rate = parent_rate / (apad_ck->qdaudio * apad_ck->div); parent_rate 203 drivers/clk/at91/clk-audio-pll.c unsigned long parent_rate) parent_rate 208 drivers/clk/at91/clk-audio-pll.c apmc_rate = parent_rate / (apmc_ck->qdpmc + 1); parent_rate 217 drivers/clk/at91/clk-audio-pll.c unsigned long parent_rate, parent_rate 227 drivers/clk/at91/clk-audio-pll.c rem = do_div(tmp, parent_rate); parent_rate 234 drivers/clk/at91/clk-audio-pll.c tmp = DIV_ROUND_CLOSEST_ULL(tmp, parent_rate); parent_rate 274 drivers/clk/at91/clk-audio-pll.c unsigned long *parent_rate) parent_rate 286 drivers/clk/at91/clk-audio-pll.c rate, *parent_rate); parent_rate 312 drivers/clk/at91/clk-audio-pll.c *parent_rate = best_parent_rate; parent_rate 325 drivers/clk/at91/clk-audio-pll.c unsigned long *parent_rate) parent_rate 336 drivers/clk/at91/clk-audio-pll.c rate, *parent_rate); parent_rate 349 drivers/clk/at91/clk-audio-pll.c *parent_rate = best_parent_rate; parent_rate 359 drivers/clk/at91/clk-audio-pll.c __func__, best_rate, *parent_rate, tmp_qd - 1); parent_rate 365 drivers/clk/at91/clk-audio-pll.c unsigned long parent_rate) parent_rate 372 drivers/clk/at91/clk-audio-pll.c parent_rate); parent_rate 377 drivers/clk/at91/clk-audio-pll.c ret = clk_audio_pll_frac_compute_frac(rate, parent_rate, &nd, &fracr); parent_rate 388 drivers/clk/at91/clk-audio-pll.c unsigned long parent_rate) parent_rate 394 drivers/clk/at91/clk-audio-pll.c rate, parent_rate); parent_rate 399 drivers/clk/at91/clk-audio-pll.c tmp_div = parent_rate / rate; parent_rate 412 drivers/clk/at91/clk-audio-pll.c unsigned long parent_rate) parent_rate 420 drivers/clk/at91/clk-audio-pll.c rate, parent_rate); parent_rate 422 drivers/clk/at91/clk-audio-pll.c apmc_ck->qdpmc = parent_rate / rate - 1; parent_rate 91 drivers/clk/at91/clk-generated.c unsigned long parent_rate) parent_rate 95 drivers/clk/at91/clk-generated.c return DIV_ROUND_CLOSEST(parent_rate, gck->gckdiv + 1); parent_rate 100 drivers/clk/at91/clk-generated.c unsigned long parent_rate, u32 div, parent_rate 107 drivers/clk/at91/clk-generated.c tmp_rate = parent_rate; parent_rate 109 drivers/clk/at91/clk-generated.c tmp_rate = parent_rate / div; parent_rate 115 drivers/clk/at91/clk-generated.c req->best_parent_rate = parent_rate; parent_rate 127 drivers/clk/at91/clk-generated.c unsigned long min_rate, parent_rate; parent_rate 137 drivers/clk/at91/clk-generated.c parent_rate = clk_hw_get_rate(parent); parent_rate 138 drivers/clk/at91/clk-generated.c min_rate = DIV_ROUND_CLOSEST(parent_rate, GENERATED_MAX_DIV + 1); parent_rate 139 drivers/clk/at91/clk-generated.c if (!parent_rate || parent_rate 143 drivers/clk/at91/clk-generated.c div = DIV_ROUND_CLOSEST(parent_rate, req->rate); parent_rate 147 drivers/clk/at91/clk-generated.c clk_generated_best_diff(req, parent, parent_rate, div, parent_rate 216 drivers/clk/at91/clk-generated.c unsigned long parent_rate) parent_rate 227 drivers/clk/at91/clk-generated.c div = DIV_ROUND_CLOSEST(parent_rate, rate); parent_rate 29 drivers/clk/at91/clk-h32mx.c unsigned long parent_rate) parent_rate 36 drivers/clk/at91/clk-h32mx.c return parent_rate / 2; parent_rate 38 drivers/clk/at91/clk-h32mx.c if (parent_rate > H32MX_MAX_FREQ) parent_rate 40 drivers/clk/at91/clk-h32mx.c return parent_rate; parent_rate 44 drivers/clk/at91/clk-h32mx.c unsigned long *parent_rate) parent_rate 48 drivers/clk/at91/clk-h32mx.c if (rate > *parent_rate) parent_rate 49 drivers/clk/at91/clk-h32mx.c return *parent_rate; parent_rate 50 drivers/clk/at91/clk-h32mx.c div = *parent_rate / 2; parent_rate 54 drivers/clk/at91/clk-h32mx.c if (rate - div < *parent_rate - rate) parent_rate 57 drivers/clk/at91/clk-h32mx.c return *parent_rate; parent_rate 61 drivers/clk/at91/clk-h32mx.c unsigned long parent_rate) parent_rate 66 drivers/clk/at91/clk-h32mx.c if (parent_rate != rate && (parent_rate / 2) != rate) parent_rate 69 drivers/clk/at91/clk-h32mx.c if ((parent_rate / 2) == rate) parent_rate 228 drivers/clk/at91/clk-main.c unsigned long parent_rate) parent_rate 310 drivers/clk/at91/clk-main.c unsigned long parent_rate) parent_rate 314 drivers/clk/at91/clk-main.c if (parent_rate) parent_rate 315 drivers/clk/at91/clk-main.c return parent_rate; parent_rate 343 drivers/clk/at91/clk-main.c unsigned long parent_rate) parent_rate 347 drivers/clk/at91/clk-main.c return clk_main_recalc_rate(clkmain->regmap, parent_rate); parent_rate 423 drivers/clk/at91/clk-main.c unsigned long parent_rate) parent_rate 427 drivers/clk/at91/clk-main.c return clk_main_recalc_rate(clkmain->regmap, parent_rate); parent_rate 57 drivers/clk/at91/clk-master.c unsigned long parent_rate) parent_rate 61 drivers/clk/at91/clk-master.c unsigned long rate = parent_rate; parent_rate 135 drivers/clk/at91/clk-peripheral.c unsigned long parent_rate; parent_rate 143 drivers/clk/at91/clk-peripheral.c parent_rate = clk_hw_get_rate(parent); parent_rate 144 drivers/clk/at91/clk-peripheral.c if (!parent_rate) parent_rate 148 drivers/clk/at91/clk-peripheral.c if (parent_rate >> shift <= periph->range.max) parent_rate 216 drivers/clk/at91/clk-peripheral.c unsigned long parent_rate) parent_rate 223 drivers/clk/at91/clk-peripheral.c return parent_rate; parent_rate 238 drivers/clk/at91/clk-peripheral.c return parent_rate >> periph->div; parent_rate 243 drivers/clk/at91/clk-peripheral.c unsigned long *parent_rate) parent_rate 248 drivers/clk/at91/clk-peripheral.c unsigned long cur_rate = *parent_rate; parent_rate 253 drivers/clk/at91/clk-peripheral.c return *parent_rate; parent_rate 257 drivers/clk/at91/clk-peripheral.c cur_rate = *parent_rate >> shift; parent_rate 269 drivers/clk/at91/clk-peripheral.c cur_rate = *parent_rate >> shift; parent_rate 289 drivers/clk/at91/clk-peripheral.c unsigned long parent_rate) parent_rate 294 drivers/clk/at91/clk-peripheral.c if (parent_rate == rate) parent_rate 304 drivers/clk/at91/clk-peripheral.c if (parent_rate >> shift == rate) { parent_rate 113 drivers/clk/at91/clk-pll.c unsigned long parent_rate) parent_rate 120 drivers/clk/at91/clk-pll.c return (parent_rate / pll->div) * (pll->mul + 1); parent_rate 124 drivers/clk/at91/clk-pll.c unsigned long parent_rate, parent_rate 138 drivers/clk/at91/clk-pll.c if (parent_rate < characteristics->input.min) parent_rate 147 drivers/clk/at91/clk-pll.c mindiv = (parent_rate * PLL_MUL_MIN) / rate; parent_rate 151 drivers/clk/at91/clk-pll.c if (parent_rate > characteristics->input.max) { parent_rate 152 drivers/clk/at91/clk-pll.c tmpdiv = DIV_ROUND_UP(parent_rate, characteristics->input.max); parent_rate 164 drivers/clk/at91/clk-pll.c maxdiv = DIV_ROUND_UP(parent_rate * PLL_MUL_MAX(layout), rate); parent_rate 182 drivers/clk/at91/clk-pll.c tmpmul = DIV_ROUND_CLOSEST(rate, parent_rate / tmpdiv); parent_rate 183 drivers/clk/at91/clk-pll.c tmprate = (parent_rate / tmpdiv) * tmpmul; parent_rate 234 drivers/clk/at91/clk-pll.c unsigned long *parent_rate) parent_rate 238 drivers/clk/at91/clk-pll.c return clk_pll_get_best_div_mul(pll, rate, *parent_rate, parent_rate 243 drivers/clk/at91/clk-pll.c unsigned long parent_rate) parent_rate 251 drivers/clk/at91/clk-pll.c ret = clk_pll_get_best_div_mul(pll, rate, parent_rate, parent_rate 23 drivers/clk/at91/clk-plldiv.c unsigned long parent_rate) parent_rate 31 drivers/clk/at91/clk-plldiv.c return parent_rate / 2; parent_rate 33 drivers/clk/at91/clk-plldiv.c return parent_rate; parent_rate 37 drivers/clk/at91/clk-plldiv.c unsigned long *parent_rate) parent_rate 41 drivers/clk/at91/clk-plldiv.c if (rate > *parent_rate) parent_rate 42 drivers/clk/at91/clk-plldiv.c return *parent_rate; parent_rate 43 drivers/clk/at91/clk-plldiv.c div = *parent_rate / 2; parent_rate 47 drivers/clk/at91/clk-plldiv.c if (rate - div < *parent_rate - rate) parent_rate 50 drivers/clk/at91/clk-plldiv.c return *parent_rate; parent_rate 54 drivers/clk/at91/clk-plldiv.c unsigned long parent_rate) parent_rate 58 drivers/clk/at91/clk-plldiv.c if ((parent_rate != rate) && (parent_rate / 2 != rate)) parent_rate 62 drivers/clk/at91/clk-plldiv.c parent_rate != rate ? AT91_PMC_PLLADIV2 : 0); parent_rate 31 drivers/clk/at91/clk-programmable.c unsigned long parent_rate) parent_rate 41 drivers/clk/at91/clk-programmable.c rate = parent_rate / (PROG_PRES(layout, pckr) + 1); parent_rate 43 drivers/clk/at91/clk-programmable.c rate = parent_rate >> PROG_PRES(layout, pckr); parent_rate 55 drivers/clk/at91/clk-programmable.c unsigned long parent_rate; parent_rate 65 drivers/clk/at91/clk-programmable.c parent_rate = clk_hw_get_rate(parent); parent_rate 68 drivers/clk/at91/clk-programmable.c tmp_rate = parent_rate / (shift + 1); parent_rate 74 drivers/clk/at91/clk-programmable.c tmp_rate = parent_rate >> shift; parent_rate 86 drivers/clk/at91/clk-programmable.c req->best_parent_rate = parent_rate; parent_rate 141 drivers/clk/at91/clk-programmable.c unsigned long parent_rate) parent_rate 145 drivers/clk/at91/clk-programmable.c unsigned long div = parent_rate / rate; parent_rate 164 drivers/clk/at91/clk-sam9x60-pll.c unsigned long parent_rate) parent_rate 168 drivers/clk/at91/clk-sam9x60-pll.c return (parent_rate * (pll->mul + 1)) / (pll->div + 1); parent_rate 173 drivers/clk/at91/clk-sam9x60-pll.c unsigned long parent_rate, parent_rate 190 drivers/clk/at91/clk-sam9x60-pll.c mindiv = parent_rate / rate; parent_rate 194 drivers/clk/at91/clk-sam9x60-pll.c maxdiv = DIV_ROUND_UP(parent_rate * PLL_MUL_MAX, rate); parent_rate 211 drivers/clk/at91/clk-sam9x60-pll.c tmpmul = mult_frac(rate, tmpdiv, parent_rate); parent_rate 212 drivers/clk/at91/clk-sam9x60-pll.c tmprate = mult_frac(parent_rate, tmpmul, tmpdiv); parent_rate 217 drivers/clk/at91/clk-sam9x60-pll.c parent_rate); parent_rate 219 drivers/clk/at91/clk-sam9x60-pll.c tmprate += DIV_ROUND_CLOSEST_ULL((u64)tmpfrac * parent_rate, parent_rate 261 drivers/clk/at91/clk-sam9x60-pll.c unsigned long *parent_rate) parent_rate 265 drivers/clk/at91/clk-sam9x60-pll.c return sam9x60_pll_get_best_div_mul(pll, rate, *parent_rate, false); parent_rate 269 drivers/clk/at91/clk-sam9x60-pll.c unsigned long parent_rate) parent_rate 273 drivers/clk/at91/clk-sam9x60-pll.c return sam9x60_pll_get_best_div_mul(pll, rate, parent_rate, true); parent_rate 27 drivers/clk/at91/clk-smd.c unsigned long parent_rate) parent_rate 36 drivers/clk/at91/clk-smd.c return parent_rate / (smddiv + 1); parent_rate 40 drivers/clk/at91/clk-smd.c unsigned long *parent_rate) parent_rate 46 drivers/clk/at91/clk-smd.c if (rate >= *parent_rate) parent_rate 47 drivers/clk/at91/clk-smd.c return *parent_rate; parent_rate 49 drivers/clk/at91/clk-smd.c div = *parent_rate / rate; parent_rate 51 drivers/clk/at91/clk-smd.c return *parent_rate / (SMD_MAX_DIV + 1); parent_rate 53 drivers/clk/at91/clk-smd.c bestrate = *parent_rate / div; parent_rate 54 drivers/clk/at91/clk-smd.c tmp = *parent_rate / (div + 1); parent_rate 85 drivers/clk/at91/clk-smd.c unsigned long parent_rate) parent_rate 88 drivers/clk/at91/clk-smd.c unsigned long div = parent_rate / rate; parent_rate 90 drivers/clk/at91/clk-smd.c if (parent_rate % rate || div < 1 || div > (SMD_MAX_DIV + 1)) parent_rate 43 drivers/clk/at91/clk-usb.c unsigned long parent_rate) parent_rate 52 drivers/clk/at91/clk-usb.c return DIV_ROUND_CLOSEST(parent_rate, (usbdiv + 1)); parent_rate 132 drivers/clk/at91/clk-usb.c unsigned long parent_rate) parent_rate 140 drivers/clk/at91/clk-usb.c div = DIV_ROUND_CLOSEST(parent_rate, rate); parent_rate 278 drivers/clk/at91/clk-usb.c unsigned long parent_rate) parent_rate 288 drivers/clk/at91/clk-usb.c return parent_rate / usb->divisors[usbdiv]; parent_rate 294 drivers/clk/at91/clk-usb.c unsigned long *parent_rate) parent_rate 321 drivers/clk/at91/clk-usb.c *parent_rate = tmp_parent_rate; parent_rate 332 drivers/clk/at91/clk-usb.c unsigned long parent_rate) parent_rate 341 drivers/clk/at91/clk-usb.c div = DIV_ROUND_CLOSEST(parent_rate, rate); parent_rate 46 drivers/clk/at91/clk-utmi.c unsigned long parent_rate; parent_rate 54 drivers/clk/at91/clk-utmi.c parent_rate = clk_hw_get_rate(hw_parent); parent_rate 56 drivers/clk/at91/clk-utmi.c switch (parent_rate) { parent_rate 110 drivers/clk/at91/clk-utmi.c unsigned long parent_rate) parent_rate 171 drivers/clk/at91/sckc.c unsigned long parent_rate) parent_rate 102 drivers/clk/axs10x/i2s_pll_clock.c unsigned long parent_rate) parent_rate 111 drivers/clk/axs10x/i2s_pll_clock.c return ((parent_rate / idiv) * fbdiv) / odiv; parent_rate 134 drivers/clk/axs10x/i2s_pll_clock.c unsigned long parent_rate) parent_rate 137 drivers/clk/axs10x/i2s_pll_clock.c const struct i2s_pll_cfg *pll_cfg = i2s_pll_get_cfg(parent_rate); parent_rate 141 drivers/clk/axs10x/i2s_pll_clock.c dev_err(clk->dev, "invalid parent rate=%ld\n", parent_rate); parent_rate 156 drivers/clk/axs10x/i2s_pll_clock.c parent_rate); parent_rate 140 drivers/clk/axs10x/pll_clock.c unsigned long parent_rate) parent_rate 150 drivers/clk/axs10x/pll_clock.c rate = (u64)parent_rate * fbdiv; parent_rate 178 drivers/clk/axs10x/pll_clock.c unsigned long parent_rate) parent_rate 209 drivers/clk/axs10x/pll_clock.c parent_rate); parent_rate 529 drivers/clk/bcm/clk-bcm2835.c unsigned long parent_rate, parent_rate 535 drivers/clk/bcm/clk-bcm2835.c do_div(div, parent_rate); parent_rate 541 drivers/clk/bcm/clk-bcm2835.c static long bcm2835_pll_rate_from_divisors(unsigned long parent_rate, parent_rate 549 drivers/clk/bcm/clk-bcm2835.c rate = (u64)parent_rate * ((ndiv << A2W_PLL_FRAC_BITS) + fdiv); parent_rate 555 drivers/clk/bcm/clk-bcm2835.c unsigned long *parent_rate) parent_rate 563 drivers/clk/bcm/clk-bcm2835.c bcm2835_pll_choose_ndiv_and_fdiv(rate, *parent_rate, &ndiv, &fdiv); parent_rate 565 drivers/clk/bcm/clk-bcm2835.c return bcm2835_pll_rate_from_divisors(*parent_rate, ndiv, fdiv, 1); parent_rate 569 drivers/clk/bcm/clk-bcm2835.c unsigned long parent_rate) parent_rate 578 drivers/clk/bcm/clk-bcm2835.c if (parent_rate == 0) parent_rate 592 drivers/clk/bcm/clk-bcm2835.c return bcm2835_pll_rate_from_divisors(parent_rate, ndiv, fdiv, pdiv); parent_rate 663 drivers/clk/bcm/clk-bcm2835.c unsigned long rate, unsigned long parent_rate) parent_rate 680 drivers/clk/bcm/clk-bcm2835.c bcm2835_pll_choose_ndiv_and_fdiv(rate, parent_rate, &ndiv, &fdiv); parent_rate 793 drivers/clk/bcm/clk-bcm2835.c unsigned long *parent_rate) parent_rate 795 drivers/clk/bcm/clk-bcm2835.c return clk_divider_ops.round_rate(hw, rate, parent_rate); parent_rate 799 drivers/clk/bcm/clk-bcm2835.c unsigned long parent_rate) parent_rate 801 drivers/clk/bcm/clk-bcm2835.c return clk_divider_ops.recalc_rate(hw, parent_rate); parent_rate 840 drivers/clk/bcm/clk-bcm2835.c unsigned long parent_rate) parent_rate 847 drivers/clk/bcm/clk-bcm2835.c div = DIV_ROUND_UP_ULL(parent_rate, rate); parent_rate 919 drivers/clk/bcm/clk-bcm2835.c unsigned long parent_rate, parent_rate 926 drivers/clk/bcm/clk-bcm2835.c u64 temp = (u64)parent_rate << CM_DIV_FRAC_BITS; parent_rate 960 drivers/clk/bcm/clk-bcm2835.c unsigned long parent_rate, parent_rate 967 drivers/clk/bcm/clk-bcm2835.c return parent_rate; parent_rate 979 drivers/clk/bcm/clk-bcm2835.c temp = (u64)parent_rate << data->frac_bits; parent_rate 987 drivers/clk/bcm/clk-bcm2835.c unsigned long parent_rate) parent_rate 995 drivers/clk/bcm/clk-bcm2835.c return parent_rate; parent_rate 999 drivers/clk/bcm/clk-bcm2835.c return bcm2835_clock_rate_from_divisor(clock, parent_rate, div); parent_rate 1061 drivers/clk/bcm/clk-bcm2835.c unsigned long rate, unsigned long parent_rate) parent_rate 1066 drivers/clk/bcm/clk-bcm2835.c u32 div = bcm2835_clock_choose_div(hw, rate, parent_rate, false); parent_rate 44 drivers/clk/bcm/clk-bcm53573-ilp.c unsigned long parent_rate) parent_rate 89 drivers/clk/bcm/clk-bcm53573-ilp.c return parent_rate * 4 / avg; parent_rate 196 drivers/clk/bcm/clk-iproc-armpll.c unsigned long parent_rate) parent_rate 207 drivers/clk/bcm/clk-iproc-armpll.c pll->rate = parent_rate; parent_rate 229 drivers/clk/bcm/clk-iproc-armpll.c pll->rate = (ndiv * parent_rate) >> 20; parent_rate 233 drivers/clk/bcm/clk-iproc-armpll.c pll->rate, parent_rate); parent_rate 79 drivers/clk/bcm/clk-iproc-asiu.c unsigned long parent_rate) parent_rate 86 drivers/clk/bcm/clk-iproc-asiu.c if (parent_rate == 0) { parent_rate 94 drivers/clk/bcm/clk-iproc-asiu.c clk->rate = parent_rate; parent_rate 95 drivers/clk/bcm/clk-iproc-asiu.c return parent_rate; parent_rate 104 drivers/clk/bcm/clk-iproc-asiu.c clk->rate = parent_rate / (div_h + div_l); parent_rate 106 drivers/clk/bcm/clk-iproc-asiu.c __func__, clk->rate, parent_rate, div_h, div_l); parent_rate 112 drivers/clk/bcm/clk-iproc-asiu.c unsigned long *parent_rate) parent_rate 116 drivers/clk/bcm/clk-iproc-asiu.c if (rate == 0 || *parent_rate == 0) parent_rate 119 drivers/clk/bcm/clk-iproc-asiu.c if (rate == *parent_rate) parent_rate 120 drivers/clk/bcm/clk-iproc-asiu.c return *parent_rate; parent_rate 122 drivers/clk/bcm/clk-iproc-asiu.c div = DIV_ROUND_UP(*parent_rate, rate); parent_rate 124 drivers/clk/bcm/clk-iproc-asiu.c return *parent_rate; parent_rate 126 drivers/clk/bcm/clk-iproc-asiu.c return *parent_rate / div; parent_rate 130 drivers/clk/bcm/clk-iproc-asiu.c unsigned long parent_rate) parent_rate 137 drivers/clk/bcm/clk-iproc-asiu.c if (rate == 0 || parent_rate == 0) parent_rate 141 drivers/clk/bcm/clk-iproc-asiu.c if (rate == parent_rate) { parent_rate 148 drivers/clk/bcm/clk-iproc-asiu.c div = DIV_ROUND_UP(parent_rate, rate); parent_rate 92 drivers/clk/bcm/clk-iproc-pll.c unsigned long parent_rate, parent_rate 97 drivers/clk/bcm/clk-iproc-pll.c ndiv_int = target_rate / parent_rate; parent_rate 102 drivers/clk/bcm/clk-iproc-pll.c residual = target_rate - (ndiv_int * parent_rate); parent_rate 109 drivers/clk/bcm/clk-iproc-pll.c residual += (parent_rate / 2); parent_rate 110 drivers/clk/bcm/clk-iproc-pll.c ndiv_frac = div64_u64((u64)residual, (u64)parent_rate); parent_rate 116 drivers/clk/bcm/clk-iproc-pll.c vco_out->rate = vco_out->ndiv_int * parent_rate; parent_rate 117 drivers/clk/bcm/clk-iproc-pll.c residual = (u64)vco_out->ndiv_frac * (u64)parent_rate; parent_rate 316 drivers/clk/bcm/clk-iproc-pll.c unsigned long parent_rate) parent_rate 332 drivers/clk/bcm/clk-iproc-pll.c ref_freq = parent_rate * 2; parent_rate 334 drivers/clk/bcm/clk-iproc-pll.c ref_freq = parent_rate / vco->pdiv; parent_rate 458 drivers/clk/bcm/clk-iproc-pll.c unsigned long parent_rate) parent_rate 468 drivers/clk/bcm/clk-iproc-pll.c if (parent_rate == 0) parent_rate 496 drivers/clk/bcm/clk-iproc-pll.c rate = (ndiv * parent_rate) >> 20; parent_rate 553 drivers/clk/bcm/clk-iproc-pll.c unsigned long parent_rate) parent_rate 562 drivers/clk/bcm/clk-iproc-pll.c ret = pll_calc_param(rate, parent_rate, &vco_param); parent_rate 573 drivers/clk/bcm/clk-iproc-pll.c ret = pll_set_rate(clk, &vco_param, parent_rate); parent_rate 621 drivers/clk/bcm/clk-iproc-pll.c unsigned long parent_rate) parent_rate 630 drivers/clk/bcm/clk-iproc-pll.c if (parent_rate == 0) parent_rate 639 drivers/clk/bcm/clk-iproc-pll.c rate = parent_rate / (mdiv * 2); parent_rate 641 drivers/clk/bcm/clk-iproc-pll.c rate = parent_rate / mdiv; parent_rate 669 drivers/clk/bcm/clk-iproc-pll.c unsigned long parent_rate) parent_rate 677 drivers/clk/bcm/clk-iproc-pll.c if (rate == 0 || parent_rate == 0) parent_rate 680 drivers/clk/bcm/clk-iproc-pll.c div = DIV_ROUND_CLOSEST(parent_rate, rate); parent_rate 695 drivers/clk/bcm/clk-kona.c unsigned long parent_rate) parent_rate 702 drivers/clk/bcm/clk-kona.c return parent_rate; parent_rate 704 drivers/clk/bcm/clk-kona.c if (parent_rate > (unsigned long)LONG_MAX) parent_rate 719 drivers/clk/bcm/clk-kona.c scaled_rate = scale_rate(pre_div, parent_rate); parent_rate 725 drivers/clk/bcm/clk-kona.c scaled_parent_rate = scale_rate(div, parent_rate); parent_rate 750 drivers/clk/bcm/clk-kona.c unsigned long rate, unsigned long parent_rate, parent_rate 761 drivers/clk/bcm/clk-kona.c BUG_ON(parent_rate > (u64)LONG_MAX); parent_rate 778 drivers/clk/bcm/clk-kona.c scaled_rate = scale_rate(pre_div, parent_rate); parent_rate 784 drivers/clk/bcm/clk-kona.c scaled_parent_rate = scale_rate(div, parent_rate); parent_rate 999 drivers/clk/bcm/clk-kona.c unsigned long parent_rate) parent_rate 1005 drivers/clk/bcm/clk-kona.c parent_rate); parent_rate 1009 drivers/clk/bcm/clk-kona.c unsigned long *parent_rate) parent_rate 1019 drivers/clk/bcm/clk-kona.c rate ? rate : 1, *parent_rate, NULL); parent_rate 1027 drivers/clk/bcm/clk-kona.c unsigned long parent_rate; parent_rate 1052 drivers/clk/bcm/clk-kona.c parent_rate = clk_hw_get_rate(current_parent); parent_rate 1053 drivers/clk/bcm/clk-kona.c best_rate = kona_peri_clk_round_rate(hw, req->rate, &parent_rate); parent_rate 1067 drivers/clk/bcm/clk-kona.c parent_rate = clk_hw_get_rate(parent); parent_rate 1069 drivers/clk/bcm/clk-kona.c &parent_rate); parent_rate 1075 drivers/clk/bcm/clk-kona.c req->best_parent_rate = parent_rate; parent_rate 1131 drivers/clk/bcm/clk-kona.c unsigned long parent_rate) parent_rate 1139 drivers/clk/bcm/clk-kona.c if (parent_rate > (unsigned long)LONG_MAX) parent_rate 1146 drivers/clk/bcm/clk-kona.c return rate == parent_rate ? 0 : -EINVAL; parent_rate 1154 drivers/clk/bcm/clk-kona.c return rate == parent_rate ? 0 : -EINVAL; parent_rate 1162 drivers/clk/bcm/clk-kona.c rate ? rate : 1, parent_rate, &scaled_div); parent_rate 104 drivers/clk/bcm/clk-raspberrypi.c unsigned long parent_rate) parent_rate 122 drivers/clk/bcm/clk-raspberrypi.c unsigned long parent_rate) parent_rate 156 drivers/clk/berlin/berlin2-avpll.c berlin2_avpll_vco_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 160 drivers/clk/berlin/berlin2-avpll.c u64 freq = parent_rate; parent_rate 252 drivers/clk/berlin/berlin2-avpll.c berlin2_avpll_channel_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 256 drivers/clk/berlin/berlin2-avpll.c u64 freq = parent_rate; parent_rate 177 drivers/clk/berlin/berlin2-div.c unsigned long parent_rate) parent_rate 209 drivers/clk/berlin/berlin2-div.c return parent_rate / divider; parent_rate 42 drivers/clk/berlin/berlin2-pll.c berlin2_pll_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 47 drivers/clk/berlin/berlin2-pll.c u64 rate = parent_rate; parent_rate 250 drivers/clk/clk-axi-clkgen.c unsigned long rate, unsigned long parent_rate) parent_rate 261 drivers/clk/clk-axi-clkgen.c if (parent_rate == 0 || rate == 0) parent_rate 264 drivers/clk/clk-axi-clkgen.c axi_clkgen_calc_params(parent_rate, rate, &d, &m, &dout); parent_rate 300 drivers/clk/clk-axi-clkgen.c unsigned long *parent_rate) parent_rate 305 drivers/clk/clk-axi-clkgen.c axi_clkgen_calc_params(*parent_rate, rate, &d, &m, &dout); parent_rate 310 drivers/clk/clk-axi-clkgen.c tmp = (unsigned long long)*parent_rate * m; parent_rate 317 drivers/clk/clk-axi-clkgen.c unsigned long parent_rate) parent_rate 349 drivers/clk/clk-axi-clkgen.c tmp = (unsigned long long)parent_rate * m; parent_rate 48 drivers/clk/clk-axm5516.c axxia_pllclk_recalc(struct clk_hw *hw, unsigned long parent_rate) parent_rate 59 drivers/clk/clk-axm5516.c rate = (parent_rate / (refdiv * postdiv)) * fbdiv; parent_rate 87 drivers/clk/clk-axm5516.c axxia_divclk_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 96 drivers/clk/clk-axm5516.c return parent_rate / div; parent_rate 163 drivers/clk/clk-cdce706.c unsigned long parent_rate) parent_rate 173 drivers/clk/clk-cdce706.c u64 res = (u64)parent_rate * hwd->mul; parent_rate 180 drivers/clk/clk-cdce706.c return parent_rate / hwd->div; parent_rate 186 drivers/clk/clk-cdce706.c unsigned long *parent_rate) parent_rate 194 drivers/clk/clk-cdce706.c __func__, rate, *parent_rate); parent_rate 196 drivers/clk/clk-cdce706.c rational_best_approximation(rate, *parent_rate, parent_rate 206 drivers/clk/clk-cdce706.c res = (u64)*parent_rate * hwd->mul; parent_rate 212 drivers/clk/clk-cdce706.c unsigned long parent_rate) parent_rate 278 drivers/clk/clk-cdce706.c unsigned long parent_rate) parent_rate 286 drivers/clk/clk-cdce706.c return parent_rate / hwd->div; parent_rate 291 drivers/clk/clk-cdce706.c unsigned long *parent_rate) parent_rate 299 drivers/clk/clk-cdce706.c __func__, rate, *parent_rate); parent_rate 301 drivers/clk/clk-cdce706.c rational_best_approximation(rate, *parent_rate, parent_rate 346 drivers/clk/clk-cdce706.c __func__, *parent_rate, rate * div); parent_rate 347 drivers/clk/clk-cdce706.c *parent_rate = rate * div; parent_rate 355 drivers/clk/clk-cdce706.c return *parent_rate / div; parent_rate 359 drivers/clk/clk-cdce706.c unsigned long parent_rate) parent_rate 418 drivers/clk/clk-cdce706.c unsigned long parent_rate) parent_rate 420 drivers/clk/clk-cdce706.c return parent_rate; parent_rate 424 drivers/clk/clk-cdce706.c unsigned long *parent_rate) parent_rate 426 drivers/clk/clk-cdce706.c *parent_rate = rate; parent_rate 431 drivers/clk/clk-cdce706.c unsigned long parent_rate) parent_rate 92 drivers/clk/clk-cdce925.c static unsigned long cdce925_pll_calculate_rate(unsigned long parent_rate, parent_rate 96 drivers/clk/clk-cdce925.c return parent_rate; /* In bypass mode runs at same frequency */ parent_rate 97 drivers/clk/clk-cdce925.c return mult_frac(parent_rate, (unsigned long)n, (unsigned long)m); parent_rate 101 drivers/clk/clk-cdce925.c unsigned long parent_rate) parent_rate 106 drivers/clk/clk-cdce925.c return cdce925_pll_calculate_rate(parent_rate, data->n, data->m); parent_rate 110 drivers/clk/clk-cdce925.c unsigned long parent_rate, u16 *n, u16 *m) parent_rate 116 drivers/clk/clk-cdce925.c if (rate <= parent_rate) { parent_rate 118 drivers/clk/clk-cdce925.c rate = parent_rate; parent_rate 128 drivers/clk/clk-cdce925.c g = gcd(rate, parent_rate); parent_rate 129 drivers/clk/clk-cdce925.c um = parent_rate / g; parent_rate 147 drivers/clk/clk-cdce925.c unsigned long *parent_rate) parent_rate 151 drivers/clk/clk-cdce925.c cdce925_pll_find_rate(rate, *parent_rate, &n, &m); parent_rate 152 drivers/clk/clk-cdce925.c return (long)cdce925_pll_calculate_rate(*parent_rate, n, m); parent_rate 156 drivers/clk/clk-cdce925.c unsigned long parent_rate) parent_rate 160 drivers/clk/clk-cdce925.c if (!rate || (rate == parent_rate)) { parent_rate 172 drivers/clk/clk-cdce925.c if (rate < parent_rate) { parent_rate 174 drivers/clk/clk-cdce925.c rate, parent_rate); parent_rate 178 drivers/clk/clk-cdce925.c cdce925_pll_find_rate(rate, parent_rate, &data->n, &data->m); parent_rate 369 drivers/clk/clk-cdce925.c unsigned long parent_rate) parent_rate 374 drivers/clk/clk-cdce925.c return parent_rate / data->pdiv; parent_rate 379 drivers/clk/clk-cdce925.c unsigned long parent_rate) parent_rate 385 drivers/clk/clk-cdce925.c if (rate >= parent_rate) parent_rate 388 drivers/clk/clk-cdce925.c divider = DIV_ROUND_CLOSEST(parent_rate, rate); parent_rate 439 drivers/clk/clk-cdce925.c unsigned long *parent_rate) parent_rate 441 drivers/clk/clk-cdce925.c unsigned long l_parent_rate = *parent_rate; parent_rate 447 drivers/clk/clk-cdce925.c *parent_rate = l_parent_rate; parent_rate 456 drivers/clk/clk-cdce925.c unsigned long parent_rate) parent_rate 460 drivers/clk/clk-cdce925.c data->pdiv = cdce925_calc_divider(rate, parent_rate); parent_rate 475 drivers/clk/clk-cdce925.c unsigned long parent_rate) parent_rate 481 drivers/clk/clk-cdce925.c if (rate >= parent_rate) parent_rate 484 drivers/clk/clk-cdce925.c divider = DIV_ROUND_CLOSEST(parent_rate, rate); parent_rate 492 drivers/clk/clk-cdce925.c unsigned long *parent_rate) parent_rate 494 drivers/clk/clk-cdce925.c unsigned long l_parent_rate = *parent_rate; parent_rate 503 drivers/clk/clk-cdce925.c unsigned long parent_rate) parent_rate 507 drivers/clk/clk-cdce925.c data->pdiv = cdce925_y1_calc_divider(rate, parent_rate); parent_rate 33 drivers/clk/clk-composite.c unsigned long parent_rate) parent_rate 41 drivers/clk/clk-composite.c return rate_ops->recalc_rate(rate_hw, parent_rate); parent_rate 53 drivers/clk/clk-composite.c unsigned long parent_rate; parent_rate 86 drivers/clk/clk-composite.c parent_rate = clk_hw_get_rate(parent); parent_rate 89 drivers/clk/clk-composite.c &parent_rate); parent_rate 98 drivers/clk/clk-composite.c req->best_parent_rate = parent_rate; parent_rate 131 drivers/clk/clk-composite.c unsigned long parent_rate) parent_rate 139 drivers/clk/clk-composite.c return rate_ops->set_rate(rate_hw, rate, parent_rate); parent_rate 144 drivers/clk/clk-composite.c unsigned long parent_rate, parent_rate 157 drivers/clk/clk-composite.c temp_rate = rate_ops->recalc_rate(rate_hw, parent_rate); parent_rate 159 drivers/clk/clk-composite.c rate_ops->set_rate(rate_hw, rate, parent_rate); parent_rate 163 drivers/clk/clk-composite.c rate_ops->set_rate(rate_hw, rate, parent_rate); parent_rate 289 drivers/clk/clk-cs2000-cp.c unsigned long parent_rate) parent_rate 297 drivers/clk/clk-cs2000-cp.c return cs2000_ratio_to_rate(ratio, parent_rate); parent_rate 301 drivers/clk/clk-cs2000-cp.c unsigned long *parent_rate) parent_rate 305 drivers/clk/clk-cs2000-cp.c ratio = cs2000_rate_to_ratio(*parent_rate, rate); parent_rate 307 drivers/clk/clk-cs2000-cp.c return cs2000_ratio_to_rate(ratio, *parent_rate); parent_rate 311 drivers/clk/clk-cs2000-cp.c unsigned long rate, unsigned long parent_rate) parent_rate 316 drivers/clk/clk-cs2000-cp.c ret = cs2000_clk_in_bound_rate(priv, parent_rate); parent_rate 320 drivers/clk/clk-cs2000-cp.c ret = cs2000_ratio_set(priv, ch, parent_rate, rate); parent_rate 329 drivers/clk/clk-cs2000-cp.c priv->saved_parent_rate = parent_rate; parent_rate 335 drivers/clk/clk-cs2000-cp.c unsigned long rate, unsigned long parent_rate) parent_rate 340 drivers/clk/clk-cs2000-cp.c return __cs2000_set_rate(priv, ch, rate, parent_rate); parent_rate 129 drivers/clk/clk-divider.c unsigned long divider_recalc_rate(struct clk_hw *hw, unsigned long parent_rate, parent_rate 141 drivers/clk/clk-divider.c return parent_rate; parent_rate 144 drivers/clk/clk-divider.c return DIV_ROUND_UP_ULL((u64)parent_rate, div); parent_rate 149 drivers/clk/clk-divider.c unsigned long parent_rate) parent_rate 157 drivers/clk/clk-divider.c return divider_recalc_rate(hw, parent_rate, val, divider->table, parent_rate 219 drivers/clk/clk-divider.c unsigned long parent_rate, unsigned long rate, parent_rate 222 drivers/clk/clk-divider.c int div = DIV_ROUND_UP_ULL((u64)parent_rate, rate); parent_rate 233 drivers/clk/clk-divider.c unsigned long parent_rate, unsigned long rate, parent_rate 239 drivers/clk/clk-divider.c up = DIV_ROUND_UP_ULL((u64)parent_rate, rate); parent_rate 240 drivers/clk/clk-divider.c down = parent_rate / rate; parent_rate 250 drivers/clk/clk-divider.c up_rate = DIV_ROUND_UP_ULL((u64)parent_rate, up); parent_rate 251 drivers/clk/clk-divider.c down_rate = DIV_ROUND_UP_ULL((u64)parent_rate, down); parent_rate 257 drivers/clk/clk-divider.c unsigned long parent_rate, unsigned long rate, parent_rate 261 drivers/clk/clk-divider.c return _div_round_closest(table, parent_rate, rate, flags); parent_rate 263 drivers/clk/clk-divider.c return _div_round_up(table, parent_rate, rate, flags); parent_rate 295 drivers/clk/clk-divider.c unsigned long parent_rate, best = 0, now, maxdiv; parent_rate 304 drivers/clk/clk-divider.c parent_rate = *best_parent_rate; parent_rate 305 drivers/clk/clk-divider.c bestdiv = _div_round(table, parent_rate, rate, flags); parent_rate 328 drivers/clk/clk-divider.c parent_rate = clk_hw_round_rate(parent, rate * i); parent_rate 329 drivers/clk/clk-divider.c now = DIV_ROUND_UP_ULL((u64)parent_rate, i); parent_rate 333 drivers/clk/clk-divider.c *best_parent_rate = parent_rate; parent_rate 401 drivers/clk/clk-divider.c int divider_get_val(unsigned long rate, unsigned long parent_rate, parent_rate 407 drivers/clk/clk-divider.c div = DIV_ROUND_UP_ULL((u64)parent_rate, rate); parent_rate 419 drivers/clk/clk-divider.c unsigned long parent_rate) parent_rate 426 drivers/clk/clk-divider.c value = divider_get_val(rate, parent_rate, divider->table, parent_rate 23 drivers/clk/clk-fixed-factor.c unsigned long parent_rate) parent_rate 28 drivers/clk/clk-fixed-factor.c rate = (unsigned long long int)parent_rate * fix->mult; parent_rate 49 drivers/clk/clk-fixed-factor.c unsigned long parent_rate) parent_rate 28 drivers/clk/clk-fixed-rate.c unsigned long parent_rate) parent_rate 34 drivers/clk/clk-fractional-divider.c unsigned long parent_rate) parent_rate 63 drivers/clk/clk-fractional-divider.c return parent_rate; parent_rate 65 drivers/clk/clk-fractional-divider.c ret = (u64)parent_rate * m; parent_rate 72 drivers/clk/clk-fractional-divider.c unsigned long *parent_rate, parent_rate 83 drivers/clk/clk-fractional-divider.c scale = fls_long(*parent_rate / rate - 1); parent_rate 87 drivers/clk/clk-fractional-divider.c rational_best_approximation(rate, *parent_rate, parent_rate 93 drivers/clk/clk-fractional-divider.c unsigned long *parent_rate) parent_rate 99 drivers/clk/clk-fractional-divider.c if (!rate || (!clk_hw_can_set_rate_parent(hw) && rate >= *parent_rate)) parent_rate 100 drivers/clk/clk-fractional-divider.c return *parent_rate; parent_rate 103 drivers/clk/clk-fractional-divider.c fd->approximation(hw, rate, parent_rate, &m, &n); parent_rate 105 drivers/clk/clk-fractional-divider.c clk_fd_general_approximation(hw, rate, parent_rate, &m, &n); parent_rate 107 drivers/clk/clk-fractional-divider.c ret = (u64)*parent_rate * m; parent_rate 114 drivers/clk/clk-fractional-divider.c unsigned long parent_rate) parent_rate 121 drivers/clk/clk-fractional-divider.c rational_best_approximation(rate, parent_rate, parent_rate 120 drivers/clk/clk-gemini.c unsigned long parent_rate) parent_rate 141 drivers/clk/clk-gemini.c unsigned long parent_rate) parent_rate 26 drivers/clk/clk-hi655x.c unsigned long parent_rate) parent_rate 94 drivers/clk/clk-highbank.c unsigned long parent_rate) parent_rate 101 drivers/clk/clk-highbank.c return parent_rate; parent_rate 105 drivers/clk/clk-highbank.c vco_freq = parent_rate * (divf + 1); parent_rate 135 drivers/clk/clk-highbank.c unsigned long *parent_rate) parent_rate 138 drivers/clk/clk-highbank.c unsigned long ref_freq = *parent_rate; parent_rate 146 drivers/clk/clk-highbank.c unsigned long parent_rate) parent_rate 152 drivers/clk/clk-highbank.c clk_pll_calc(rate, parent_rate, &divq, &divf); parent_rate 194 drivers/clk/clk-highbank.c unsigned long parent_rate) parent_rate 198 drivers/clk/clk-highbank.c return parent_rate / div; parent_rate 206 drivers/clk/clk-highbank.c unsigned long parent_rate) parent_rate 211 drivers/clk/clk-highbank.c return parent_rate / (div + 2); parent_rate 219 drivers/clk/clk-highbank.c unsigned long parent_rate) parent_rate 228 drivers/clk/clk-highbank.c return parent_rate / div; parent_rate 232 drivers/clk/clk-highbank.c unsigned long *parent_rate) parent_rate 236 drivers/clk/clk-highbank.c div = *parent_rate / rate; parent_rate 240 drivers/clk/clk-highbank.c return *parent_rate / div; parent_rate 244 drivers/clk/clk-highbank.c unsigned long parent_rate) parent_rate 249 drivers/clk/clk-highbank.c div = parent_rate / rate; parent_rate 164 drivers/clk/clk-hsdk-pll.c unsigned long parent_rate) parent_rate 181 drivers/clk/clk-hsdk-pll.c return parent_rate; parent_rate 190 drivers/clk/clk-hsdk-pll.c rate = (u64)parent_rate * fbdiv; parent_rate 274 drivers/clk/clk-hsdk-pll.c unsigned long parent_rate) parent_rate 288 drivers/clk/clk-hsdk-pll.c parent_rate); parent_rate 135 drivers/clk/clk-max77686.c unsigned long parent_rate) parent_rate 130 drivers/clk/clk-max9485.c unsigned long parent_rate) parent_rate 148 drivers/clk/clk-max9485.c unsigned long parent_rate) parent_rate 163 drivers/clk/clk-max9485.c unsigned long *parent_rate) parent_rate 377 drivers/clk/clk-milbeaut.c unsigned long parent_rate) parent_rate 385 drivers/clk/clk-milbeaut.c return divider_recalc_rate(hw, parent_rate, val, divider->table, parent_rate 411 drivers/clk/clk-milbeaut.c unsigned long parent_rate) parent_rate 419 drivers/clk/clk-milbeaut.c value = divider_get_val(rate, parent_rate, divider->table, parent_rate 33 drivers/clk/clk-multiplier.c unsigned long parent_rate) parent_rate 36 drivers/clk/clk-multiplier.c return DIV_ROUND_CLOSEST(rate, parent_rate); parent_rate 38 drivers/clk/clk-multiplier.c return rate / parent_rate; parent_rate 42 drivers/clk/clk-multiplier.c unsigned long parent_rate) parent_rate 53 drivers/clk/clk-multiplier.c return parent_rate * val; parent_rate 71 drivers/clk/clk-multiplier.c unsigned long parent_rate, current_rate, best_rate = ~0; parent_rate 101 drivers/clk/clk-multiplier.c parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), parent_rate 103 drivers/clk/clk-multiplier.c current_rate = parent_rate * i; parent_rate 108 drivers/clk/clk-multiplier.c *best_parent_rate = parent_rate; parent_rate 116 drivers/clk/clk-multiplier.c unsigned long *parent_rate) parent_rate 119 drivers/clk/clk-multiplier.c unsigned long factor = __bestmult(hw, rate, parent_rate, parent_rate 122 drivers/clk/clk-multiplier.c return *parent_rate * factor; parent_rate 126 drivers/clk/clk-multiplier.c unsigned long parent_rate) parent_rate 129 drivers/clk/clk-multiplier.c unsigned long factor = __get_mult(mult, rate, parent_rate); parent_rate 219 drivers/clk/clk-nomadik.c unsigned long parent_rate) parent_rate 233 drivers/clk/clk-nomadik.c return (parent_rate * mul) >> div; parent_rate 241 drivers/clk/clk-nomadik.c return (parent_rate * mul); parent_rate 336 drivers/clk/clk-nomadik.c unsigned long parent_rate) parent_rate 338 drivers/clk/clk-nomadik.c return parent_rate; parent_rate 39 drivers/clk/clk-npcm7xx.c unsigned long parent_rate) parent_rate 46 drivers/clk/clk-npcm7xx.c if (parent_rate == 0) { parent_rate 58 drivers/clk/clk-npcm7xx.c ret = (u64)parent_rate * fbdv; parent_rate 56 drivers/clk/clk-palmas.c unsigned long parent_rate) parent_rate 40 drivers/clk/clk-pwm.c unsigned long parent_rate) parent_rate 24 drivers/clk/clk-rk808.c unsigned long parent_rate) parent_rate 69 drivers/clk/clk-s2mps11.c unsigned long parent_rate) parent_rate 26 drivers/clk/clk-scmi.c unsigned long parent_rate) parent_rate 39 drivers/clk/clk-scmi.c unsigned long *parent_rate) parent_rate 68 drivers/clk/clk-scmi.c unsigned long parent_rate) parent_rate 29 drivers/clk/clk-scpi.c unsigned long parent_rate) parent_rate 37 drivers/clk/clk-scpi.c unsigned long *parent_rate) parent_rate 49 drivers/clk/clk-scpi.c unsigned long parent_rate) parent_rate 83 drivers/clk/clk-scpi.c unsigned long parent_rate) parent_rate 97 drivers/clk/clk-scpi.c unsigned long *parent_rate) parent_rate 116 drivers/clk/clk-scpi.c unsigned long parent_rate) parent_rate 215 drivers/clk/clk-si514.c unsigned long parent_rate) parent_rate 231 drivers/clk/clk-si514.c unsigned long *parent_rate) parent_rate 252 drivers/clk/clk-si514.c unsigned long parent_rate) parent_rate 351 drivers/clk/clk-si5341.c unsigned long parent_rate) parent_rate 381 drivers/clk/clk-si5341.c res *= parent_rate; parent_rate 473 drivers/clk/clk-si5341.c unsigned long parent_rate) parent_rate 501 drivers/clk/clk-si5341.c unsigned long *parent_rate) parent_rate 540 drivers/clk/clk-si5341.c unsigned long parent_rate) parent_rate 628 drivers/clk/clk-si5341.c unsigned long parent_rate) parent_rate 660 drivers/clk/clk-si5341.c return parent_rate / r_divider; parent_rate 664 drivers/clk/clk-si5341.c unsigned long *parent_rate) parent_rate 668 drivers/clk/clk-si5341.c r = *parent_rate >> 1; parent_rate 682 drivers/clk/clk-si5341.c *parent_rate = r * rate; parent_rate 686 drivers/clk/clk-si5341.c rate = *parent_rate / (r << 1); parent_rate 693 drivers/clk/clk-si5341.c unsigned long parent_rate) parent_rate 697 drivers/clk/clk-si5341.c u32 r_div = (parent_rate / rate) >> 1; parent_rate 266 drivers/clk/clk-si5351.c unsigned long parent_rate) parent_rate 273 drivers/clk/clk-si5351.c rate = parent_rate; parent_rate 274 drivers/clk/clk-si5351.c if (parent_rate > 160000000) { parent_rate 277 drivers/clk/clk-si5351.c } else if (parent_rate > 80000000) { parent_rate 280 drivers/clk/clk-si5351.c } else if (parent_rate > 40000000) { parent_rate 321 drivers/clk/clk-si5351.c unsigned long parent_rate) parent_rate 415 drivers/clk/clk-si5351.c unsigned long parent_rate) parent_rate 427 drivers/clk/clk-si5351.c return parent_rate; parent_rate 433 drivers/clk/clk-si5351.c rate *= parent_rate; parent_rate 440 drivers/clk/clk-si5351.c parent_rate, (unsigned long)rate); parent_rate 446 drivers/clk/clk-si5351.c unsigned long *parent_rate) parent_rate 459 drivers/clk/clk-si5351.c a = rate / *parent_rate; parent_rate 462 drivers/clk/clk-si5351.c rate = *parent_rate * SI5351_PLL_A_MIN; parent_rate 464 drivers/clk/clk-si5351.c rate = *parent_rate * SI5351_PLL_A_MAX; parent_rate 468 drivers/clk/clk-si5351.c lltmp = rate % (*parent_rate); parent_rate 470 drivers/clk/clk-si5351.c do_div(lltmp, *parent_rate); parent_rate 487 drivers/clk/clk-si5351.c lltmp = *parent_rate; parent_rate 492 drivers/clk/clk-si5351.c rate += *parent_rate * a; parent_rate 497 drivers/clk/clk-si5351.c *parent_rate, rate); parent_rate 503 drivers/clk/clk-si5351.c unsigned long parent_rate) parent_rate 527 drivers/clk/clk-si5351.c parent_rate, rate); parent_rate 600 drivers/clk/clk-si5351.c unsigned long parent_rate) parent_rate 615 drivers/clk/clk-si5351.c rate = parent_rate; parent_rate 619 drivers/clk/clk-si5351.c return parent_rate; parent_rate 638 drivers/clk/clk-si5351.c m, parent_rate, (unsigned long)rate); parent_rate 644 drivers/clk/clk-si5351.c unsigned long *parent_rate) parent_rate 682 drivers/clk/clk-si5351.c *parent_rate = a * rate; parent_rate 685 drivers/clk/clk-si5351.c a = DIV_ROUND_CLOSEST(*parent_rate, rate); parent_rate 703 drivers/clk/clk-si5351.c a = *parent_rate / rate; parent_rate 711 drivers/clk/clk-si5351.c lltmp = (*parent_rate) % rate; parent_rate 725 drivers/clk/clk-si5351.c lltmp = *parent_rate; parent_rate 750 drivers/clk/clk-si5351.c *parent_rate, rate); parent_rate 756 drivers/clk/clk-si5351.c unsigned long parent_rate) parent_rate 783 drivers/clk/clk-si5351.c divby4, parent_rate, rate); parent_rate 1005 drivers/clk/clk-si5351.c unsigned long parent_rate) parent_rate 1025 drivers/clk/clk-si5351.c return parent_rate >> rdiv; parent_rate 1029 drivers/clk/clk-si5351.c unsigned long *parent_rate) parent_rate 1054 drivers/clk/clk-si5351.c *parent_rate = rate; parent_rate 1060 drivers/clk/clk-si5351.c new_rate = *parent_rate; parent_rate 1071 drivers/clk/clk-si5351.c rate = *parent_rate >> rdiv; parent_rate 1076 drivers/clk/clk-si5351.c *parent_rate, rate); parent_rate 1082 drivers/clk/clk-si5351.c unsigned long parent_rate) parent_rate 1091 drivers/clk/clk-si5351.c new_rate = parent_rate; parent_rate 1127 drivers/clk/clk-si5351.c parent_rate, rate); parent_rate 317 drivers/clk/clk-si544.c unsigned long parent_rate) parent_rate 331 drivers/clk/clk-si544.c unsigned long *parent_rate) parent_rate 361 drivers/clk/clk-si544.c unsigned long parent_rate) parent_rate 221 drivers/clk/clk-si570.c unsigned long parent_rate) parent_rate 241 drivers/clk/clk-si570.c unsigned long *parent_rate) parent_rate 334 drivers/clk/clk-si570.c unsigned long parent_rate) parent_rate 420 drivers/clk/clk-stm32f4.c unsigned long parent_rate) parent_rate 425 drivers/clk/clk-stm32f4.c return parent_rate * 2; parent_rate 427 drivers/clk/clk-stm32f4.c return parent_rate; parent_rate 449 drivers/clk/clk-stm32f4.c unsigned long parent_rate) parent_rate 635 drivers/clk/clk-stm32f4.c unsigned long parent_rate) parent_rate 643 drivers/clk/clk-stm32f4.c return parent_rate * n; parent_rate 664 drivers/clk/clk-stm32f4.c unsigned long parent_rate) parent_rate 678 drivers/clk/clk-stm32f4.c n = rate / parent_rate; parent_rate 707 drivers/clk/clk-stm32f4.c unsigned long parent_rate) parent_rate 709 drivers/clk/clk-stm32f4.c return clk_divider_ops.recalc_rate(hw, parent_rate); parent_rate 719 drivers/clk/clk-stm32f4.c unsigned long parent_rate) parent_rate 731 drivers/clk/clk-stm32f4.c ret = clk_divider_ops.set_rate(hw, rate, parent_rate); parent_rate 432 drivers/clk/clk-stm32h7.c unsigned long parent_rate) parent_rate 452 drivers/clk/clk-stm32h7.c return parent_rate * mul; parent_rate 744 drivers/clk/clk-stm32h7.c unsigned long parent_rate) parent_rate 761 drivers/clk/clk-stm32h7.c return parent_rate; parent_rate 763 drivers/clk/clk-stm32h7.c rate = (u64)parent_rate * n; parent_rate 768 drivers/clk/clk-stm32h7.c rate1 = (u64)parent_rate * (u64)val; parent_rate 843 drivers/clk/clk-stm32h7.c unsigned long parent_rate) parent_rate 845 drivers/clk/clk-stm32h7.c return clk_divider_ops.recalc_rate(hw, parent_rate); parent_rate 855 drivers/clk/clk-stm32h7.c unsigned long parent_rate) parent_rate 868 drivers/clk/clk-stm32h7.c ret = clk_divider_ops.set_rate(hw, rate, parent_rate); parent_rate 822 drivers/clk/clk-stm32mp1.c unsigned long parent_rate) parent_rate 833 drivers/clk/clk-stm32mp1.c rate = (u64)parent_rate * divn; parent_rate 839 drivers/clk/clk-stm32mp1.c rate_frac = (u64)parent_rate * (u64)frac; parent_rate 917 drivers/clk/clk-stm32mp1.c unsigned long parent_rate) parent_rate 929 drivers/clk/clk-stm32mp1.c if (rate / parent_rate >= 4) parent_rate 936 drivers/clk/clk-stm32mp1.c unsigned long *parent_rate) parent_rate 938 drivers/clk/clk-stm32mp1.c unsigned long factor = __bestmult(hw, rate, *parent_rate); parent_rate 940 drivers/clk/clk-stm32mp1.c return *parent_rate * factor; parent_rate 944 drivers/clk/clk-stm32mp1.c unsigned long parent_rate) parent_rate 948 drivers/clk/clk-stm32mp1.c unsigned long factor = __bestmult(hw, rate, parent_rate); parent_rate 971 drivers/clk/clk-stm32mp1.c unsigned long parent_rate) parent_rate 982 drivers/clk/clk-stm32mp1.c return parent_rate; parent_rate 986 drivers/clk/clk-stm32mp1.c return parent_rate * mul; parent_rate 105 drivers/clk/clk-twl6040.c unsigned long parent_rate) parent_rate 566 drivers/clk/clk-u300.c unsigned long parent_rate) parent_rate 583 drivers/clk/clk-u300.c return parent_rate; /* 26 MHz */ parent_rate 596 drivers/clk/clk-u300.c return parent_rate; /* 52 MHz */ parent_rate 621 drivers/clk/clk-u300.c return parent_rate; /* 208 MHz */ parent_rate 628 drivers/clk/clk-u300.c return parent_rate; parent_rate 651 drivers/clk/clk-u300.c unsigned long parent_rate) parent_rate 981 drivers/clk/clk-u300.c unsigned long parent_rate) parent_rate 1039 drivers/clk/clk-u300.c return parent_rate; parent_rate 1065 drivers/clk/clk-u300.c unsigned long parent_rate) parent_rate 271 drivers/clk/clk-versaclock5.c unsigned long parent_rate) parent_rate 279 drivers/clk/clk-versaclock5.c parent_rate *= 2; parent_rate 281 drivers/clk/clk-versaclock5.c return parent_rate; parent_rate 285 drivers/clk/clk-versaclock5.c unsigned long *parent_rate) parent_rate 287 drivers/clk/clk-versaclock5.c if ((*parent_rate == rate) || ((*parent_rate * 2) == rate)) parent_rate 294 drivers/clk/clk-versaclock5.c unsigned long parent_rate) parent_rate 300 drivers/clk/clk-versaclock5.c if ((parent_rate * 2) == rate) parent_rate 319 drivers/clk/clk-versaclock5.c unsigned long parent_rate) parent_rate 329 drivers/clk/clk-versaclock5.c return parent_rate; parent_rate 335 drivers/clk/clk-versaclock5.c return parent_rate / 2; parent_rate 337 drivers/clk/clk-versaclock5.c return parent_rate / VC5_REF_DIVIDER_REF_DIV(div); parent_rate 341 drivers/clk/clk-versaclock5.c unsigned long *parent_rate) parent_rate 350 drivers/clk/clk-versaclock5.c if (*parent_rate <= 50000000) parent_rate 351 drivers/clk/clk-versaclock5.c return *parent_rate; parent_rate 353 drivers/clk/clk-versaclock5.c idiv = DIV_ROUND_UP(*parent_rate, rate); parent_rate 357 drivers/clk/clk-versaclock5.c return *parent_rate / idiv; parent_rate 361 drivers/clk/clk-versaclock5.c unsigned long parent_rate) parent_rate 369 drivers/clk/clk-versaclock5.c if (parent_rate <= 50000000) { parent_rate 377 drivers/clk/clk-versaclock5.c idiv = DIV_ROUND_UP(parent_rate, rate); parent_rate 402 drivers/clk/clk-versaclock5.c unsigned long parent_rate) parent_rate 415 drivers/clk/clk-versaclock5.c return (parent_rate * div_int) + ((parent_rate * div_frc) >> 24); parent_rate 419 drivers/clk/clk-versaclock5.c unsigned long *parent_rate) parent_rate 431 drivers/clk/clk-versaclock5.c div_int = rate / *parent_rate; parent_rate 433 drivers/clk/clk-versaclock5.c rate = *parent_rate * 0xfff; parent_rate 436 drivers/clk/clk-versaclock5.c div_frc = rate % *parent_rate; parent_rate 438 drivers/clk/clk-versaclock5.c do_div(div_frc, *parent_rate); parent_rate 443 drivers/clk/clk-versaclock5.c return (*parent_rate * div_int) + ((*parent_rate * div_frc) >> 24); parent_rate 447 drivers/clk/clk-versaclock5.c unsigned long parent_rate) parent_rate 469 drivers/clk/clk-versaclock5.c unsigned long parent_rate) parent_rate 474 drivers/clk/clk-versaclock5.c u32 f_in = parent_rate / 2; parent_rate 497 drivers/clk/clk-versaclock5.c unsigned long *parent_rate) parent_rate 501 drivers/clk/clk-versaclock5.c u32 f_in = *parent_rate / 2; parent_rate 529 drivers/clk/clk-versaclock5.c unsigned long parent_rate) parent_rate 115 drivers/clk/clk-vt8500.c unsigned long parent_rate) parent_rate 128 drivers/clk/clk-vt8500.c return parent_rate / div; parent_rate 158 drivers/clk/clk-vt8500.c unsigned long parent_rate) parent_rate 167 drivers/clk/clk-vt8500.c divisor = parent_rate / rate; parent_rate 350 drivers/clk/clk-vt8500.c static int vt8500_find_pll_bits(unsigned long rate, unsigned long parent_rate, parent_rate 356 drivers/clk/clk-vt8500.c if ((rate < parent_rate * 4) || (rate > parent_rate * 62)) { parent_rate 362 drivers/clk/clk-vt8500.c if (rate <= parent_rate * 31) parent_rate 368 drivers/clk/clk-vt8500.c *multiplier = rate / (parent_rate / *prediv); parent_rate 369 drivers/clk/clk-vt8500.c tclk = (parent_rate / *prediv) * *multiplier; parent_rate 390 drivers/clk/clk-vt8500.c unsigned long parent_rate, u32 *multiplier, u32 *divisor1, parent_rate 395 drivers/clk/clk-vt8500.c if (!parent_rate || (rate < 37500000) || (rate > 600000000)) parent_rate 407 drivers/clk/clk-vt8500.c rate_err = O1 % parent_rate; parent_rate 409 drivers/clk/clk-vt8500.c *multiplier = O1 / parent_rate; parent_rate 425 drivers/clk/clk-vt8500.c static u32 wm8750_get_filter(u32 parent_rate, u32 divisor1) parent_rate 428 drivers/clk/clk-vt8500.c u32 freq = (parent_rate / 1000000) / (divisor1 + 1); parent_rate 452 drivers/clk/clk-vt8500.c static int wm8750_find_pll_bits(unsigned long rate, unsigned long parent_rate, parent_rate 465 drivers/clk/clk-vt8500.c tclk = parent_rate * (mul + 1) / ((div1 + 1) * (1 << div2)); parent_rate 471 drivers/clk/clk-vt8500.c *filter = wm8750_get_filter(parent_rate, div1); parent_rate 495 drivers/clk/clk-vt8500.c *filter = wm8750_get_filter(parent_rate, *divisor1); parent_rate 500 drivers/clk/clk-vt8500.c static int wm8850_find_pll_bits(unsigned long rate, unsigned long parent_rate, parent_rate 513 drivers/clk/clk-vt8500.c tclk = parent_rate * ((mul + 1) * 2) / parent_rate 547 drivers/clk/clk-vt8500.c unsigned long parent_rate) parent_rate 559 drivers/clk/clk-vt8500.c ret = vt8500_find_pll_bits(rate, parent_rate, &mul, &div1); parent_rate 564 drivers/clk/clk-vt8500.c ret = wm8650_find_pll_bits(rate, parent_rate, &mul, &div1, &div2); parent_rate 569 drivers/clk/clk-vt8500.c ret = wm8750_find_pll_bits(rate, parent_rate, &filter, &mul, &div1, &div2); parent_rate 574 drivers/clk/clk-vt8500.c ret = wm8850_find_pll_bits(rate, parent_rate, &mul, &div1, &div2); parent_rate 637 drivers/clk/clk-vt8500.c unsigned long parent_rate) parent_rate 645 drivers/clk/clk-vt8500.c pll_freq = parent_rate * VT8500_PLL_MUL(pll_val); parent_rate 649 drivers/clk/clk-vt8500.c pll_freq = parent_rate * WM8650_PLL_MUL(pll_val); parent_rate 653 drivers/clk/clk-vt8500.c pll_freq = parent_rate * WM8750_PLL_MUL(pll_val); parent_rate 657 drivers/clk/clk-vt8500.c pll_freq = parent_rate * WM8850_PLL_MUL(pll_val); parent_rate 34 drivers/clk/clk-wm831x.c unsigned long parent_rate) parent_rate 114 drivers/clk/clk-wm831x.c unsigned long parent_rate) parent_rate 151 drivers/clk/clk-wm831x.c unsigned long parent_rate) parent_rate 71 drivers/clk/clk-xgene.c unsigned long parent_rate) parent_rate 90 drivers/clk/clk-xgene.c fvco = parent_rate * (N_DIV_RD(pll) + 4); parent_rate 100 drivers/clk/clk-xgene.c fref = parent_rate / nref; parent_rate 109 drivers/clk/clk-xgene.c fvco = parent_rate * SC_N_DIV_RD(pll); parent_rate 112 drivers/clk/clk-xgene.c clk_hw_get_name(hw), fvco / nout, parent_rate, parent_rate 238 drivers/clk/clk-xgene.c unsigned long parent_rate) parent_rate 257 drivers/clk/clk-xgene.c ret = (u64)parent_rate; parent_rate 269 drivers/clk/clk-xgene.c ret = (u64)parent_rate; parent_rate 275 drivers/clk/clk-xgene.c unsigned long *parent_rate) parent_rate 280 drivers/clk/clk-xgene.c if (!rate || rate >= *parent_rate) parent_rate 281 drivers/clk/clk-xgene.c return *parent_rate; parent_rate 285 drivers/clk/clk-xgene.c scale = DIV_ROUND_UP_ULL(ret, *parent_rate); parent_rate 287 drivers/clk/clk-xgene.c ret = (u64)*parent_rate * scale; parent_rate 294 drivers/clk/clk-xgene.c unsigned long parent_rate) parent_rate 308 drivers/clk/clk-xgene.c scale = DIV_ROUND_UP_ULL(ret, (u64)parent_rate); parent_rate 534 drivers/clk/clk-xgene.c unsigned long parent_rate) parent_rate 547 drivers/clk/clk-xgene.c parent_rate / data, parent_rate); parent_rate 549 drivers/clk/clk-xgene.c return parent_rate / data; parent_rate 552 drivers/clk/clk-xgene.c clk_hw_get_name(hw), parent_rate, parent_rate); parent_rate 553 drivers/clk/clk-xgene.c return parent_rate; parent_rate 558 drivers/clk/clk-xgene.c unsigned long parent_rate) parent_rate 571 drivers/clk/clk-xgene.c if (rate > parent_rate) parent_rate 572 drivers/clk/clk-xgene.c rate = parent_rate; parent_rate 573 drivers/clk/clk-xgene.c divider_save = divider = parent_rate / rate; /* Rounded down */ parent_rate 586 drivers/clk/clk-xgene.c parent_rate / divider_save); parent_rate 594 drivers/clk/clk-xgene.c return parent_rate / divider_save; parent_rate 601 drivers/clk/clk-xgene.c unsigned long parent_rate = *prate; parent_rate 606 drivers/clk/clk-xgene.c if (rate > parent_rate) parent_rate 607 drivers/clk/clk-xgene.c rate = parent_rate; parent_rate 608 drivers/clk/clk-xgene.c divider = parent_rate / rate; /* Rounded down */ parent_rate 613 drivers/clk/clk-xgene.c return parent_rate / divider; parent_rate 1557 drivers/clk/clk.c unsigned long parent_rate) parent_rate 1559 drivers/clk/clk.c unsigned long rate = parent_rate; parent_rate 1562 drivers/clk/clk.c rate = core->ops->recalc_rate(core->hw, parent_rate); parent_rate 1583 drivers/clk/clk.c unsigned long parent_rate = 0; parent_rate 1591 drivers/clk/clk.c parent_rate = core->parent->rate; parent_rate 1593 drivers/clk/clk.c core->rate = clk_recalc(core, parent_rate); parent_rate 1832 drivers/clk/clk.c unsigned long parent_rate) parent_rate 1840 drivers/clk/clk.c new_rate = clk_recalc(core, parent_rate); parent_rate 3847 drivers/clk/clk.c unsigned long parent_rate) parent_rate 67 drivers/clk/davinci/da8xx-cfgchip.c unsigned long parent_rate) parent_rate 70 drivers/clk/davinci/da8xx-cfgchip.c return parent_rate * 2 / 9; parent_rate 419 drivers/clk/davinci/da8xx-cfgchip.c unsigned long parent_rate) parent_rate 426 drivers/clk/davinci/da8xx-cfgchip.c switch (parent_rate) { parent_rate 465 drivers/clk/davinci/da8xx-cfgchip.c unsigned long *parent_rate) parent_rate 116 drivers/clk/davinci/pll.c unsigned long parent_rate) parent_rate 119 drivers/clk/davinci/pll.c unsigned long rate = parent_rate; parent_rate 133 drivers/clk/davinci/pll.c unsigned long parent_rate = req->best_parent_rate; parent_rate 143 drivers/clk/davinci/pll.c mult = rate / parent_rate; parent_rate 144 drivers/clk/davinci/pll.c best_rate = parent_rate * mult; parent_rate 163 drivers/clk/davinci/pll.c parent_rate = clk_hw_round_rate(parent, rate / mult); parent_rate 164 drivers/clk/davinci/pll.c r = parent_rate * mult; parent_rate 172 drivers/clk/davinci/pll.c req->best_parent_rate = parent_rate; parent_rate 182 drivers/clk/davinci/pll.c unsigned long parent_rate) parent_rate 187 drivers/clk/davinci/pll.c mult = rate / parent_rate; parent_rate 208 drivers/clk/davinci/pll.c unsigned long parent_rate) parent_rate 211 drivers/clk/davinci/pll.c unsigned long rate = parent_rate; parent_rate 29 drivers/clk/h8300/clk-h8s2678.c unsigned long parent_rate) parent_rate 34 drivers/clk/h8300/clk-h8s2678.c return parent_rate * mul; parent_rate 60 drivers/clk/h8300/clk-h8s2678.c unsigned long parent_rate) parent_rate 67 drivers/clk/h8300/clk-h8s2678.c pll = ((rate / parent_rate) / 2) & 0x03; parent_rate 263 drivers/clk/hisilicon/clk-hi3620.c unsigned long parent_rate) parent_rate 265 drivers/clk/hisilicon/clk-hi3620.c switch (parent_rate) { parent_rate 277 drivers/clk/hisilicon/clk-hi3620.c return parent_rate; parent_rate 399 drivers/clk/hisilicon/clk-hi3620.c unsigned long parent_rate) parent_rate 58 drivers/clk/hisilicon/clk-hi3660-stub.c unsigned long parent_rate) parent_rate 81 drivers/clk/hisilicon/clk-hi3660-stub.c unsigned long parent_rate) parent_rate 117 drivers/clk/hisilicon/clk-hi6220-stub.c unsigned long parent_rate) parent_rate 140 drivers/clk/hisilicon/clk-hi6220-stub.c unsigned long parent_rate) parent_rate 165 drivers/clk/hisilicon/clk-hi6220-stub.c unsigned long *parent_rate) parent_rate 46 drivers/clk/hisilicon/clkdivider-hi6220.c unsigned long parent_rate) parent_rate 54 drivers/clk/hisilicon/clkdivider-hi6220.c return divider_recalc_rate(hw, parent_rate, val, dclk->table, parent_rate 68 drivers/clk/hisilicon/clkdivider-hi6220.c unsigned long parent_rate) parent_rate 75 drivers/clk/hisilicon/clkdivider-hi6220.c value = divider_get_val(rate, parent_rate, dclk->table, parent_rate 41 drivers/clk/imx/clk-busy.c unsigned long parent_rate) parent_rate 45 drivers/clk/imx/clk-busy.c return busy->div_ops->recalc_rate(&busy->div.hw, parent_rate); parent_rate 57 drivers/clk/imx/clk-busy.c unsigned long parent_rate) parent_rate 62 drivers/clk/imx/clk-busy.c ret = busy->div_ops->set_rate(&busy->div.hw, rate, parent_rate); parent_rate 27 drivers/clk/imx/clk-composite-8m.c unsigned long parent_rate) parent_rate 37 drivers/clk/imx/clk-composite-8m.c prediv_rate = divider_recalc_rate(hw, parent_rate, prediv_value, parent_rate 49 drivers/clk/imx/clk-composite-8m.c unsigned long parent_rate, parent_rate 61 drivers/clk/imx/clk-composite-8m.c int new_error = ((parent_rate / div1) / div2) - rate; parent_rate 91 drivers/clk/imx/clk-composite-8m.c unsigned long parent_rate) parent_rate 100 drivers/clk/imx/clk-composite-8m.c ret = imx8m_clk_composite_compute_dividers(rate, parent_rate, parent_rate 25 drivers/clk/imx/clk-cpu.c unsigned long parent_rate) parent_rate 41 drivers/clk/imx/clk-cpu.c unsigned long parent_rate) parent_rate 27 drivers/clk/imx/clk-divider-gate.c unsigned long parent_rate) parent_rate 37 drivers/clk/imx/clk-divider-gate.c return divider_recalc_rate(hw, parent_rate, val, div->table, parent_rate 42 drivers/clk/imx/clk-divider-gate.c unsigned long parent_rate) parent_rate 63 drivers/clk/imx/clk-divider-gate.c return divider_recalc_rate(hw, parent_rate, val, div->table, parent_rate 74 drivers/clk/imx/clk-divider-gate.c unsigned long parent_rate) parent_rate 82 drivers/clk/imx/clk-divider-gate.c value = divider_get_val(rate, parent_rate, div->table, parent_rate 37 drivers/clk/imx/clk-fixup-div.c unsigned long parent_rate) parent_rate 41 drivers/clk/imx/clk-fixup-div.c return fixup_div->ops->recalc_rate(&fixup_div->divider.hw, parent_rate); parent_rate 53 drivers/clk/imx/clk-fixup-div.c unsigned long parent_rate) parent_rate 61 drivers/clk/imx/clk-fixup-div.c divider = parent_rate / rate; parent_rate 96 drivers/clk/imx/clk-frac-pll.c unsigned long parent_rate) parent_rate 100 drivers/clk/imx/clk-frac-pll.c u64 temp64 = parent_rate; parent_rate 114 drivers/clk/imx/clk-frac-pll.c rate = parent_rate * 8 * (divfi + 1); parent_rate 124 drivers/clk/imx/clk-frac-pll.c u64 parent_rate = *prate; parent_rate 128 drivers/clk/imx/clk-frac-pll.c parent_rate *= 8; parent_rate 131 drivers/clk/imx/clk-frac-pll.c do_div(temp64, parent_rate); parent_rate 133 drivers/clk/imx/clk-frac-pll.c temp64 = rate - divfi * parent_rate; parent_rate 135 drivers/clk/imx/clk-frac-pll.c do_div(temp64, parent_rate); parent_rate 138 drivers/clk/imx/clk-frac-pll.c temp64 = parent_rate; parent_rate 142 drivers/clk/imx/clk-frac-pll.c rate = parent_rate * divfi + temp64; parent_rate 155 drivers/clk/imx/clk-frac-pll.c unsigned long parent_rate) parent_rate 162 drivers/clk/imx/clk-frac-pll.c parent_rate *= 8; parent_rate 164 drivers/clk/imx/clk-frac-pll.c divfi = rate / parent_rate; parent_rate 165 drivers/clk/imx/clk-frac-pll.c temp64 = parent_rate * divfi; parent_rate 168 drivers/clk/imx/clk-frac-pll.c do_div(temp64, parent_rate); parent_rate 52 drivers/clk/imx/clk-pfd.c unsigned long parent_rate) parent_rate 55 drivers/clk/imx/clk-pfd.c u64 tmp = parent_rate; parent_rate 85 drivers/clk/imx/clk-pfd.c unsigned long parent_rate) parent_rate 88 drivers/clk/imx/clk-pfd.c u64 tmp = parent_rate; parent_rate 80 drivers/clk/imx/clk-pfdv2.c unsigned long parent_rate) parent_rate 83 drivers/clk/imx/clk-pfdv2.c u64 tmp = parent_rate; parent_rate 134 drivers/clk/imx/clk-pfdv2.c unsigned long parent_rate) parent_rate 138 drivers/clk/imx/clk-pfdv2.c u64 tmp = parent_rate; parent_rate 74 drivers/clk/imx/clk-pll14xx.c unsigned long parent_rate) parent_rate 78 drivers/clk/imx/clk-pll14xx.c u64 fvco = parent_rate; parent_rate 92 drivers/clk/imx/clk-pll14xx.c unsigned long parent_rate) parent_rate 97 drivers/clk/imx/clk-pll14xx.c u64 fvco = parent_rate; parent_rate 53 drivers/clk/imx/clk-pllv1.c unsigned long parent_rate) parent_rate 95 drivers/clk/imx/clk-pllv1.c rate = parent_rate * 2; parent_rate 78 drivers/clk/imx/clk-pllv2.c static unsigned long __clk_pllv2_recalc_rate(unsigned long parent_rate, parent_rate 94 drivers/clk/imx/clk-pllv2.c ref_clk = 2 * parent_rate; parent_rate 110 drivers/clk/imx/clk-pllv2.c unsigned long parent_rate) parent_rate 123 drivers/clk/imx/clk-pllv2.c return __clk_pllv2_recalc_rate(parent_rate, dp_ctl, dp_op, dp_mfd, dp_mfn); parent_rate 126 drivers/clk/imx/clk-pllv2.c static int __clk_pllv2_set_rate(unsigned long rate, unsigned long parent_rate, parent_rate 134 drivers/clk/imx/clk-pllv2.c quad_parent_rate = 4 * parent_rate; parent_rate 156 drivers/clk/imx/clk-pllv2.c unsigned long parent_rate) parent_rate 166 drivers/clk/imx/clk-pllv2.c ret = __clk_pllv2_set_rate(rate, parent_rate, &dp_op, &dp_mfd, &dp_mfn); parent_rate 114 drivers/clk/imx/clk-pllv3.c unsigned long parent_rate) parent_rate 119 drivers/clk/imx/clk-pllv3.c return (div == 1) ? parent_rate * 22 : parent_rate * 20; parent_rate 125 drivers/clk/imx/clk-pllv3.c unsigned long parent_rate = *prate; parent_rate 127 drivers/clk/imx/clk-pllv3.c return (rate >= parent_rate * 22) ? parent_rate * 22 : parent_rate 128 drivers/clk/imx/clk-pllv3.c parent_rate * 20; parent_rate 132 drivers/clk/imx/clk-pllv3.c unsigned long parent_rate) parent_rate 137 drivers/clk/imx/clk-pllv3.c if (rate == parent_rate * 22) parent_rate 139 drivers/clk/imx/clk-pllv3.c else if (rate == parent_rate * 20) parent_rate 162 drivers/clk/imx/clk-pllv3.c unsigned long parent_rate) parent_rate 167 drivers/clk/imx/clk-pllv3.c return parent_rate * div / 2; parent_rate 173 drivers/clk/imx/clk-pllv3.c unsigned long parent_rate = *prate; parent_rate 174 drivers/clk/imx/clk-pllv3.c unsigned long min_rate = parent_rate * 54 / 2; parent_rate 175 drivers/clk/imx/clk-pllv3.c unsigned long max_rate = parent_rate * 108 / 2; parent_rate 182 drivers/clk/imx/clk-pllv3.c div = rate * 2 / parent_rate; parent_rate 184 drivers/clk/imx/clk-pllv3.c return parent_rate * div / 2; parent_rate 188 drivers/clk/imx/clk-pllv3.c unsigned long parent_rate) parent_rate 191 drivers/clk/imx/clk-pllv3.c unsigned long min_rate = parent_rate * 54 / 2; parent_rate 192 drivers/clk/imx/clk-pllv3.c unsigned long max_rate = parent_rate * 108 / 2; parent_rate 198 drivers/clk/imx/clk-pllv3.c div = rate * 2 / parent_rate; parent_rate 217 drivers/clk/imx/clk-pllv3.c unsigned long parent_rate) parent_rate 223 drivers/clk/imx/clk-pllv3.c u64 temp64 = (u64)parent_rate; parent_rate 228 drivers/clk/imx/clk-pllv3.c return parent_rate * div + (unsigned long)temp64; parent_rate 234 drivers/clk/imx/clk-pllv3.c unsigned long parent_rate = *prate; parent_rate 235 drivers/clk/imx/clk-pllv3.c unsigned long min_rate = parent_rate * 27; parent_rate 236 drivers/clk/imx/clk-pllv3.c unsigned long max_rate = parent_rate * 54; parent_rate 247 drivers/clk/imx/clk-pllv3.c if (parent_rate <= max_mfd) parent_rate 248 drivers/clk/imx/clk-pllv3.c mfd = parent_rate; parent_rate 250 drivers/clk/imx/clk-pllv3.c div = rate / parent_rate; parent_rate 251 drivers/clk/imx/clk-pllv3.c temp64 = (u64) (rate - div * parent_rate); parent_rate 253 drivers/clk/imx/clk-pllv3.c do_div(temp64, parent_rate); parent_rate 256 drivers/clk/imx/clk-pllv3.c temp64 = (u64)parent_rate; parent_rate 260 drivers/clk/imx/clk-pllv3.c return parent_rate * div + (unsigned long)temp64; parent_rate 264 drivers/clk/imx/clk-pllv3.c unsigned long parent_rate) parent_rate 267 drivers/clk/imx/clk-pllv3.c unsigned long min_rate = parent_rate * 27; parent_rate 268 drivers/clk/imx/clk-pllv3.c unsigned long max_rate = parent_rate * 54; parent_rate 277 drivers/clk/imx/clk-pllv3.c if (parent_rate <= max_mfd) parent_rate 278 drivers/clk/imx/clk-pllv3.c mfd = parent_rate; parent_rate 280 drivers/clk/imx/clk-pllv3.c div = rate / parent_rate; parent_rate 281 drivers/clk/imx/clk-pllv3.c temp64 = (u64) (rate - div * parent_rate); parent_rate 283 drivers/clk/imx/clk-pllv3.c do_div(temp64, parent_rate); parent_rate 311 drivers/clk/imx/clk-pllv3.c static unsigned long clk_pllv3_vf610_mf_to_rate(unsigned long parent_rate, parent_rate 316 drivers/clk/imx/clk-pllv3.c temp64 = parent_rate; parent_rate 320 drivers/clk/imx/clk-pllv3.c return (parent_rate * mf.mfi) + temp64; parent_rate 324 drivers/clk/imx/clk-pllv3.c unsigned long parent_rate, unsigned long rate) parent_rate 329 drivers/clk/imx/clk-pllv3.c mf.mfi = (rate >= 22 * parent_rate) ? 22 : 20; parent_rate 332 drivers/clk/imx/clk-pllv3.c if (rate <= parent_rate * mf.mfi) parent_rate 334 drivers/clk/imx/clk-pllv3.c else if (rate >= parent_rate * (mf.mfi + 1)) parent_rate 338 drivers/clk/imx/clk-pllv3.c temp64 = rate - parent_rate * mf.mfi; parent_rate 340 drivers/clk/imx/clk-pllv3.c do_div(temp64, parent_rate); parent_rate 348 drivers/clk/imx/clk-pllv3.c unsigned long parent_rate) parent_rate 357 drivers/clk/imx/clk-pllv3.c return clk_pllv3_vf610_mf_to_rate(parent_rate, mf); parent_rate 369 drivers/clk/imx/clk-pllv3.c unsigned long parent_rate) parent_rate 373 drivers/clk/imx/clk-pllv3.c clk_pllv3_vf610_rate_to_mf(parent_rate, rate); parent_rate 399 drivers/clk/imx/clk-pllv3.c unsigned long parent_rate) parent_rate 68 drivers/clk/imx/clk-pllv4.c unsigned long parent_rate) parent_rate 80 drivers/clk/imx/clk-pllv4.c temp64 = parent_rate; parent_rate 84 drivers/clk/imx/clk-pllv4.c return (parent_rate * mult) + (u32)temp64; parent_rate 90 drivers/clk/imx/clk-pllv4.c unsigned long parent_rate = *prate; parent_rate 97 drivers/clk/imx/clk-pllv4.c round_rate = parent_rate * pllv4_mult_table[i]; parent_rate 106 drivers/clk/imx/clk-pllv4.c clk_hw_get_name(hw), rate, parent_rate); parent_rate 110 drivers/clk/imx/clk-pllv4.c if (parent_rate <= MAX_MFD) parent_rate 111 drivers/clk/imx/clk-pllv4.c mfd = parent_rate; parent_rate 115 drivers/clk/imx/clk-pllv4.c do_div(temp64, parent_rate); parent_rate 127 drivers/clk/imx/clk-pllv4.c temp64 = (u64)parent_rate; parent_rate 148 drivers/clk/imx/clk-pllv4.c unsigned long parent_rate) parent_rate 154 drivers/clk/imx/clk-pllv4.c mult = rate / parent_rate; parent_rate 159 drivers/clk/imx/clk-pllv4.c if (parent_rate <= MAX_MFD) parent_rate 160 drivers/clk/imx/clk-pllv4.c mfd = parent_rate; parent_rate 162 drivers/clk/imx/clk-pllv4.c temp64 = (u64)(rate - mult * parent_rate); parent_rate 164 drivers/clk/imx/clk-pllv4.c do_div(temp64, parent_rate); parent_rate 337 drivers/clk/imx/clk-sccg-pll.c unsigned long parent_rate) parent_rate 350 drivers/clk/imx/clk-sccg-pll.c temp64 = parent_rate; parent_rate 354 drivers/clk/imx/clk-sccg-pll.c temp64 = parent_rate; parent_rate 368 drivers/clk/imx/clk-sccg-pll.c unsigned long parent_rate) parent_rate 145 drivers/clk/imx/clk-scu.c unsigned long parent_rate) parent_rate 179 drivers/clk/imx/clk-scu.c unsigned long *parent_rate) parent_rate 189 drivers/clk/imx/clk-scu.c unsigned long parent_rate) parent_rate 217 drivers/clk/imx/clk-scu.c unsigned long parent_rate) parent_rate 71 drivers/clk/ingenic/cgu.c ingenic_pll_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 100 drivers/clk/ingenic/cgu.c return parent_rate; parent_rate 109 drivers/clk/ingenic/cgu.c return div_u64((u64)parent_rate * m, n * od); parent_rate 114 drivers/clk/ingenic/cgu.c unsigned long rate, unsigned long parent_rate, parent_rate 127 drivers/clk/ingenic/cgu.c n = parent_rate / (10 * MHZ); parent_rate 131 drivers/clk/ingenic/cgu.c m = (rate / MHZ) * od * n / (parent_rate / MHZ); parent_rate 142 drivers/clk/ingenic/cgu.c return div_u64((u64)parent_rate * m, n * od); parent_rate 169 drivers/clk/ingenic/cgu.c unsigned long parent_rate) parent_rate 179 drivers/clk/ingenic/cgu.c rate = ingenic_pll_calc(clk_info, req_rate, parent_rate, parent_rate 364 drivers/clk/ingenic/cgu.c ingenic_clk_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 369 drivers/clk/ingenic/cgu.c unsigned long rate = parent_rate; parent_rate 409 drivers/clk/ingenic/cgu.c unsigned long parent_rate, unsigned long req_rate) parent_rate 414 drivers/clk/ingenic/cgu.c div = DIV_ROUND_UP(parent_rate, req_rate); parent_rate 439 drivers/clk/ingenic/cgu.c unsigned long *parent_rate) parent_rate 449 drivers/clk/ingenic/cgu.c div = ingenic_clk_calc_div(clk_info, *parent_rate, req_rate); parent_rate 453 drivers/clk/ingenic/cgu.c return DIV_ROUND_UP(*parent_rate, div); parent_rate 458 drivers/clk/ingenic/cgu.c unsigned long parent_rate) parent_rate 472 drivers/clk/ingenic/cgu.c div = ingenic_clk_calc_div(clk_info, parent_rate, req_rate); parent_rate 473 drivers/clk/ingenic/cgu.c rate = DIV_ROUND_UP(parent_rate, div); parent_rate 120 drivers/clk/ingenic/jz4780-cgu.c unsigned long parent_rate) parent_rate 143 drivers/clk/ingenic/jz4780-cgu.c return parent_rate; parent_rate 147 drivers/clk/ingenic/jz4780-cgu.c unsigned long *parent_rate) parent_rate 162 drivers/clk/ingenic/jz4780-cgu.c unsigned long parent_rate) parent_rate 159 drivers/clk/ingenic/tcu.c unsigned long parent_rate) parent_rate 171 drivers/clk/ingenic/tcu.c return parent_rate >> (prescale * 2); parent_rate 186 drivers/clk/ingenic/tcu.c unsigned long *parent_rate) parent_rate 188 drivers/clk/ingenic/tcu.c unsigned long rate = *parent_rate; parent_rate 200 drivers/clk/ingenic/tcu.c unsigned long parent_rate) parent_rate 204 drivers/clk/ingenic/tcu.c u8 prescale = ingenic_tcu_get_prescale(parent_rate, req_rate); parent_rate 76 drivers/clk/keystone/pll.c unsigned long parent_rate) parent_rate 80 drivers/clk/keystone/pll.c unsigned long rate = parent_rate; parent_rate 143 drivers/clk/keystone/sci-clk.c unsigned long parent_rate) parent_rate 207 drivers/clk/keystone/sci-clk.c unsigned long parent_rate) parent_rate 20 drivers/clk/loongson1/clk-loongson1b.c unsigned long parent_rate) parent_rate 19 drivers/clk/loongson1/clk-loongson1c.c unsigned long parent_rate) parent_rate 197 drivers/clk/mediatek/clk-pll.c unsigned long parent_rate) parent_rate 203 drivers/clk/mediatek/clk-pll.c mtk_pll_calc_values(pll, &pcw, &postdiv, rate, parent_rate); parent_rate 210 drivers/clk/mediatek/clk-pll.c unsigned long parent_rate) parent_rate 222 drivers/clk/mediatek/clk-pll.c return __mtk_pll_recalc_rate(pll, parent_rate, pcw, postdiv); parent_rate 41 drivers/clk/meson/clk-cpu-dyndiv.c unsigned long parent_rate) parent_rate 48 drivers/clk/meson/clk-cpu-dyndiv.c ret = divider_get_val(rate, parent_rate, NULL, data->div.width, 0); parent_rate 37 drivers/clk/meson/clk-dualdiv.c __dualdiv_param_to_rate(unsigned long parent_rate, parent_rate 41 drivers/clk/meson/clk-dualdiv.c return DIV_ROUND_CLOSEST(parent_rate, p->n1); parent_rate 43 drivers/clk/meson/clk-dualdiv.c return DIV_ROUND_CLOSEST(parent_rate * (p->m1 + p->m2), parent_rate 48 drivers/clk/meson/clk-dualdiv.c unsigned long parent_rate) parent_rate 60 drivers/clk/meson/clk-dualdiv.c return __dualdiv_param_to_rate(parent_rate, &setting); parent_rate 64 drivers/clk/meson/clk-dualdiv.c __dualdiv_get_setting(unsigned long rate, unsigned long parent_rate, parent_rate 75 drivers/clk/meson/clk-dualdiv.c now = __dualdiv_param_to_rate(parent_rate, &table[i]); parent_rate 90 drivers/clk/meson/clk-dualdiv.c unsigned long *parent_rate) parent_rate 95 drivers/clk/meson/clk-dualdiv.c __dualdiv_get_setting(rate, *parent_rate, dualdiv); parent_rate 98 drivers/clk/meson/clk-dualdiv.c return meson_clk_dualdiv_recalc_rate(hw, *parent_rate); parent_rate 100 drivers/clk/meson/clk-dualdiv.c return __dualdiv_param_to_rate(*parent_rate, setting); parent_rate 104 drivers/clk/meson/clk-dualdiv.c unsigned long parent_rate) parent_rate 109 drivers/clk/meson/clk-dualdiv.c __dualdiv_get_setting(rate, parent_rate, dualdiv); parent_rate 31 drivers/clk/meson/clk-mpll.c static long rate_from_params(unsigned long parent_rate, parent_rate 40 drivers/clk/meson/clk-mpll.c return DIV_ROUND_UP_ULL((u64)parent_rate * SDM_DEN, divisor); parent_rate 44 drivers/clk/meson/clk-mpll.c unsigned long parent_rate, parent_rate 49 drivers/clk/meson/clk-mpll.c uint64_t div = parent_rate; parent_rate 76 drivers/clk/meson/clk-mpll.c unsigned long parent_rate) parent_rate 86 drivers/clk/meson/clk-mpll.c rate = rate_from_params(parent_rate, sdm, n2); parent_rate 92 drivers/clk/meson/clk-mpll.c unsigned long *parent_rate) parent_rate 98 drivers/clk/meson/clk-mpll.c params_from_rate(rate, *parent_rate, &sdm, &n2, mpll->flags); parent_rate 99 drivers/clk/meson/clk-mpll.c return rate_from_params(*parent_rate, sdm, n2); parent_rate 104 drivers/clk/meson/clk-mpll.c unsigned long parent_rate) parent_rate 111 drivers/clk/meson/clk-mpll.c params_from_rate(rate, parent_rate, &sdm, &n2, mpll->flags); parent_rate 55 drivers/clk/meson/clk-pll.c static unsigned long __pll_params_to_rate(unsigned long parent_rate, parent_rate 60 drivers/clk/meson/clk-pll.c u64 rate = (u64)parent_rate * m; parent_rate 63 drivers/clk/meson/clk-pll.c u64 frac_rate = (u64)parent_rate * frac; parent_rate 73 drivers/clk/meson/clk-pll.c unsigned long parent_rate) parent_rate 95 drivers/clk/meson/clk-pll.c return __pll_params_to_rate(parent_rate, m, n, frac, pll); parent_rate 99 drivers/clk/meson/clk-pll.c unsigned long parent_rate, parent_rate 108 drivers/clk/meson/clk-pll.c if (rate < parent_rate * m / n) parent_rate 112 drivers/clk/meson/clk-pll.c val = DIV_ROUND_CLOSEST_ULL(val * frac_max, parent_rate); parent_rate 114 drivers/clk/meson/clk-pll.c val = div_u64(val * frac_max, parent_rate); parent_rate 154 drivers/clk/meson/clk-pll.c unsigned long parent_rate, parent_rate 161 drivers/clk/meson/clk-pll.c return DIV_ROUND_CLOSEST_ULL(val, parent_rate); parent_rate 163 drivers/clk/meson/clk-pll.c return div_u64(val, parent_rate); parent_rate 167 drivers/clk/meson/clk-pll.c unsigned long parent_rate, parent_rate 181 drivers/clk/meson/clk-pll.c if (rate <= pll->range->min * parent_rate) { parent_rate 184 drivers/clk/meson/clk-pll.c } else if (rate >= pll->range->max * parent_rate) { parent_rate 190 drivers/clk/meson/clk-pll.c *m = meson_clk_get_pll_range_m(rate, parent_rate, *n, pll); parent_rate 200 drivers/clk/meson/clk-pll.c unsigned long parent_rate, parent_rate 207 drivers/clk/meson/clk-pll.c return meson_clk_get_pll_range_index(rate, parent_rate, parent_rate 216 drivers/clk/meson/clk-pll.c unsigned long parent_rate, parent_rate 226 drivers/clk/meson/clk-pll.c ret = meson_clk_get_pll_get_index(rate, parent_rate, parent_rate 231 drivers/clk/meson/clk-pll.c now = __pll_params_to_rate(parent_rate, m, n, 0, pll); parent_rate 246 drivers/clk/meson/clk-pll.c unsigned long *parent_rate) parent_rate 254 drivers/clk/meson/clk-pll.c ret = meson_clk_get_pll_settings(rate, *parent_rate, &m, &n, pll); parent_rate 256 drivers/clk/meson/clk-pll.c return meson_clk_pll_recalc_rate(hw, *parent_rate); parent_rate 258 drivers/clk/meson/clk-pll.c round = __pll_params_to_rate(*parent_rate, m, n, 0, pll); parent_rate 267 drivers/clk/meson/clk-pll.c frac = __pll_params_with_frac(rate, *parent_rate, m, n, pll); parent_rate 269 drivers/clk/meson/clk-pll.c return __pll_params_to_rate(*parent_rate, m, n, frac, pll); parent_rate 362 drivers/clk/meson/clk-pll.c unsigned long parent_rate) parent_rate 369 drivers/clk/meson/clk-pll.c if (parent_rate == 0 || rate == 0) parent_rate 374 drivers/clk/meson/clk-pll.c ret = meson_clk_get_pll_settings(rate, parent_rate, &m, &n, pll); parent_rate 386 drivers/clk/meson/clk-pll.c frac = __pll_params_with_frac(rate, parent_rate, m, n, pll); parent_rate 403 drivers/clk/meson/clk-pll.c meson_clk_pll_set_rate(hw, old_rate, parent_rate); parent_rate 105 drivers/clk/meson/clk-regmap.c unsigned long parent_rate) parent_rate 112 drivers/clk/meson/clk-regmap.c ret = divider_get_val(rate, parent_rate, div->table, div->width, parent_rate 76 drivers/clk/meson/vid-pll-div.c unsigned long parent_rate) parent_rate 89 drivers/clk/meson/vid-pll-div.c return DIV_ROUND_UP_ULL(parent_rate * div->multiplier, div->divider); parent_rate 120 drivers/clk/microchip/clk-core.c unsigned long parent_rate, parent_rate 131 drivers/clk/microchip/clk-core.c div = parent_rate / rate; parent_rate 135 drivers/clk/microchip/clk-core.c divided_rate = parent_rate / div; parent_rate 136 drivers/clk/microchip/clk-core.c divided_rate_down = parent_rate / div_up; parent_rate 151 drivers/clk/microchip/clk-core.c unsigned long parent_rate) parent_rate 155 drivers/clk/microchip/clk-core.c return parent_rate / pbclk_read_pbdiv(pb); parent_rate 159 drivers/clk/microchip/clk-core.c unsigned long *parent_rate) parent_rate 161 drivers/clk/microchip/clk-core.c return calc_best_divided_rate(rate, *parent_rate, parent_rate 166 drivers/clk/microchip/clk-core.c unsigned long parent_rate) parent_rate 180 drivers/clk/microchip/clk-core.c div = DIV_ROUND_CLOSEST(parent_rate, rate); parent_rate 292 drivers/clk/microchip/clk-core.c static unsigned long roclk_calc_rate(unsigned long parent_rate, parent_rate 304 drivers/clk/microchip/clk-core.c rate64 = parent_rate; parent_rate 308 drivers/clk/microchip/clk-core.c rate64 = parent_rate / (rodiv << 1); parent_rate 310 drivers/clk/microchip/clk-core.c rate64 = parent_rate; parent_rate 316 drivers/clk/microchip/clk-core.c unsigned long parent_rate, parent_rate 333 drivers/clk/microchip/clk-core.c if (parent_rate <= rate) { parent_rate 339 drivers/clk/microchip/clk-core.c div = parent_rate / (rate << 1); parent_rate 340 drivers/clk/microchip/clk-core.c frac = parent_rate; parent_rate 357 drivers/clk/microchip/clk-core.c unsigned long parent_rate) parent_rate 370 drivers/clk/microchip/clk-core.c return roclk_calc_rate(parent_rate, rodiv, rotrim); parent_rate 374 drivers/clk/microchip/clk-core.c unsigned long *parent_rate) parent_rate 379 drivers/clk/microchip/clk-core.c roclk_calc_div_trim(rate, *parent_rate, &rodiv, &rotrim); parent_rate 382 drivers/clk/microchip/clk-core.c return roclk_calc_rate(*parent_rate, rodiv, rotrim); parent_rate 390 drivers/clk/microchip/clk-core.c unsigned long parent_rate, best_parent_rate = 0; parent_rate 401 drivers/clk/microchip/clk-core.c parent_rate = clk_hw_get_rate(parent_clk); parent_rate 402 drivers/clk/microchip/clk-core.c if (req->rate > parent_rate) parent_rate 405 drivers/clk/microchip/clk-core.c nearest_rate = roclk_round_rate(hw, req->rate, &parent_rate); parent_rate 409 drivers/clk/microchip/clk-core.c best_parent_rate = parent_rate; parent_rate 475 drivers/clk/microchip/clk-core.c unsigned long parent_rate, parent_rate 484 drivers/clk/microchip/clk-core.c roclk_calc_div_trim(rate, parent_rate, &rodiv, &trim); parent_rate 487 drivers/clk/microchip/clk-core.c parent_rate, rate, rodiv, trim); parent_rate 536 drivers/clk/microchip/clk-core.c unsigned long parent_rate) parent_rate 540 drivers/clk/microchip/clk-core.c return roclk_set_rate_and_parent(hw, rate, parent_rate, index); parent_rate 598 drivers/clk/microchip/clk-core.c unsigned long parent_rate, parent_rate 606 drivers/clk/microchip/clk-core.c parent_rate /= pll->idiv; parent_rate 610 drivers/clk/microchip/clk-core.c rate64 = parent_rate; parent_rate 631 drivers/clk/microchip/clk-core.c rate, parent_rate, best_mul, best_div, best_rate); parent_rate 643 drivers/clk/microchip/clk-core.c unsigned long parent_rate) parent_rate 658 drivers/clk/microchip/clk-core.c pll_in_rate = parent_rate / pll->idiv; parent_rate 667 drivers/clk/microchip/clk-core.c unsigned long *parent_rate) parent_rate 671 drivers/clk/microchip/clk-core.c return spll_calc_mult_div(pll, rate, *parent_rate, NULL, NULL); parent_rate 675 drivers/clk/microchip/clk-core.c unsigned long parent_rate) parent_rate 682 drivers/clk/microchip/clk-core.c ret = spll_calc_mult_div(pll, rate, parent_rate, &mult, &odiv); parent_rate 770 drivers/clk/microchip/clk-core.c static unsigned long sclk_get_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 778 drivers/clk/microchip/clk-core.c return parent_rate / div; parent_rate 782 drivers/clk/microchip/clk-core.c unsigned long *parent_rate) parent_rate 784 drivers/clk/microchip/clk-core.c return calc_best_divided_rate(rate, *parent_rate, SLEW_SYSDIV, 1); parent_rate 788 drivers/clk/microchip/clk-core.c unsigned long rate, unsigned long parent_rate) parent_rate 795 drivers/clk/microchip/clk-core.c div = parent_rate / rate; parent_rate 994 drivers/clk/microchip/clk-core.c unsigned long parent_rate) parent_rate 52 drivers/clk/mmp/clk-frac.c unsigned long parent_rate) parent_rate 69 drivers/clk/mmp/clk-frac.c return (((parent_rate / 10000) * den) / parent_rate 117 drivers/clk/mmp/clk-mix.c unsigned long parent_rate; parent_rate 124 drivers/clk/mmp/clk-mix.c parent_rate = clk_hw_get_rate(parent); parent_rate 125 drivers/clk/mmp/clk-mix.c if (parent_rate % item->rate) { parent_rate 128 drivers/clk/mmp/clk-mix.c item->divisor = parent_rate / item->rate; parent_rate 210 drivers/clk/mmp/clk-mix.c unsigned long parent_rate, mix_rate, mix_rate_best, parent_rate_best; parent_rate 229 drivers/clk/mmp/clk-mix.c parent_rate = clk_hw_get_rate(parent); parent_rate 230 drivers/clk/mmp/clk-mix.c mix_rate = parent_rate / item->divisor; parent_rate 234 drivers/clk/mmp/clk-mix.c parent_rate_best = parent_rate; parent_rate 244 drivers/clk/mmp/clk-mix.c parent_rate = clk_hw_get_rate(parent); parent_rate 248 drivers/clk/mmp/clk-mix.c mix_rate = parent_rate / div; parent_rate 252 drivers/clk/mmp/clk-mix.c parent_rate_best = parent_rate; parent_rate 275 drivers/clk/mmp/clk-mix.c unsigned long parent_rate, parent_rate 282 drivers/clk/mmp/clk-mix.c div = parent_rate / rate; parent_rate 319 drivers/clk/mmp/clk-mix.c unsigned long parent_rate) parent_rate 345 drivers/clk/mmp/clk-mix.c return parent_rate / div; parent_rate 381 drivers/clk/mmp/clk-mix.c unsigned long parent_rate; parent_rate 395 drivers/clk/mmp/clk-mix.c parent_rate = clk_hw_get_rate(parent); parent_rate 396 drivers/clk/mmp/clk-mix.c if (parent_rate == best_parent_rate parent_rate 410 drivers/clk/mmp/clk-mix.c parent_rate = clk_hw_get_rate(parent); parent_rate 411 drivers/clk/mmp/clk-mix.c if (parent_rate == best_parent_rate) parent_rate 145 drivers/clk/mvebu/ap-cpu-clk.c unsigned long parent_rate) parent_rate 157 drivers/clk/mvebu/ap-cpu-clk.c return parent_rate / cpu_clkdiv_ratio; parent_rate 161 drivers/clk/mvebu/ap-cpu-clk.c unsigned long parent_rate) parent_rate 164 drivers/clk/mvebu/ap-cpu-clk.c int ret, reg, divider = parent_rate / rate; parent_rate 215 drivers/clk/mvebu/ap-cpu-clk.c unsigned long *parent_rate) parent_rate 217 drivers/clk/mvebu/ap-cpu-clk.c int divider = *parent_rate / rate; parent_rate 221 drivers/clk/mvebu/ap-cpu-clk.c return *parent_rate / divider; parent_rate 335 drivers/clk/mvebu/armada-37xx-periph.c unsigned long parent_rate) parent_rate 343 drivers/clk/mvebu/armada-37xx-periph.c return DIV_ROUND_UP_ULL((u64)parent_rate, div); parent_rate 469 drivers/clk/mvebu/armada-37xx-periph.c unsigned long parent_rate) parent_rate 478 drivers/clk/mvebu/armada-37xx-periph.c return DIV_ROUND_UP_ULL((u64)parent_rate, div); parent_rate 482 drivers/clk/mvebu/armada-37xx-periph.c unsigned long *parent_rate) parent_rate 486 drivers/clk/mvebu/armada-37xx-periph.c unsigned int div = *parent_rate / rate; parent_rate 507 drivers/clk/mvebu/armada-37xx-periph.c return *parent_rate / div; parent_rate 549 drivers/clk/mvebu/armada-37xx-periph.c unsigned long parent_rate) parent_rate 553 drivers/clk/mvebu/armada-37xx-periph.c unsigned int div = parent_rate / rate; parent_rate 126 drivers/clk/mvebu/clk-corediv.c unsigned long parent_rate) parent_rate 135 drivers/clk/mvebu/clk-corediv.c return parent_rate / div; parent_rate 139 drivers/clk/mvebu/clk-corediv.c unsigned long *parent_rate) parent_rate 144 drivers/clk/mvebu/clk-corediv.c div = *parent_rate / rate; parent_rate 150 drivers/clk/mvebu/clk-corediv.c return *parent_rate / div; parent_rate 154 drivers/clk/mvebu/clk-corediv.c unsigned long parent_rate) parent_rate 162 drivers/clk/mvebu/clk-corediv.c div = parent_rate / rate; parent_rate 49 drivers/clk/mvebu/clk-cpu.c unsigned long parent_rate) parent_rate 56 drivers/clk/mvebu/clk-cpu.c return parent_rate / div; parent_rate 60 drivers/clk/mvebu/clk-cpu.c unsigned long *parent_rate) parent_rate 65 drivers/clk/mvebu/clk-cpu.c div = *parent_rate / rate; parent_rate 71 drivers/clk/mvebu/clk-cpu.c return *parent_rate / div; parent_rate 75 drivers/clk/mvebu/clk-cpu.c unsigned long parent_rate) parent_rate 82 drivers/clk/mvebu/clk-cpu.c div = parent_rate / rate; parent_rate 109 drivers/clk/mvebu/clk-cpu.c unsigned long parent_rate) parent_rate 152 drivers/clk/mvebu/clk-cpu.c unsigned long parent_rate) parent_rate 155 drivers/clk/mvebu/clk-cpu.c return clk_cpu_on_set_rate(hwclk, rate, parent_rate); parent_rate 157 drivers/clk/mvebu/clk-cpu.c return clk_cpu_off_set_rate(hwclk, rate, parent_rate); parent_rate 68 drivers/clk/mvebu/dove-divider.c unsigned long parent_rate, bool set) parent_rate 72 drivers/clk/mvebu/dove-divider.c divider = DIV_ROUND_CLOSEST(parent_rate, rate); parent_rate 115 drivers/clk/mvebu/dove-divider.c unsigned long parent_rate = *parent; parent_rate 118 drivers/clk/mvebu/dove-divider.c divider = dove_calc_divider(dc, rate, parent_rate, false); parent_rate 122 drivers/clk/mvebu/dove-divider.c rate = DIV_ROUND_CLOSEST(parent_rate, divider); parent_rate 125 drivers/clk/mvebu/dove-divider.c __func__, dc->name, divider, parent_rate, rate); parent_rate 131 drivers/clk/mvebu/dove-divider.c unsigned long parent_rate) parent_rate 137 drivers/clk/mvebu/dove-divider.c divider = dove_calc_divider(dc, rate, parent_rate, true); parent_rate 142 drivers/clk/mvebu/dove-divider.c __func__, dc->name, divider, parent_rate, rate); parent_rate 36 drivers/clk/mxs/clk-div.c unsigned long parent_rate) parent_rate 40 drivers/clk/mxs/clk-div.c return div->ops->recalc_rate(&div->divider.hw, parent_rate); parent_rate 52 drivers/clk/mxs/clk-div.c unsigned long parent_rate) parent_rate 57 drivers/clk/mxs/clk-div.c ret = div->ops->set_rate(&div->divider.hw, rate, parent_rate); parent_rate 34 drivers/clk/mxs/clk-frac.c unsigned long parent_rate) parent_rate 43 drivers/clk/mxs/clk-frac.c tmp_rate = (u64)parent_rate * div; parent_rate 51 drivers/clk/mxs/clk-frac.c unsigned long parent_rate = *prate; parent_rate 55 drivers/clk/mxs/clk-frac.c if (rate > parent_rate) parent_rate 60 drivers/clk/mxs/clk-frac.c do_div(tmp, parent_rate); parent_rate 66 drivers/clk/mxs/clk-frac.c tmp_rate = (u64)parent_rate * div; parent_rate 74 drivers/clk/mxs/clk-frac.c unsigned long parent_rate) parent_rate 81 drivers/clk/mxs/clk-frac.c if (rate > parent_rate) parent_rate 86 drivers/clk/mxs/clk-frac.c do_div(tmp, parent_rate); parent_rate 67 drivers/clk/mxs/clk-pll.c unsigned long parent_rate) parent_rate 48 drivers/clk/mxs/clk-ref.c unsigned long parent_rate) parent_rate 51 drivers/clk/mxs/clk-ref.c u64 tmp = parent_rate; parent_rate 63 drivers/clk/mxs/clk-ref.c unsigned long parent_rate = *prate; parent_rate 64 drivers/clk/mxs/clk-ref.c u64 tmp = parent_rate; parent_rate 76 drivers/clk/mxs/clk-ref.c tmp = parent_rate; parent_rate 84 drivers/clk/mxs/clk-ref.c unsigned long parent_rate) parent_rate 88 drivers/clk/mxs/clk-ref.c u64 tmp = parent_rate; parent_rate 351 drivers/clk/nxp/clk-lpc18xx-cgu.c unsigned long parent_rate) parent_rate 361 drivers/clk/nxp/clk-lpc18xx-cgu.c return parent_rate; parent_rate 370 drivers/clk/nxp/clk-lpc18xx-cgu.c return 2 * msel * parent_rate; parent_rate 397 drivers/clk/nxp/clk-lpc18xx-cgu.c unsigned long parent_rate) parent_rate 403 drivers/clk/nxp/clk-lpc18xx-cgu.c if (parent_rate < rate) { parent_rate 408 drivers/clk/nxp/clk-lpc18xx-cgu.c m = DIV_ROUND_UP_ULL(parent_rate, rate * 2); parent_rate 455 drivers/clk/nxp/clk-lpc18xx-cgu.c unsigned long parent_rate) parent_rate 472 drivers/clk/nxp/clk-lpc18xx-cgu.c return msel * (parent_rate / nsel); parent_rate 477 drivers/clk/nxp/clk-lpc18xx-cgu.c return (msel / (2 * psel)) * (parent_rate / nsel); parent_rate 87 drivers/clk/nxp/clk-lpc18xx-creg.c unsigned long parent_rate) parent_rate 89 drivers/clk/nxp/clk-lpc18xx-creg.c return parent_rate / 32; parent_rate 467 drivers/clk/nxp/clk-lpc32xx.c unsigned long parent_rate) parent_rate 469 drivers/clk/nxp/clk-lpc32xx.c return parent_rate * 397; parent_rate 473 drivers/clk/nxp/clk-lpc32xx.c unsigned long parent_rate) parent_rate 492 drivers/clk/nxp/clk-lpc32xx.c return parent_rate; parent_rate 496 drivers/clk/nxp/clk-lpc32xx.c return parent_rate / (1 << clk->p_div); parent_rate 503 drivers/clk/nxp/clk-lpc32xx.c ref_rate = parent_rate / clk->n_div; parent_rate 518 drivers/clk/nxp/clk-lpc32xx.c parent_rate, val, is_direct, is_bypass, is_feedback, parent_rate 522 drivers/clk/nxp/clk-lpc32xx.c !(pll_is_valid(parent_rate, 1, 1000000, 20000000) parent_rate 527 drivers/clk/nxp/clk-lpc32xx.c parent_rate, cco_rate, ref_rate); parent_rate 533 drivers/clk/nxp/clk-lpc32xx.c unsigned long parent_rate) parent_rate 545 drivers/clk/nxp/clk-lpc32xx.c new_rate = (parent_rate * clk->m_div) / clk->n_div; parent_rate 550 drivers/clk/nxp/clk-lpc32xx.c new_rate = parent_rate / (1 << (clk->p_div)); parent_rate 554 drivers/clk/nxp/clk-lpc32xx.c new_rate = parent_rate; parent_rate 561 drivers/clk/nxp/clk-lpc32xx.c new_rate = (parent_rate * clk->m_div) / clk->n_div; parent_rate 568 drivers/clk/nxp/clk-lpc32xx.c new_rate = (parent_rate * clk->m_div) / parent_rate 583 drivers/clk/nxp/clk-lpc32xx.c unsigned long *parent_rate) parent_rate 586 drivers/clk/nxp/clk-lpc32xx.c u64 m_i, o = rate, i = *parent_rate, d = (u64)rate << 6; parent_rate 590 drivers/clk/nxp/clk-lpc32xx.c pr_debug("%s: %lu/%lu\n", clk_hw_get_name(hw), *parent_rate, rate); parent_rate 646 drivers/clk/nxp/clk-lpc32xx.c unsigned long *parent_rate) parent_rate 652 drivers/clk/nxp/clk-lpc32xx.c pr_debug("%s: %lu/%lu\n", clk_hw_get_name(hw), *parent_rate, rate); parent_rate 688 drivers/clk/nxp/clk-lpc32xx.c *parent_rate = div64_u64(o, d_i); parent_rate 746 drivers/clk/nxp/clk-lpc32xx.c unsigned long parent_rate) parent_rate 757 drivers/clk/nxp/clk-lpc32xx.c return parent_rate / (val >> 7); parent_rate 768 drivers/clk/nxp/clk-lpc32xx.c unsigned long parent_rate) parent_rate 778 drivers/clk/nxp/clk-lpc32xx.c return (parent_rate * x) / y; parent_rate 866 drivers/clk/nxp/clk-lpc32xx.c unsigned long parent_rate) parent_rate 944 drivers/clk/nxp/clk-lpc32xx.c unsigned long parent_rate) parent_rate 954 drivers/clk/nxp/clk-lpc32xx.c return divider_recalc_rate(hw, parent_rate, val, divider->table, parent_rate 979 drivers/clk/nxp/clk-lpc32xx.c unsigned long parent_rate) parent_rate 984 drivers/clk/nxp/clk-lpc32xx.c value = divider_get_val(rate, parent_rate, divider->table, parent_rate 143 drivers/clk/pistachio/clk-pll.c unsigned long *parent_rate) parent_rate 149 drivers/clk/pistachio/clk-pll.c if (i > 0 && pll->rates[i].fref == *parent_rate && parent_rate 194 drivers/clk/pistachio/clk-pll.c unsigned long parent_rate) parent_rate 205 drivers/clk/pistachio/clk-pll.c params = pll_get_params(pll, parent_rate, rate); parent_rate 270 drivers/clk/pistachio/clk-pll.c unsigned long parent_rate) parent_rate 287 drivers/clk/pistachio/clk-pll.c rate = parent_rate; parent_rate 351 drivers/clk/pistachio/clk-pll.c unsigned long parent_rate) parent_rate 362 drivers/clk/pistachio/clk-pll.c params = pll_get_params(pll, parent_rate, rate); parent_rate 410 drivers/clk/pistachio/clk-pll.c unsigned long parent_rate) parent_rate 414 drivers/clk/pistachio/clk-pll.c u64 rate = parent_rate; parent_rate 57 drivers/clk/pxa/clk-pxa.c unsigned long parent_rate) parent_rate 67 drivers/clk/pxa/clk-pxa.c return clk_fixed_factor_ops.recalc_rate(&fix->hw, parent_rate); parent_rate 122 drivers/clk/pxa/clk-pxa25x.c unsigned long parent_rate) parent_rate 127 drivers/clk/pxa/clk-pxa25x.c return parent_rate / m; parent_rate 226 drivers/clk/pxa/clk-pxa25x.c unsigned long parent_rate) parent_rate 231 drivers/clk/pxa/clk-pxa25x.c return (parent_rate / n2) * 2; parent_rate 237 drivers/clk/pxa/clk-pxa25x.c unsigned long parent_rate) parent_rate 248 drivers/clk/pxa/clk-pxa25x.c return m * l * n2 * parent_rate / 2; parent_rate 259 drivers/clk/pxa/clk-pxa25x.c unsigned long parent_rate) parent_rate 263 drivers/clk/pxa/clk-pxa25x.c pr_debug("%s(rate=%lu parent_rate=%lu)\n", __func__, rate, parent_rate); parent_rate 224 drivers/clk/pxa/clk-pxa27x.c unsigned long parent_rate) parent_rate 237 drivers/clk/pxa/clk-pxa27x.c L = l * parent_rate; parent_rate 251 drivers/clk/pxa/clk-pxa27x.c unsigned long parent_rate) parent_rate 255 drivers/clk/pxa/clk-pxa27x.c pr_debug("%s(rate=%lu parent_rate=%lu)\n", __func__, rate, parent_rate); parent_rate 271 drivers/clk/pxa/clk-pxa27x.c unsigned long parent_rate) parent_rate 281 drivers/clk/pxa/clk-pxa27x.c return parent_rate * 2; parent_rate 283 drivers/clk/pxa/clk-pxa27x.c return parent_rate; parent_rate 287 drivers/clk/pxa/clk-pxa27x.c return parent_rate; parent_rate 289 drivers/clk/pxa/clk-pxa27x.c return parent_rate / 2; parent_rate 290 drivers/clk/pxa/clk-pxa27x.c return parent_rate / 4; parent_rate 360 drivers/clk/pxa/clk-pxa27x.c unsigned long parent_rate) parent_rate 365 drivers/clk/pxa/clk-pxa27x.c return (parent_rate / n2) * 2; parent_rate 381 drivers/clk/pxa/clk-pxa27x.c unsigned long parent_rate) parent_rate 392 drivers/clk/pxa/clk-pxa27x.c return parent_rate; parent_rate 394 drivers/clk/pxa/clk-pxa27x.c return parent_rate; parent_rate 396 drivers/clk/pxa/clk-pxa27x.c return parent_rate / 2; parent_rate 415 drivers/clk/pxa/clk-pxa27x.c unsigned long parent_rate) parent_rate 426 drivers/clk/pxa/clk-pxa27x.c return parent_rate; parent_rate 428 drivers/clk/pxa/clk-pxa27x.c return parent_rate; parent_rate 430 drivers/clk/pxa/clk-pxa27x.c return parent_rate / 2; parent_rate 431 drivers/clk/pxa/clk-pxa27x.c return parent_rate / 4; parent_rate 82 drivers/clk/pxa/clk-pxa3xx.c unsigned long parent_rate) parent_rate 91 drivers/clk/pxa/clk-pxa3xx.c rate = parent_rate / 2; parent_rate 101 drivers/clk/pxa/clk-pxa3xx.c unsigned long parent_rate) parent_rate 106 drivers/clk/pxa/clk-pxa3xx.c return (parent_rate / 48) * smcfs_mult[(acsr >> 23) & 0x7] / parent_rate 192 drivers/clk/pxa/clk-pxa3xx.c unsigned long parent_rate) parent_rate 198 drivers/clk/pxa/clk-pxa3xx.c return parent_rate; parent_rate 199 drivers/clk/pxa/clk-pxa3xx.c return parent_rate / 48 * hss_mult[hss]; parent_rate 214 drivers/clk/pxa/clk-pxa3xx.c unsigned long parent_rate) parent_rate 216 drivers/clk/pxa/clk-pxa3xx.c return parent_rate; parent_rate 239 drivers/clk/pxa/clk-pxa3xx.c unsigned long parent_rate) parent_rate 249 drivers/clk/pxa/clk-pxa3xx.c return t ? (parent_rate / xn) * 2 : parent_rate; parent_rate 255 drivers/clk/pxa/clk-pxa3xx.c unsigned long parent_rate) parent_rate 266 drivers/clk/pxa/clk-pxa3xx.c pr_info("RJK: parent_rate=%lu, xl=%u, xn=%u\n", parent_rate, xl, xn); parent_rate 267 drivers/clk/pxa/clk-pxa3xx.c return t ? parent_rate * xl * xn : parent_rate * xl; parent_rate 454 drivers/clk/qcom/clk-alpha-pll.c clk_alpha_pll_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 457 drivers/clk/qcom/clk-alpha-pll.c u64 a = 0, prate = parent_rate; parent_rate 653 drivers/clk/qcom/clk-alpha-pll.c alpha_pll_huayra_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 655 drivers/clk/qcom/clk-alpha-pll.c u64 rate = parent_rate, tmp; parent_rate 688 drivers/clk/qcom/clk-alpha-pll.c tmp = parent_rate; parent_rate 849 drivers/clk/qcom/clk-alpha-pll.c clk_trion_pll_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 854 drivers/clk/qcom/clk-alpha-pll.c u64 prate = parent_rate; parent_rate 921 drivers/clk/qcom/clk-alpha-pll.c clk_alpha_pll_postdiv_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 931 drivers/clk/qcom/clk-alpha-pll.c return parent_rate >> fls(ctl); parent_rate 986 drivers/clk/qcom/clk-alpha-pll.c unsigned long parent_rate) parent_rate 992 drivers/clk/qcom/clk-alpha-pll.c div = DIV_ROUND_UP_ULL(parent_rate, rate) - 1; parent_rate 1129 drivers/clk/qcom/clk-alpha-pll.c unsigned long parent_rate) parent_rate 1137 drivers/clk/qcom/clk-alpha-pll.c return alpha_pll_calc_rate(parent_rate, l, frac, alpha_width); parent_rate 1190 drivers/clk/qcom/clk-alpha-pll.c unsigned long parent_rate) parent_rate 1210 drivers/clk/qcom/clk-alpha-pll.c return (parent_rate / div); parent_rate 1214 drivers/clk/qcom/clk-alpha-pll.c clk_trion_pll_postdiv_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 1232 drivers/clk/qcom/clk-alpha-pll.c return (parent_rate / div); parent_rate 1247 drivers/clk/qcom/clk-alpha-pll.c unsigned long parent_rate) parent_rate 1253 drivers/clk/qcom/clk-alpha-pll.c div = DIV_ROUND_UP_ULL(parent_rate, rate); parent_rate 1283 drivers/clk/qcom/clk-alpha-pll.c unsigned long rate, unsigned long parent_rate) parent_rate 1299 drivers/clk/qcom/clk-alpha-pll.c div = DIV_ROUND_UP_ULL(parent_rate, rate); parent_rate 129 drivers/clk/qcom/clk-hfpll.c unsigned long *parent_rate) parent_rate 137 drivers/clk/qcom/clk-hfpll.c rrate = DIV_ROUND_UP(rate, *parent_rate) * *parent_rate; parent_rate 139 drivers/clk/qcom/clk-hfpll.c rrate -= *parent_rate; parent_rate 149 drivers/clk/qcom/clk-hfpll.c unsigned long parent_rate) parent_rate 158 drivers/clk/qcom/clk-hfpll.c l_val = rate / parent_rate; parent_rate 187 drivers/clk/qcom/clk-hfpll.c unsigned long parent_rate) parent_rate 196 drivers/clk/qcom/clk-hfpll.c return l_val * parent_rate; parent_rate 80 drivers/clk/qcom/clk-krait.c unsigned long *parent_rate) parent_rate 82 drivers/clk/qcom/clk-krait.c *parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), rate * 2); parent_rate 83 drivers/clk/qcom/clk-krait.c return DIV_ROUND_UP(*parent_rate, 2); parent_rate 87 drivers/clk/qcom/clk-krait.c unsigned long parent_rate) parent_rate 107 drivers/clk/qcom/clk-krait.c krait_div2_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 118 drivers/clk/qcom/clk-krait.c return DIV_ROUND_UP(parent_rate, div); parent_rate 80 drivers/clk/qcom/clk-pll.c clk_pll_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 95 drivers/clk/qcom/clk-pll.c rate = parent_rate * l; parent_rate 97 drivers/clk/qcom/clk-pll.c tmp = parent_rate; parent_rate 342 drivers/clk/qcom/clk-rcg.c clk_rcg_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 363 drivers/clk/qcom/clk-rcg.c return calc_rate(parent_rate, m, n, mode, pre_div); parent_rate 367 drivers/clk/qcom/clk-rcg.c clk_dyn_rcg_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 396 drivers/clk/qcom/clk-rcg.c return calc_rate(parent_rate, m, n, mode, pre_div); parent_rate 517 drivers/clk/qcom/clk-rcg.c unsigned long parent_rate) parent_rate 530 drivers/clk/qcom/clk-rcg.c unsigned long parent_rate) parent_rate 550 drivers/clk/qcom/clk-rcg.c unsigned long parent_rate) parent_rate 575 drivers/clk/qcom/clk-rcg.c unsigned long rate, unsigned long parent_rate, u8 index) parent_rate 578 drivers/clk/qcom/clk-rcg.c return clk_rcg_bypass2_set_rate(hw, rate, parent_rate); parent_rate 618 drivers/clk/qcom/clk-rcg.c unsigned long parent_rate) parent_rate 648 drivers/clk/qcom/clk-rcg.c if ((parent_rate < (request - delta)) || parent_rate 649 drivers/clk/qcom/clk-rcg.c (parent_rate > (request + delta))) parent_rate 662 drivers/clk/qcom/clk-rcg.c unsigned long rate, unsigned long parent_rate, u8 index) parent_rate 664 drivers/clk/qcom/clk-rcg.c return clk_rcg_pixel_set_rate(hw, rate, parent_rate); parent_rate 692 drivers/clk/qcom/clk-rcg.c unsigned long parent_rate) parent_rate 717 drivers/clk/qcom/clk-rcg.c div = parent_rate / rate; parent_rate 728 drivers/clk/qcom/clk-rcg.c unsigned long rate, unsigned long parent_rate, u8 index) parent_rate 730 drivers/clk/qcom/clk-rcg.c return clk_rcg_esc_set_rate(hw, rate, parent_rate); parent_rate 745 drivers/clk/qcom/clk-rcg.c unsigned long parent_rate) parent_rate 797 drivers/clk/qcom/clk-rcg.c unsigned long parent_rate) parent_rate 803 drivers/clk/qcom/clk-rcg.c unsigned long rate, unsigned long parent_rate, u8 index) parent_rate 165 drivers/clk/qcom/clk-rcg2.c clk_rcg2_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 188 drivers/clk/qcom/clk-rcg2.c return calc_rate(parent_rate, m, n, mode, hid_div); parent_rate 336 drivers/clk/qcom/clk-rcg2.c unsigned long parent_rate) parent_rate 342 drivers/clk/qcom/clk-rcg2.c unsigned long parent_rate) parent_rate 348 drivers/clk/qcom/clk-rcg2.c unsigned long rate, unsigned long parent_rate, u8 index) parent_rate 354 drivers/clk/qcom/clk-rcg2.c unsigned long rate, unsigned long parent_rate, u8 index) parent_rate 409 drivers/clk/qcom/clk-rcg2.c unsigned long parent_rate) parent_rate 415 drivers/clk/qcom/clk-rcg2.c s64 src_rate = parent_rate; parent_rate 448 drivers/clk/qcom/clk-rcg2.c unsigned long rate, unsigned long parent_rate, u8 index) parent_rate 451 drivers/clk/qcom/clk-rcg2.c return clk_edp_pixel_set_rate(hw, rate, parent_rate); parent_rate 514 drivers/clk/qcom/clk-rcg2.c unsigned long parent_rate, div; parent_rate 522 drivers/clk/qcom/clk-rcg2.c req->best_parent_rate = parent_rate = clk_hw_round_rate(p, req->rate); parent_rate 524 drivers/clk/qcom/clk-rcg2.c div = DIV_ROUND_UP((2 * parent_rate), req->rate) - 1; parent_rate 527 drivers/clk/qcom/clk-rcg2.c req->rate = calc_rate(parent_rate, 0, 0, 0, div); parent_rate 533 drivers/clk/qcom/clk-rcg2.c unsigned long parent_rate) parent_rate 540 drivers/clk/qcom/clk-rcg2.c div = DIV_ROUND_UP((2 * parent_rate), rate) - 1; parent_rate 549 drivers/clk/qcom/clk-rcg2.c unsigned long rate, unsigned long parent_rate, u8 index) parent_rate 552 drivers/clk/qcom/clk-rcg2.c return clk_byte_set_rate(hw, rate, parent_rate); parent_rate 570 drivers/clk/qcom/clk-rcg2.c unsigned long parent_rate, div; parent_rate 579 drivers/clk/qcom/clk-rcg2.c req->best_parent_rate = parent_rate = clk_hw_round_rate(p, rate); parent_rate 581 drivers/clk/qcom/clk-rcg2.c div = DIV_ROUND_UP((2 * parent_rate), rate) - 1; parent_rate 584 drivers/clk/qcom/clk-rcg2.c req->rate = calc_rate(parent_rate, 0, 0, 0, div); parent_rate 590 drivers/clk/qcom/clk-rcg2.c unsigned long parent_rate) parent_rate 599 drivers/clk/qcom/clk-rcg2.c div = DIV_ROUND_UP((2 * parent_rate), rate) - 1; parent_rate 619 drivers/clk/qcom/clk-rcg2.c unsigned long rate, unsigned long parent_rate, u8 index) parent_rate 622 drivers/clk/qcom/clk-rcg2.c return clk_byte2_set_rate(hw, rate, parent_rate); parent_rate 668 drivers/clk/qcom/clk-rcg2.c unsigned long parent_rate) parent_rate 692 drivers/clk/qcom/clk-rcg2.c if ((parent_rate < (request - delta)) || parent_rate 693 drivers/clk/qcom/clk-rcg2.c (parent_rate > (request + delta))) parent_rate 710 drivers/clk/qcom/clk-rcg2.c unsigned long parent_rate, u8 index) parent_rate 712 drivers/clk/qcom/clk-rcg2.c return clk_pixel_set_rate(hw, rate, parent_rate); parent_rate 776 drivers/clk/qcom/clk-rcg2.c unsigned long parent_rate, u8 index) parent_rate 792 drivers/clk/qcom/clk-rcg2.c unsigned long parent_rate) parent_rate 862 drivers/clk/qcom/clk-rcg2.c unsigned long parent_rate) parent_rate 882 drivers/clk/qcom/clk-rcg2.c unsigned long rate, unsigned long parent_rate, u8 index) parent_rate 884 drivers/clk/qcom/clk-rcg2.c return clk_rcg2_shared_set_rate(hw, rate, parent_rate); parent_rate 1036 drivers/clk/qcom/clk-rcg2.c clk_rcg2_dfs_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 1079 drivers/clk/qcom/clk-rcg2.c return calc_rate(parent_rate, m, n, mode, pre_div); parent_rate 43 drivers/clk/qcom/clk-regmap-divider.c unsigned long parent_rate) parent_rate 49 drivers/clk/qcom/clk-regmap-divider.c div = divider_get_val(rate, parent_rate, NULL, divider->width, parent_rate 58 drivers/clk/qcom/clk-regmap-divider.c unsigned long parent_rate) parent_rate 68 drivers/clk/qcom/clk-regmap-divider.c return divider_recalc_rate(hw, parent_rate, div, NULL, parent_rate 98 drivers/clk/qcom/clk-regmap-mux-div.c unsigned long parent_rate = clk_hw_get_rate(parent); parent_rate 102 drivers/clk/qcom/clk-regmap-mux-div.c parent_rate = mult_frac(req_rate, div, 2); parent_rate 103 drivers/clk/qcom/clk-regmap-mux-div.c parent_rate = clk_hw_round_rate(parent, parent_rate); parent_rate 104 drivers/clk/qcom/clk-regmap-mux-div.c actual_rate = mult_frac(parent_rate, 2, div); parent_rate 109 drivers/clk/qcom/clk-regmap-mux-div.c req->best_parent_rate = parent_rate; parent_rate 135 drivers/clk/qcom/clk-regmap-mux-div.c unsigned long parent_rate = clk_hw_get_rate(parent); parent_rate 139 drivers/clk/qcom/clk-regmap-mux-div.c parent_rate = mult_frac(rate, div, 2); parent_rate 140 drivers/clk/qcom/clk-regmap-mux-div.c parent_rate = clk_hw_round_rate(parent, parent_rate); parent_rate 141 drivers/clk/qcom/clk-regmap-mux-div.c actual_rate = mult_frac(parent_rate, 2, div); parent_rate 214 drivers/clk/qcom/clk-regmap-mux-div.c unsigned long parent_rate = clk_hw_get_rate(p); parent_rate 216 drivers/clk/qcom/clk-regmap-mux-div.c return mult_frac(parent_rate, 2, div + 1); parent_rate 370 drivers/clk/qcom/clk-rpm.c unsigned long rate, unsigned long parent_rate) parent_rate 410 drivers/clk/qcom/clk-rpm.c unsigned long *parent_rate) parent_rate 421 drivers/clk/qcom/clk-rpm.c unsigned long parent_rate) parent_rate 300 drivers/clk/qcom/clk-rpmh.c unsigned long parent_rate) parent_rate 316 drivers/clk/qcom/clk-rpmh.c unsigned long *parent_rate) parent_rate 304 drivers/clk/qcom/clk-smd-rpm.c unsigned long parent_rate) parent_rate 344 drivers/clk/qcom/clk-smd-rpm.c unsigned long *parent_rate) parent_rate 355 drivers/clk/qcom/clk-smd-rpm.c unsigned long parent_rate) parent_rate 115 drivers/clk/qcom/clk-spmi-pmic-div.c unsigned long *parent_rate) parent_rate 119 drivers/clk/qcom/clk-spmi-pmic-div.c div = DIV_ROUND_UP(*parent_rate, rate); parent_rate 123 drivers/clk/qcom/clk-spmi-pmic-div.c return *parent_rate / div; parent_rate 127 drivers/clk/qcom/clk-spmi-pmic-div.c clk_spmi_pmic_div_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 135 drivers/clk/qcom/clk-spmi-pmic-div.c return parent_rate / div_factor_to_div(div_factor); parent_rate 139 drivers/clk/qcom/clk-spmi-pmic-div.c unsigned long parent_rate) parent_rate 142 drivers/clk/qcom/clk-spmi-pmic-div.c unsigned int div_factor = div_to_div_factor(parent_rate / rate); parent_rate 1211 drivers/clk/qcom/gcc-ipq4019.c unsigned long parent_rate) parent_rate 1223 drivers/clk/qcom/gcc-ipq4019.c vco = parent_rate / refclkdiv; parent_rate 1274 drivers/clk/qcom/gcc-ipq4019.c unsigned long parent_rate) parent_rate 1306 drivers/clk/qcom/gcc-ipq4019.c unsigned long parent_rate) parent_rate 1325 drivers/clk/qcom/gcc-ipq4019.c rate = clk_fepll_vco_calc_rate(pll, parent_rate) * 2; parent_rate 1382 drivers/clk/qcom/gcc-ipq4019.c unsigned long parent_rate) parent_rate 1401 drivers/clk/qcom/gcc-ipq4019.c rate = clk_fepll_vco_calc_rate(pll, parent_rate); parent_rate 86 drivers/clk/renesas/clk-div6.c unsigned long parent_rate) parent_rate 90 drivers/clk/renesas/clk-div6.c return parent_rate / clock->div; parent_rate 94 drivers/clk/renesas/clk-div6.c unsigned long parent_rate) parent_rate 101 drivers/clk/renesas/clk-div6.c div = DIV_ROUND_CLOSEST(parent_rate, rate); parent_rate 106 drivers/clk/renesas/clk-div6.c unsigned long *parent_rate) parent_rate 108 drivers/clk/renesas/clk-div6.c unsigned int div = cpg_div6_clock_calc_div(rate, *parent_rate); parent_rate 110 drivers/clk/renesas/clk-div6.c return *parent_rate / div; parent_rate 114 drivers/clk/renesas/clk-div6.c unsigned long parent_rate) parent_rate 117 drivers/clk/renesas/clk-div6.c unsigned int div = cpg_div6_clock_calc_div(rate, parent_rate); parent_rate 57 drivers/clk/renesas/clk-rcar-gen2.c unsigned long parent_rate) parent_rate 66 drivers/clk/renesas/clk-rcar-gen2.c return div_u64((u64)parent_rate * mult, 32); parent_rate 70 drivers/clk/renesas/clk-rcar-gen2.c unsigned long *parent_rate) parent_rate 72 drivers/clk/renesas/clk-rcar-gen2.c unsigned long prate = *parent_rate; parent_rate 81 drivers/clk/renesas/clk-rcar-gen2.c return *parent_rate / 32 * mult; parent_rate 85 drivers/clk/renesas/clk-rcar-gen2.c unsigned long parent_rate) parent_rate 92 drivers/clk/renesas/clk-rcar-gen2.c mult = div_u64((u64)rate * 32, parent_rate); parent_rate 557 drivers/clk/renesas/r9a06g032-clocks.c unsigned long parent_rate) parent_rate 567 drivers/clk/renesas/r9a06g032-clocks.c return DIV_ROUND_UP(parent_rate, div); parent_rate 642 drivers/clk/renesas/r9a06g032-clocks.c unsigned long rate, unsigned long parent_rate) parent_rate 646 drivers/clk/renesas/r9a06g032-clocks.c u32 div = DIV_ROUND_UP(parent_rate, rate + 1); parent_rate 650 drivers/clk/renesas/r9a06g032-clocks.c rate, parent_rate, div); parent_rate 54 drivers/clk/renesas/rcar-gen2-cpg.c unsigned long parent_rate) parent_rate 63 drivers/clk/renesas/rcar-gen2-cpg.c return div_u64((u64)parent_rate * mult, 32); parent_rate 67 drivers/clk/renesas/rcar-gen2-cpg.c unsigned long *parent_rate) parent_rate 69 drivers/clk/renesas/rcar-gen2-cpg.c unsigned long prate = *parent_rate; parent_rate 78 drivers/clk/renesas/rcar-gen2-cpg.c return *parent_rate / 32 * mult; parent_rate 82 drivers/clk/renesas/rcar-gen2-cpg.c unsigned long parent_rate) parent_rate 89 drivers/clk/renesas/rcar-gen2-cpg.c mult = div_u64((u64)rate * 32, parent_rate); parent_rate 104 drivers/clk/renesas/rcar-gen3-cpg.c unsigned long parent_rate) parent_rate 113 drivers/clk/renesas/rcar-gen3-cpg.c return DIV_ROUND_CLOSEST_ULL((u64)parent_rate * mult, parent_rate 118 drivers/clk/renesas/rcar-gen3-cpg.c unsigned long *parent_rate) parent_rate 124 drivers/clk/renesas/rcar-gen3-cpg.c prate = *parent_rate / zclk->fixed_div; parent_rate 132 drivers/clk/renesas/rcar-gen3-cpg.c unsigned long parent_rate) parent_rate 139 drivers/clk/renesas/rcar-gen3-cpg.c parent_rate); parent_rate 304 drivers/clk/renesas/rcar-gen3-cpg.c unsigned long parent_rate) parent_rate 308 drivers/clk/renesas/rcar-gen3-cpg.c return DIV_ROUND_CLOSEST(parent_rate, parent_rate 314 drivers/clk/renesas/rcar-gen3-cpg.c unsigned long parent_rate) parent_rate 320 drivers/clk/renesas/rcar-gen3-cpg.c calc_rate = DIV_ROUND_CLOSEST(parent_rate, parent_rate 333 drivers/clk/renesas/rcar-gen3-cpg.c unsigned long *parent_rate) parent_rate 336 drivers/clk/renesas/rcar-gen3-cpg.c unsigned int div = cpg_sd_clock_calc_div(clock, rate, *parent_rate); parent_rate 338 drivers/clk/renesas/rcar-gen3-cpg.c return DIV_ROUND_CLOSEST(*parent_rate, div); parent_rate 342 drivers/clk/renesas/rcar-gen3-cpg.c unsigned long parent_rate) parent_rate 345 drivers/clk/renesas/rcar-gen3-cpg.c unsigned int div = cpg_sd_clock_calc_div(clock, rate, parent_rate); parent_rate 87 drivers/clk/rockchip/clk-cpu.c unsigned long parent_rate) parent_rate 95 drivers/clk/rockchip/clk-cpu.c return parent_rate / (clksel0 + 1); parent_rate 47 drivers/clk/rockchip/clk-ddr.c unsigned long parent_rate) parent_rate 23 drivers/clk/rockchip/clk-half-divider.c unsigned long parent_rate) parent_rate 32 drivers/clk/rockchip/clk-half-divider.c return DIV_ROUND_UP_ULL(((u64)parent_rate * 2), val); parent_rate 40 drivers/clk/rockchip/clk-half-divider.c unsigned long parent_rate, best = 0, now, maxdiv; parent_rate 49 drivers/clk/rockchip/clk-half-divider.c parent_rate = *best_parent_rate; parent_rate 50 drivers/clk/rockchip/clk-half-divider.c bestdiv = DIV_ROUND_UP_ULL(((u64)parent_rate * 2), rate); parent_rate 75 drivers/clk/rockchip/clk-half-divider.c parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), parent_rate 77 drivers/clk/rockchip/clk-half-divider.c now = DIV_ROUND_UP_ULL(((u64)parent_rate * 2), parent_rate 83 drivers/clk/rockchip/clk-half-divider.c *best_parent_rate = parent_rate; parent_rate 109 drivers/clk/rockchip/clk-half-divider.c unsigned long parent_rate) parent_rate 116 drivers/clk/rockchip/clk-half-divider.c value = DIV_ROUND_UP_ULL(((u64)parent_rate * 2), rate); parent_rate 28 drivers/clk/rockchip/clk-mmc-phase.c unsigned long parent_rate) parent_rate 30 drivers/clk/rockchip/clk-mmc-phase.c return parent_rate / RK3288_MMC_CLKGEN_DIV; parent_rate 180 drivers/clk/rockchip/clk.c unsigned long rate, unsigned long *parent_rate, parent_rate 192 drivers/clk/rockchip/clk.c *parent_rate = p_parent_rate; parent_rate 200 drivers/clk/rockchip/clk.c scale = fls_long(*parent_rate / rate - 1); parent_rate 204 drivers/clk/rockchip/clk.c rational_best_approximation(rate, *parent_rate, parent_rate 115 drivers/clk/samsung/clk-cpu.c unsigned long parent_rate) parent_rate 124 drivers/clk/samsung/clk-cpu.c return parent_rate; parent_rate 106 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 110 drivers/clk/samsung/clk-pll.c u64 fvco = parent_rate; parent_rate 139 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 143 drivers/clk/samsung/clk-pll.c u64 fvco = parent_rate; parent_rate 176 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 180 drivers/clk/samsung/clk-pll.c u64 fvco = parent_rate; parent_rate 283 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 288 drivers/clk/samsung/clk-pll.c u64 fvco = parent_rate; parent_rate 318 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 401 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 405 drivers/clk/samsung/clk-pll.c u64 fvco = parent_rate; parent_rate 548 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 552 drivers/clk/samsung/clk-pll.c u64 fvco = parent_rate; parent_rate 691 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 695 drivers/clk/samsung/clk-pll.c u64 fvco = parent_rate; parent_rate 731 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 735 drivers/clk/samsung/clk-pll.c u64 fvco = parent_rate; parent_rate 769 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 773 drivers/clk/samsung/clk-pll.c u64 fvco = parent_rate; parent_rate 787 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 791 drivers/clk/samsung/clk-pll.c u64 fvco = parent_rate; parent_rate 932 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 936 drivers/clk/samsung/clk-pll.c u64 fvco = parent_rate; parent_rate 973 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 977 drivers/clk/samsung/clk-pll.c u64 fvco = parent_rate; parent_rate 1078 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 1081 drivers/clk/samsung/clk-pll.c u64 fout = parent_rate; parent_rate 1174 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 1179 drivers/clk/samsung/clk-pll.c u64 fvco = parent_rate; parent_rate 1196 drivers/clk/samsung/clk-pll.c unsigned long parent_rate) parent_rate 382 drivers/clk/sifive/fu540-prci.c unsigned long parent_rate) parent_rate 387 drivers/clk/sifive/fu540-prci.c return wrpll_calc_output_rate(&pwd->c, parent_rate); parent_rate 392 drivers/clk/sifive/fu540-prci.c unsigned long *parent_rate) parent_rate 400 drivers/clk/sifive/fu540-prci.c wrpll_configure_for_rate(&c, rate, *parent_rate); parent_rate 402 drivers/clk/sifive/fu540-prci.c return wrpll_calc_output_rate(&c, *parent_rate); parent_rate 407 drivers/clk/sifive/fu540-prci.c unsigned long parent_rate) parent_rate 414 drivers/clk/sifive/fu540-prci.c r = wrpll_configure_for_rate(&pwd->c, rate, parent_rate); parent_rate 444 drivers/clk/sifive/fu540-prci.c unsigned long parent_rate) parent_rate 455 drivers/clk/sifive/fu540-prci.c return div_u64(parent_rate, div); parent_rate 353 drivers/clk/sirf/clk-atlas7.c unsigned long parent_rate) parent_rate 355 drivers/clk/sirf/clk-atlas7.c unsigned long fin = parent_rate; parent_rate 520 drivers/clk/sirf/clk-atlas7.c unsigned long parent_rate) parent_rate 522 drivers/clk/sirf/clk-atlas7.c u64 rate = parent_rate; parent_rate 538 drivers/clk/sirf/clk-atlas7.c unsigned long *parent_rate) parent_rate 542 drivers/clk/sirf/clk-atlas7.c do_div(dividend, *parent_rate); parent_rate 543 drivers/clk/sirf/clk-atlas7.c dividend *= *parent_rate; parent_rate 550 drivers/clk/sirf/clk-atlas7.c unsigned long parent_rate) parent_rate 555 drivers/clk/sirf/clk-atlas7.c do_div(dividend, parent_rate); parent_rate 74 drivers/clk/sirf/clk-common.c unsigned long parent_rate) parent_rate 76 drivers/clk/sirf/clk-common.c unsigned long fin = parent_rate; parent_rate 96 drivers/clk/sirf/clk-common.c unsigned long *parent_rate) parent_rate 113 drivers/clk/sirf/clk-common.c fin = *parent_rate; parent_rate 127 drivers/clk/sirf/clk-common.c unsigned long parent_rate) parent_rate 141 drivers/clk/sirf/clk-common.c fin = parent_rate; parent_rate 163 drivers/clk/sirf/clk-common.c unsigned long *parent_rate) parent_rate 176 drivers/clk/sirf/clk-common.c unsigned long parent_rate) parent_rate 261 drivers/clk/sirf/clk-common.c static unsigned long usb_pll_clk_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 264 drivers/clk/sirf/clk-common.c return (reg & SIRFSOC_USBPHY_PLL_BYPASS) ? parent_rate : 48*MHZ; parent_rate 331 drivers/clk/sirf/clk-common.c unsigned long parent_rate) parent_rate 334 drivers/clk/sirf/clk-common.c unsigned long fin = parent_rate; parent_rate 354 drivers/clk/sirf/clk-common.c unsigned long *parent_rate) parent_rate 361 drivers/clk/sirf/clk-common.c fin = *parent_rate; parent_rate 376 drivers/clk/sirf/clk-common.c unsigned long parent_rate) parent_rate 384 drivers/clk/sirf/clk-common.c fin = parent_rate; parent_rate 408 drivers/clk/sirf/clk-common.c unsigned long parent_rate) parent_rate 22 drivers/clk/socfpga/clk-gate-a10.c unsigned long parent_rate) parent_rate 35 drivers/clk/socfpga/clk-gate-a10.c return parent_rate / div; parent_rate 15 drivers/clk/socfpga/clk-gate-s10.c unsigned long parent_rate) parent_rate 27 drivers/clk/socfpga/clk-gate-s10.c return parent_rate / div; parent_rate 31 drivers/clk/socfpga/clk-gate-s10.c unsigned long parent_rate) parent_rate 41 drivers/clk/socfpga/clk-gate-s10.c return parent_rate / div; parent_rate 91 drivers/clk/socfpga/clk-gate.c unsigned long parent_rate) parent_rate 108 drivers/clk/socfpga/clk-gate.c return parent_rate / div; parent_rate 21 drivers/clk/socfpga/clk-periph-a10.c unsigned long parent_rate) parent_rate 36 drivers/clk/socfpga/clk-periph-a10.c return parent_rate / div; parent_rate 19 drivers/clk/socfpga/clk-periph-s10.c unsigned long parent_rate) parent_rate 27 drivers/clk/socfpga/clk-periph-s10.c parent_rate /= val; parent_rate 29 drivers/clk/socfpga/clk-periph-s10.c return parent_rate / div; parent_rate 33 drivers/clk/socfpga/clk-periph-s10.c unsigned long parent_rate) parent_rate 45 drivers/clk/socfpga/clk-periph-s10.c return parent_rate / div; parent_rate 18 drivers/clk/socfpga/clk-periph.c unsigned long parent_rate) parent_rate 29 drivers/clk/socfpga/clk-periph.c parent_rate /= (val + 1); parent_rate 34 drivers/clk/socfpga/clk-periph.c return parent_rate / div; parent_rate 35 drivers/clk/socfpga/clk-pll-a10.c unsigned long parent_rate) parent_rate 45 drivers/clk/socfpga/clk-pll-a10.c vco_freq = (unsigned long long)parent_rate * (divf + 1); parent_rate 31 drivers/clk/socfpga/clk-pll-s10.c unsigned long parent_rate) parent_rate 42 drivers/clk/socfpga/clk-pll-s10.c vco_freq = (unsigned long long)parent_rate / refdiv; parent_rate 53 drivers/clk/socfpga/clk-pll-s10.c unsigned long parent_rate) parent_rate 62 drivers/clk/socfpga/clk-pll-s10.c return parent_rate /= div; parent_rate 39 drivers/clk/socfpga/clk-pll.c unsigned long parent_rate) parent_rate 49 drivers/clk/socfpga/clk-pll.c return parent_rate; parent_rate 53 drivers/clk/socfpga/clk-pll.c vco_freq = (unsigned long long)parent_rate * (divf + 1); parent_rate 66 drivers/clk/spear/clk-aux-synth.c unsigned long parent_rate) parent_rate 95 drivers/clk/spear/clk-aux-synth.c return (((parent_rate / 10000) * num) / den) * 10000; parent_rate 69 drivers/clk/spear/clk-frac-synth.c unsigned long parent_rate) parent_rate 88 drivers/clk/spear/clk-frac-synth.c parent_rate = parent_rate / 10000; parent_rate 90 drivers/clk/spear/clk-frac-synth.c parent_rate = (parent_rate << 14) / (2 * div); parent_rate 91 drivers/clk/spear/clk-frac-synth.c return parent_rate * 10000; parent_rate 56 drivers/clk/spear/clk-gpt-synth.c unsigned long parent_rate) parent_rate 76 drivers/clk/spear/clk-gpt-synth.c return parent_rate / div; parent_rate 125 drivers/clk/spear/clk-vco-pll.c parent_rate) parent_rate 141 drivers/clk/spear/clk-vco-pll.c return parent_rate / (1 << p); parent_rate 193 drivers/clk/spear/clk-vco-pll.c unsigned long parent_rate) parent_rate 226 drivers/clk/spear/clk-vco-pll.c return (((parent_rate / 10000) * num) / den) * 10000; parent_rate 17 drivers/clk/spear/clk.c unsigned long parent_rate, clk_calc_rate calc_rate, u8 rtbl_cnt, parent_rate 24 drivers/clk/spear/clk.c rate = calc_rate(hw, parent_rate, *index); parent_rate 131 drivers/clk/spear/clk.h unsigned long parent_rate, clk_calc_rate calc_rate, u8 rtbl_cnt, parent_rate 13 drivers/clk/sprd/composite.c unsigned long *parent_rate) parent_rate 18 drivers/clk/sprd/composite.c rate, parent_rate); parent_rate 22 drivers/clk/sprd/composite.c unsigned long parent_rate) parent_rate 26 drivers/clk/sprd/composite.c return sprd_div_helper_recalc_rate(&cc->common, &cc->div, parent_rate); parent_rate 30 drivers/clk/sprd/composite.c unsigned long parent_rate) parent_rate 35 drivers/clk/sprd/composite.c rate, parent_rate); parent_rate 15 drivers/clk/sprd/div.c unsigned long *parent_rate) parent_rate 17 drivers/clk/sprd/div.c return divider_round_rate(&common->hw, rate, parent_rate, parent_rate 23 drivers/clk/sprd/div.c unsigned long *parent_rate) parent_rate 28 drivers/clk/sprd/div.c rate, parent_rate); parent_rate 33 drivers/clk/sprd/div.c unsigned long parent_rate) parent_rate 42 drivers/clk/sprd/div.c return divider_recalc_rate(&common->hw, parent_rate, val, NULL, 0, parent_rate 48 drivers/clk/sprd/div.c unsigned long parent_rate) parent_rate 52 drivers/clk/sprd/div.c return sprd_div_helper_recalc_rate(&cd->common, &cd->div, parent_rate); parent_rate 58 drivers/clk/sprd/div.c unsigned long parent_rate) parent_rate 63 drivers/clk/sprd/div.c val = divider_get_val(rate, parent_rate, NULL, parent_rate 78 drivers/clk/sprd/div.c unsigned long parent_rate) parent_rate 83 drivers/clk/sprd/div.c rate, parent_rate); parent_rate 62 drivers/clk/sprd/div.h unsigned long *parent_rate); parent_rate 66 drivers/clk/sprd/div.h unsigned long parent_rate); parent_rate 71 drivers/clk/sprd/div.h unsigned long parent_rate); parent_rate 98 drivers/clk/sprd/pll.c unsigned long parent_rate) parent_rate 148 drivers/clk/sprd/pll.c unsigned long parent_rate) parent_rate 231 drivers/clk/sprd/pll.c unsigned long parent_rate) parent_rate 235 drivers/clk/sprd/pll.c return _sprd_pll_recalc_rate(pll, parent_rate); parent_rate 240 drivers/clk/sprd/pll.c unsigned long parent_rate) parent_rate 244 drivers/clk/sprd/pll.c return _sprd_pll_set_rate(pll, rate, parent_rate); parent_rate 110 drivers/clk/st/clk-flexgen.c clk_best_div(unsigned long parent_rate, unsigned long rate) parent_rate 112 drivers/clk/st/clk-flexgen.c return parent_rate / rate + ((rate > (2*(parent_rate % rate))) ? 0 : 1); parent_rate 132 drivers/clk/st/clk-flexgen.c unsigned long parent_rate) parent_rate 142 drivers/clk/st/clk-flexgen.c mid_rate = clk_divider_ops.recalc_rate(pdiv_hw, parent_rate); parent_rate 148 drivers/clk/st/clk-flexgen.c unsigned long parent_rate) parent_rate 168 drivers/clk/st/clk-flexgen.c div = clk_best_div(parent_rate, rate); parent_rate 177 drivers/clk/st/clk-flexgen.c clk_divider_ops.set_rate(pdiv_hw, parent_rate, parent_rate); parent_rate 180 drivers/clk/st/clk-flexgen.c clk_divider_ops.set_rate(fdiv_hw, parent_rate, parent_rate); parent_rate 271 drivers/clk/st/clkgen-fsyn.c unsigned long parent_rate) parent_rate 278 drivers/clk/st/clkgen-fsyn.c if (clk_fs660c32_vco_get_rate(parent_rate, ¶ms, &rate)) parent_rate 335 drivers/clk/st/clkgen-fsyn.c unsigned long parent_rate) parent_rate 343 drivers/clk/st/clkgen-fsyn.c if (!rate || !parent_rate) parent_rate 346 drivers/clk/st/clkgen-fsyn.c ret = clk_fs660c32_vco_get_params(parent_rate, rate, ¶ms); parent_rate 350 drivers/clk/st/clkgen-fsyn.c clk_fs660c32_vco_get_rate(parent_rate, ¶ms, &hwrate); parent_rate 732 drivers/clk/st/clkgen-fsyn.c unsigned long parent_rate) parent_rate 745 drivers/clk/st/clkgen-fsyn.c if (clk_fs_get_rate(parent_rate, ¶ms, &rate)) { parent_rate 788 drivers/clk/st/clkgen-fsyn.c unsigned long parent_rate) parent_rate 795 drivers/clk/st/clkgen-fsyn.c if (!rate || !parent_rate) parent_rate 800 drivers/clk/st/clkgen-fsyn.c hwrate = quadfs_find_best_rate(hw, rate, parent_rate, ¶ms); parent_rate 315 drivers/clk/st/clkgen-pll.c unsigned long parent_rate) parent_rate 329 drivers/clk/st/clkgen-pll.c rate = ((2 * (parent_rate/1000) * ndiv) / idf) * 1000; parent_rate 358 drivers/clk/st/clkgen-pll.c unsigned long parent_rate) parent_rate 365 drivers/clk/st/clkgen-pll.c if (!rate || !parent_rate) parent_rate 368 drivers/clk/st/clkgen-pll.c if (!clk_pll3200c32_get_params(parent_rate, rate, ¶ms)) parent_rate 369 drivers/clk/st/clkgen-pll.c clk_pll3200c32_get_rate(parent_rate, ¶ms, &hwrate); parent_rate 471 drivers/clk/st/clkgen-pll.c unsigned long parent_rate) parent_rate 483 drivers/clk/st/clkgen-pll.c clk_pll4600c28_get_rate(parent_rate, ¶ms, &rate); parent_rate 512 drivers/clk/st/clkgen-pll.c unsigned long parent_rate) parent_rate 519 drivers/clk/st/clkgen-pll.c if (!rate || !parent_rate) parent_rate 522 drivers/clk/st/clkgen-pll.c if (!clk_pll4600c28_get_params(parent_rate, rate, ¶ms)) { parent_rate 523 drivers/clk/st/clkgen-pll.c clk_pll4600c28_get_rate(parent_rate, ¶ms, &hwrate); parent_rate 15 drivers/clk/sunxi-ng/ccu_div.c unsigned long *parent_rate, parent_rate 25 drivers/clk/sunxi-ng/ccu_div.c rate, parent_rate, parent_rate 57 drivers/clk/sunxi-ng/ccu_div.c unsigned long parent_rate) parent_rate 67 drivers/clk/sunxi-ng/ccu_div.c parent_rate = ccu_mux_helper_apply_prediv(&cd->common, &cd->mux, -1, parent_rate 68 drivers/clk/sunxi-ng/ccu_div.c parent_rate); parent_rate 70 drivers/clk/sunxi-ng/ccu_div.c val = divider_recalc_rate(hw, parent_rate, val, cd->div.table, parent_rate 89 drivers/clk/sunxi-ng/ccu_div.c unsigned long parent_rate) parent_rate 96 drivers/clk/sunxi-ng/ccu_div.c parent_rate = ccu_mux_helper_apply_prediv(&cd->common, &cd->mux, -1, parent_rate 97 drivers/clk/sunxi-ng/ccu_div.c parent_rate); parent_rate 102 drivers/clk/sunxi-ng/ccu_div.c val = divider_get_val(rate, parent_rate, cd->div.table, cd->div.width, parent_rate 76 drivers/clk/sunxi-ng/ccu_gate.c unsigned long parent_rate) parent_rate 79 drivers/clk/sunxi-ng/ccu_gate.c unsigned long rate = parent_rate; parent_rate 108 drivers/clk/sunxi-ng/ccu_gate.c unsigned long parent_rate) parent_rate 47 drivers/clk/sunxi-ng/ccu_mp.c unsigned long parent_rate, now; parent_rate 79 drivers/clk/sunxi-ng/ccu_mp.c parent_rate = clk_hw_round_rate(hw, rate * div); parent_rate 80 drivers/clk/sunxi-ng/ccu_mp.c now = parent_rate / div; parent_rate 84 drivers/clk/sunxi-ng/ccu_mp.c *parent = parent_rate; parent_rate 97 drivers/clk/sunxi-ng/ccu_mp.c unsigned long *parent_rate, parent_rate 112 drivers/clk/sunxi-ng/ccu_mp.c ccu_mp_find_best(*parent_rate, rate, max_m, max_p, &m, &p); parent_rate 113 drivers/clk/sunxi-ng/ccu_mp.c rate = *parent_rate / p / m; parent_rate 115 drivers/clk/sunxi-ng/ccu_mp.c rate = ccu_mp_find_best_with_parent_adj(hw, parent_rate, rate, parent_rate 147 drivers/clk/sunxi-ng/ccu_mp.c unsigned long parent_rate) parent_rate 155 drivers/clk/sunxi-ng/ccu_mp.c parent_rate = ccu_mux_helper_apply_prediv(&cmp->common, &cmp->mux, -1, parent_rate 156 drivers/clk/sunxi-ng/ccu_mp.c parent_rate); parent_rate 169 drivers/clk/sunxi-ng/ccu_mp.c rate = (parent_rate >> p) / m; parent_rate 186 drivers/clk/sunxi-ng/ccu_mp.c unsigned long parent_rate) parent_rate 195 drivers/clk/sunxi-ng/ccu_mp.c parent_rate = ccu_mux_helper_apply_prediv(&cmp->common, &cmp->mux, -1, parent_rate 196 drivers/clk/sunxi-ng/ccu_mp.c parent_rate); parent_rate 205 drivers/clk/sunxi-ng/ccu_mp.c ccu_mp_find_best(parent_rate, rate, max_m, max_p, &m, &p); parent_rate 267 drivers/clk/sunxi-ng/ccu_mp.c unsigned long parent_rate) parent_rate 269 drivers/clk/sunxi-ng/ccu_mp.c unsigned long rate = ccu_mp_recalc_rate(hw, parent_rate); parent_rate 305 drivers/clk/sunxi-ng/ccu_mp.c unsigned long parent_rate) parent_rate 313 drivers/clk/sunxi-ng/ccu_mp.c return ccu_mp_set_rate(hw, rate, parent_rate); parent_rate 34 drivers/clk/sunxi-ng/ccu_mult.c unsigned long *parent_rate, parent_rate 48 drivers/clk/sunxi-ng/ccu_mult.c ccu_mult_find_best(*parent_rate, rate, &_cm); parent_rate 50 drivers/clk/sunxi-ng/ccu_mult.c return *parent_rate * _cm.mult; parent_rate 75 drivers/clk/sunxi-ng/ccu_mult.c unsigned long parent_rate) parent_rate 88 drivers/clk/sunxi-ng/ccu_mult.c parent_rate = ccu_mux_helper_apply_prediv(&cm->common, &cm->mux, -1, parent_rate 89 drivers/clk/sunxi-ng/ccu_mult.c parent_rate); parent_rate 91 drivers/clk/sunxi-ng/ccu_mult.c return parent_rate * (val + cm->mult.offset); parent_rate 104 drivers/clk/sunxi-ng/ccu_mult.c unsigned long parent_rate) parent_rate 120 drivers/clk/sunxi-ng/ccu_mult.c parent_rate = ccu_mux_helper_apply_prediv(&cm->common, &cm->mux, -1, parent_rate 121 drivers/clk/sunxi-ng/ccu_mult.c parent_rate); parent_rate 130 drivers/clk/sunxi-ng/ccu_mult.c ccu_mult_find_best(parent_rate, rate, &_cm); parent_rate 63 drivers/clk/sunxi-ng/ccu_mux.c unsigned long parent_rate) parent_rate 65 drivers/clk/sunxi-ng/ccu_mux.c return parent_rate / ccu_mux_get_prediv(common, cm, parent_index); parent_rate 71 drivers/clk/sunxi-ng/ccu_mux.c unsigned long parent_rate) parent_rate 73 drivers/clk/sunxi-ng/ccu_mux.c return parent_rate * ccu_mux_get_prediv(common, cm, parent_index); parent_rate 113 drivers/clk/sunxi-ng/ccu_mux.c unsigned long tmp_rate, parent_rate; parent_rate 120 drivers/clk/sunxi-ng/ccu_mux.c parent_rate = ccu_mux_helper_apply_prediv(common, cm, i, parent_rate 123 drivers/clk/sunxi-ng/ccu_mux.c tmp_rate = round(cm, parent, &parent_rate, req->rate, data); parent_rate 130 drivers/clk/sunxi-ng/ccu_mux.c parent_rate = ccu_mux_helper_unapply_prediv(common, cm, i, parent_rate 131 drivers/clk/sunxi-ng/ccu_mux.c parent_rate); parent_rate 134 drivers/clk/sunxi-ng/ccu_mux.c best_parent_rate = parent_rate; parent_rate 141 drivers/clk/sunxi-ng/ccu_mux.c best_parent_rate = parent_rate; parent_rate 235 drivers/clk/sunxi-ng/ccu_mux.c unsigned long parent_rate) parent_rate 240 drivers/clk/sunxi-ng/ccu_mux.c parent_rate); parent_rate 88 drivers/clk/sunxi-ng/ccu_mux.h unsigned long parent_rate); parent_rate 66 drivers/clk/sunxi-ng/ccu_nk.c unsigned long parent_rate) parent_rate 86 drivers/clk/sunxi-ng/ccu_nk.c rate = parent_rate * n * k; parent_rate 94 drivers/clk/sunxi-ng/ccu_nk.c unsigned long *parent_rate) parent_rate 107 drivers/clk/sunxi-ng/ccu_nk.c ccu_nk_find_best(*parent_rate, rate, &_nk); parent_rate 108 drivers/clk/sunxi-ng/ccu_nk.c rate = *parent_rate * _nk.n * _nk.k; parent_rate 117 drivers/clk/sunxi-ng/ccu_nk.c unsigned long parent_rate) parent_rate 132 drivers/clk/sunxi-ng/ccu_nk.c ccu_nk_find_best(parent_rate, rate, &_nk); parent_rate 72 drivers/clk/sunxi-ng/ccu_nkm.c unsigned long parent_rate) parent_rate 98 drivers/clk/sunxi-ng/ccu_nkm.c rate = parent_rate * n * k / m; parent_rate 108 drivers/clk/sunxi-ng/ccu_nkm.c unsigned long *parent_rate, parent_rate 125 drivers/clk/sunxi-ng/ccu_nkm.c ccu_nkm_find_best(*parent_rate, rate, &_nkm); parent_rate 127 drivers/clk/sunxi-ng/ccu_nkm.c rate = *parent_rate * _nkm.n * _nkm.k / _nkm.m; parent_rate 145 drivers/clk/sunxi-ng/ccu_nkm.c unsigned long parent_rate) parent_rate 162 drivers/clk/sunxi-ng/ccu_nkm.c ccu_nkm_find_best(parent_rate, rate, &_nkm); parent_rate 92 drivers/clk/sunxi-ng/ccu_nkmp.c unsigned long parent_rate) parent_rate 121 drivers/clk/sunxi-ng/ccu_nkmp.c rate = ccu_nkmp_calc_rate(parent_rate, n, k, m, 1 << p); parent_rate 129 drivers/clk/sunxi-ng/ccu_nkmp.c unsigned long *parent_rate) parent_rate 153 drivers/clk/sunxi-ng/ccu_nkmp.c ccu_nkmp_find_best(*parent_rate, rate, &_nkmp); parent_rate 155 drivers/clk/sunxi-ng/ccu_nkmp.c rate = ccu_nkmp_calc_rate(*parent_rate, _nkmp.n, _nkmp.k, parent_rate 164 drivers/clk/sunxi-ng/ccu_nkmp.c unsigned long parent_rate) parent_rate 184 drivers/clk/sunxi-ng/ccu_nkmp.c ccu_nkmp_find_best(parent_rate, rate, &_nkmp); parent_rate 79 drivers/clk/sunxi-ng/ccu_nm.c unsigned long parent_rate) parent_rate 112 drivers/clk/sunxi-ng/ccu_nm.c rate = ccu_nm_calc_rate(parent_rate, n, m); parent_rate 121 drivers/clk/sunxi-ng/ccu_nm.c unsigned long *parent_rate) parent_rate 160 drivers/clk/sunxi-ng/ccu_nm.c ccu_nm_find_best(*parent_rate, rate, &_nm); parent_rate 161 drivers/clk/sunxi-ng/ccu_nm.c rate = ccu_nm_calc_rate(*parent_rate, _nm.n, _nm.m); parent_rate 170 drivers/clk/sunxi-ng/ccu_nm.c unsigned long parent_rate) parent_rate 212 drivers/clk/sunxi-ng/ccu_nm.c ccu_nm_find_best(parent_rate, rate, &_nm); parent_rate 17 drivers/clk/sunxi-ng/ccu_phase.c unsigned int parent_rate, grandparent_rate; parent_rate 35 drivers/clk/sunxi-ng/ccu_phase.c parent_rate = clk_hw_get_rate(parent); parent_rate 36 drivers/clk/sunxi-ng/ccu_phase.c if (!parent_rate) parent_rate 50 drivers/clk/sunxi-ng/ccu_phase.c parent_div = grandparent_rate / parent_rate; parent_rate 60 drivers/clk/sunxi-ng/ccu_phase.c unsigned int parent_rate, grandparent_rate; parent_rate 71 drivers/clk/sunxi-ng/ccu_phase.c parent_rate = clk_hw_get_rate(parent); parent_rate 72 drivers/clk/sunxi-ng/ccu_phase.c if (!parent_rate) parent_rate 89 drivers/clk/sunxi-ng/ccu_phase.c parent_div = grandparent_rate / parent_rate; parent_rate 41 drivers/clk/sunxi/clk-factors.c unsigned long parent_rate) parent_rate 64 drivers/clk/sunxi/clk-factors.c .parent_rate = parent_rate, parent_rate 83 drivers/clk/sunxi/clk-factors.c rate = (parent_rate * (n + config->n_start) * (k + 1) >> p) / (m + 1); parent_rate 94 drivers/clk/sunxi/clk-factors.c unsigned long parent_rate, best = 0, child_rate, best_child_rate = 0; parent_rate 107 drivers/clk/sunxi/clk-factors.c parent_rate = clk_hw_round_rate(parent, req->rate); parent_rate 109 drivers/clk/sunxi/clk-factors.c parent_rate = clk_hw_get_rate(parent); parent_rate 111 drivers/clk/sunxi/clk-factors.c factors_req.parent_rate = parent_rate; parent_rate 117 drivers/clk/sunxi/clk-factors.c best = parent_rate; parent_rate 133 drivers/clk/sunxi/clk-factors.c unsigned long parent_rate) parent_rate 137 drivers/clk/sunxi/clk-factors.c .parent_rate = parent_rate, parent_rate 24 drivers/clk/sunxi/clk-factors.h unsigned long parent_rate; parent_rate 29 drivers/clk/sunxi/clk-mod0.c if (req->rate > req->parent_rate) parent_rate 30 drivers/clk/sunxi/clk-mod0.c req->rate = req->parent_rate; parent_rate 32 drivers/clk/sunxi/clk-mod0.c div = DIV_ROUND_UP(req->parent_rate, req->rate); parent_rate 45 drivers/clk/sunxi/clk-mod0.c req->rate = (req->parent_rate >> calcp) / calcm; parent_rate 99 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c unsigned long parent_rate, parent_rate 113 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c tmp_rate = parent_rate / m / d; parent_rate 142 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c unsigned long parent_rate; parent_rate 150 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c parent_rate = clk_hw_get_rate(parent); parent_rate 152 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c tmp_rate = tcon_ch1_calc_divider(req->rate, parent_rate, parent_rate 158 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c req->best_parent_rate = parent_rate; parent_rate 171 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c unsigned long parent_rate) parent_rate 178 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c parent_rate /= (reg & TCON_CH1_SCLK2_DIV_MASK) + 1; parent_rate 181 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c parent_rate /= 2; parent_rate 183 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c return parent_rate; parent_rate 187 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c unsigned long parent_rate) parent_rate 195 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c tcon_ch1_calc_divider(rate, parent_rate, &div_m, &half); parent_rate 31 drivers/clk/sunxi/clk-sun6i-ar100.c if (req->rate > req->parent_rate) parent_rate 32 drivers/clk/sunxi/clk-sun6i-ar100.c req->rate = req->parent_rate; parent_rate 34 drivers/clk/sunxi/clk-sun6i-ar100.c div = DIV_ROUND_UP(req->parent_rate, req->rate); parent_rate 50 drivers/clk/sunxi/clk-sun6i-ar100.c req->rate = (req->parent_rate >> shift) / div; parent_rate 103 drivers/clk/sunxi/clk-sun9i-core.c if (req->parent_rate < req->rate) parent_rate 104 drivers/clk/sunxi/clk-sun9i-core.c req->rate = req->parent_rate; parent_rate 106 drivers/clk/sunxi/clk-sun9i-core.c div = DIV_ROUND_UP(req->parent_rate, req->rate); parent_rate 112 drivers/clk/sunxi/clk-sun9i-core.c req->rate = req->parent_rate / div; parent_rate 158 drivers/clk/sunxi/clk-sun9i-core.c if (req->parent_rate < req->rate) parent_rate 159 drivers/clk/sunxi/clk-sun9i-core.c req->rate = req->parent_rate; parent_rate 161 drivers/clk/sunxi/clk-sun9i-core.c _p = order_base_2(DIV_ROUND_UP(req->parent_rate, req->rate)); parent_rate 167 drivers/clk/sunxi/clk-sun9i-core.c req->rate = req->parent_rate >> _p; parent_rate 238 drivers/clk/sunxi/clk-sun9i-core.c if (req->parent_rate < req->rate) parent_rate 239 drivers/clk/sunxi/clk-sun9i-core.c req->rate = req->parent_rate; parent_rate 241 drivers/clk/sunxi/clk-sun9i-core.c div = DIV_ROUND_UP(req->parent_rate, req->rate); parent_rate 248 drivers/clk/sunxi/clk-sun9i-core.c req->m = (req->parent_rate >> req->p) - 1; parent_rate 249 drivers/clk/sunxi/clk-sun9i-core.c req->rate = (req->parent_rate >> req->p) / (req->m + 1); parent_rate 53 drivers/clk/sunxi/clk-sun9i-cpus.c unsigned long parent_rate) parent_rate 64 drivers/clk/sunxi/clk-sun9i-cpus.c parent_rate /= SUN9I_CPUS_PLL4_DIV_GET(reg) + 1; parent_rate 67 drivers/clk/sunxi/clk-sun9i-cpus.c rate = parent_rate / (SUN9I_CPUS_DIV_GET(reg) + 1); parent_rate 73 drivers/clk/sunxi/clk-sun9i-cpus.c u8 parent, unsigned long parent_rate) parent_rate 81 drivers/clk/sunxi/clk-sun9i-cpus.c if (parent_rate && rate > parent_rate) parent_rate 82 drivers/clk/sunxi/clk-sun9i-cpus.c rate = parent_rate; parent_rate 84 drivers/clk/sunxi/clk-sun9i-cpus.c div = DIV_ROUND_UP(parent_rate, rate); parent_rate 110 drivers/clk/sunxi/clk-sun9i-cpus.c return parent_rate / pre_div / div; parent_rate 118 drivers/clk/sunxi/clk-sun9i-cpus.c unsigned long parent_rate, best = 0, child_rate, best_child_rate = 0; parent_rate 128 drivers/clk/sunxi/clk-sun9i-cpus.c parent_rate = clk_hw_round_rate(parent, rate); parent_rate 130 drivers/clk/sunxi/clk-sun9i-cpus.c parent_rate = clk_hw_get_rate(parent); parent_rate 133 drivers/clk/sunxi/clk-sun9i-cpus.c parent_rate); parent_rate 137 drivers/clk/sunxi/clk-sun9i-cpus.c best = parent_rate; parent_rate 153 drivers/clk/sunxi/clk-sun9i-cpus.c unsigned long parent_rate) parent_rate 166 drivers/clk/sunxi/clk-sun9i-cpus.c sun9i_a80_cpus_clk_round(rate, &div, &pre_div, parent, parent_rate); parent_rate 87 drivers/clk/sunxi/clk-sunxi.c u32 parent_freq_mhz = req->parent_rate / 1000000; parent_rate 206 drivers/clk/sunxi/clk-sunxi.c div = req->rate / req->parent_rate; parent_rate 207 drivers/clk/sunxi/clk-sunxi.c req->rate = req->parent_rate * div; parent_rate 233 drivers/clk/sunxi/clk-sunxi.c div = req->rate / req->parent_rate; parent_rate 234 drivers/clk/sunxi/clk-sunxi.c req->rate = req->parent_rate * div; parent_rate 254 drivers/clk/sunxi/clk-sunxi.c if (req->parent_rate < req->rate) parent_rate 255 drivers/clk/sunxi/clk-sunxi.c req->rate = req->parent_rate; parent_rate 266 drivers/clk/sunxi/clk-sunxi.c div = order_base_2(DIV_ROUND_UP(req->parent_rate, req->rate)); parent_rate 272 drivers/clk/sunxi/clk-sunxi.c req->rate = req->parent_rate >> div; parent_rate 296 drivers/clk/sunxi/clk-sunxi.c if (req->parent_rate && req->rate > req->parent_rate) parent_rate 297 drivers/clk/sunxi/clk-sunxi.c req->rate = req->parent_rate; parent_rate 299 drivers/clk/sunxi/clk-sunxi.c div = DIV_ROUND_UP(req->parent_rate, req->rate); parent_rate 318 drivers/clk/sunxi/clk-sunxi.c req->rate = (req->parent_rate / calcm) >> calcp; parent_rate 329 drivers/clk/sunxi/clk-sunxi.c req->rate = req->parent_rate; parent_rate 350 drivers/clk/sunxi/clk-sunxi.c if (req->parent_rate < req->rate) parent_rate 351 drivers/clk/sunxi/clk-sunxi.c req->rate = req->parent_rate; parent_rate 353 drivers/clk/sunxi/clk-sunxi.c div = DIV_ROUND_UP(req->parent_rate, req->rate); parent_rate 370 drivers/clk/sunxi/clk-sunxi.c req->rate = (req->parent_rate >> calcp) / (calcm + 1); parent_rate 390 drivers/clk/sunxi/clk-sunxi.c if (req->rate > req->parent_rate) parent_rate 391 drivers/clk/sunxi/clk-sunxi.c req->rate = req->parent_rate; parent_rate 393 drivers/clk/sunxi/clk-sunxi.c div = DIV_ROUND_UP(req->parent_rate, req->rate); parent_rate 406 drivers/clk/sunxi/clk-sunxi.c req->rate = (req->parent_rate >> calcp) / calcm; parent_rate 1140 drivers/clk/sunxi/clk-sunxi.c if (req->rate > req->parent_rate) parent_rate 1141 drivers/clk/sunxi/clk-sunxi.c req->rate = req->parent_rate; parent_rate 1143 drivers/clk/sunxi/clk-sunxi.c m = DIV_ROUND_UP(req->parent_rate, req->rate); parent_rate 1145 drivers/clk/sunxi/clk-sunxi.c req->rate = req->parent_rate / m; parent_rate 13 drivers/clk/tegra/clk-audio-sync.c unsigned long parent_rate) parent_rate 32 drivers/clk/tegra/clk-audio-sync.c unsigned long parent_rate) parent_rate 144 drivers/clk/tegra/clk-bpmp.c unsigned long parent_rate) parent_rate 168 drivers/clk/tegra/clk-bpmp.c unsigned long *parent_rate) parent_rate 251 drivers/clk/tegra/clk-bpmp.c unsigned long parent_rate) parent_rate 1121 drivers/clk/tegra/clk-dfll.c unsigned long parent_rate) parent_rate 1150 drivers/clk/tegra/clk-dfll.c unsigned long parent_rate) parent_rate 22 drivers/clk/tegra/clk-divider.c unsigned long parent_rate) parent_rate 26 drivers/clk/tegra/clk-divider.c div = div_frac_get(rate, parent_rate, divider->width, parent_rate 36 drivers/clk/tegra/clk-divider.c unsigned long parent_rate) parent_rate 41 drivers/clk/tegra/clk-divider.c u64 rate = parent_rate; parent_rate 76 drivers/clk/tegra/clk-divider.c unsigned long parent_rate) parent_rate 83 drivers/clk/tegra/clk-divider.c div = get_div(divider, rate, parent_rate); parent_rate 65 drivers/clk/tegra/clk-emc.c unsigned long rate, parent_rate; parent_rate 88 drivers/clk/tegra/clk-emc.c unsigned long parent_rate) parent_rate 99 drivers/clk/tegra/clk-emc.c parent_rate = clk_hw_get_rate(clk_hw_get_parent(hw)); parent_rate 104 drivers/clk/tegra/clk-emc.c return parent_rate / (div + 2) * 2; parent_rate 214 drivers/clk/tegra/clk-emc.c timing->parent_rate, __clk_get_name(timing->parent)); parent_rate 217 drivers/clk/tegra/clk-emc.c clk_get_rate(timing->parent) != timing->parent_rate) { parent_rate 221 drivers/clk/tegra/clk-emc.c timing->parent_rate); parent_rate 227 drivers/clk/tegra/clk-emc.c err = clk_set_rate(timing->parent, timing->parent_rate); parent_rate 230 drivers/clk/tegra/clk-emc.c __clk_get_name(timing->parent), timing->parent_rate, parent_rate 242 drivers/clk/tegra/clk-emc.c div = timing->parent_rate / (timing->rate / 2) - 2; parent_rate 312 drivers/clk/tegra/clk-emc.c unsigned long parent_rate) parent_rate 347 drivers/clk/tegra/clk-emc.c clk_get_rate(timing->parent) != timing->parent_rate) { parent_rate 397 drivers/clk/tegra/clk-emc.c timing->parent_rate = tmp; parent_rate 52 drivers/clk/tegra/clk-periph-fixed.c unsigned long parent_rate) parent_rate 57 drivers/clk/tegra/clk-periph-fixed.c rate = (unsigned long long)parent_rate * fixed->mul; parent_rate 36 drivers/clk/tegra/clk-periph.c unsigned long parent_rate) parent_rate 44 drivers/clk/tegra/clk-periph.c return div_ops->recalc_rate(div_hw, parent_rate); parent_rate 60 drivers/clk/tegra/clk-periph.c unsigned long parent_rate) parent_rate 68 drivers/clk/tegra/clk-periph.c return div_ops->set_rate(div_hw, rate, parent_rate); parent_rate 510 drivers/clk/tegra/clk-pll.c unsigned long rate, unsigned long parent_rate) parent_rate 517 drivers/clk/tegra/clk-pll.c if (sel->input_rate == parent_rate && parent_rate 544 drivers/clk/tegra/clk-pll.c unsigned long rate, unsigned long parent_rate) parent_rate 551 drivers/clk/tegra/clk-pll.c switch (parent_rate) { parent_rate 568 drivers/clk/tegra/clk-pll.c cfreq = parent_rate / (parent_rate / 1000000); parent_rate 572 drivers/clk/tegra/clk-pll.c __func__, parent_rate); parent_rate 581 drivers/clk/tegra/clk-pll.c cfg->m = parent_rate / cfreq; parent_rate 591 drivers/clk/tegra/clk-pll.c cfg->output_rate = cfg->n * DIV_ROUND_UP(parent_rate, cfg->m); parent_rate 779 drivers/clk/tegra/clk-pll.c unsigned long parent_rate) parent_rate 796 drivers/clk/tegra/clk-pll.c if (_get_table_rate(hw, &cfg, rate, parent_rate) && parent_rate 797 drivers/clk/tegra/clk-pll.c pll->params->calc_rate(hw, &cfg, rate, parent_rate)) { parent_rate 841 drivers/clk/tegra/clk-pll.c unsigned long parent_rate) parent_rate 846 drivers/clk/tegra/clk-pll.c u64 rate = parent_rate; parent_rate 852 drivers/clk/tegra/clk-pll.c return parent_rate; parent_rate 859 drivers/clk/tegra/clk-pll.c parent_rate)) { parent_rate 994 drivers/clk/tegra/clk-pll.c unsigned long parent_rate) parent_rate 999 drivers/clk/tegra/clk-pll.c u64 rate = parent_rate; parent_rate 1157 drivers/clk/tegra/clk-pll.c unsigned long parent_rate) parent_rate 1159 drivers/clk/tegra/clk-pll.c u16 mdiv = parent_rate / pll_params->cf_min; parent_rate 1168 drivers/clk/tegra/clk-pll.c if (parent_rate > pll_params->cf_max) parent_rate 1176 drivers/clk/tegra/clk-pll.c unsigned long rate, unsigned long parent_rate) parent_rate 1186 drivers/clk/tegra/clk-pll.c cfg->m = _pll_fixed_mdiv(pll->params, parent_rate); parent_rate 1188 drivers/clk/tegra/clk-pll.c cfg->n = cfg->output_rate * cfg->m / parent_rate; parent_rate 1189 drivers/clk/tegra/clk-pll.c cfg->input_rate = parent_rate; parent_rate 1216 drivers/clk/tegra/clk-pll.c unsigned long parent_rate) parent_rate 1218 drivers/clk/tegra/clk-pll.c return DIV_ROUND_UP(vco_min, parent_rate) * parent_rate; parent_rate 1223 drivers/clk/tegra/clk-pll.c unsigned long parent_rate) parent_rate 1228 drivers/clk/tegra/clk-pll.c switch (parent_rate) { parent_rate 1245 drivers/clk/tegra/clk-pll.c __func__, parent_rate); parent_rate 1259 drivers/clk/tegra/clk-pll.c unsigned long rate, unsigned long parent_rate) parent_rate 1264 drivers/clk/tegra/clk-pll.c err = _get_table_rate(hw, cfg, rate, parent_rate); parent_rate 1266 drivers/clk/tegra/clk-pll.c err = _calc_dynamic_ramp_rate(hw, cfg, rate, parent_rate); parent_rate 1268 drivers/clk/tegra/clk-pll.c if (cfg->m != _pll_fixed_mdiv(pll->params, parent_rate)) { parent_rate 1283 drivers/clk/tegra/clk-pll.c unsigned long parent_rate) parent_rate 1290 drivers/clk/tegra/clk-pll.c ret = _pll_ramp_calc_pll(hw, &cfg, rate, parent_rate); parent_rate 1441 drivers/clk/tegra/clk-pll.c unsigned long parent_rate) parent_rate 1451 drivers/clk/tegra/clk-pll.c ret = _pll_ramp_calc_pll(hw, &cfg, rate, parent_rate); parent_rate 1469 drivers/clk/tegra/clk-pll.c ret = _pllcx_update_dynamic_coef(pll, parent_rate, cfg.n); parent_rate 1487 drivers/clk/tegra/clk-pll.c unsigned long rate, unsigned long parent_rate) parent_rate 1490 drivers/clk/tegra/clk-pll.c u64 output_rate = parent_rate; parent_rate 1492 drivers/clk/tegra/clk-pll.c m = _pll_fixed_mdiv(pll->params, parent_rate); parent_rate 1493 drivers/clk/tegra/clk-pll.c n = rate * m / parent_rate; parent_rate 1507 drivers/clk/tegra/clk-pll.c unsigned long parent_rate) parent_rate 1517 drivers/clk/tegra/clk-pll.c _pllre_calc_rate(pll, &cfg, rate, parent_rate); parent_rate 1541 drivers/clk/tegra/clk-pll.c unsigned long parent_rate) parent_rate 1545 drivers/clk/tegra/clk-pll.c u64 rate = parent_rate; parent_rate 1988 drivers/clk/tegra/clk-pll.c unsigned long parent_rate; parent_rate 2001 drivers/clk/tegra/clk-pll.c parent_rate = clk_get_rate(parent); parent_rate 2003 drivers/clk/tegra/clk-pll.c pll_params->vco_min = _clip_vco_min(pll_params->vco_min, parent_rate); parent_rate 2007 drivers/clk/tegra/clk-pll.c parent_rate); parent_rate 2016 drivers/clk/tegra/clk-pll.c err = _setup_dynamic_ramp(pll_params, clk_base, parent_rate); parent_rate 2048 drivers/clk/tegra/clk-pll.c spinlock_t *lock, unsigned long parent_rate) parent_rate 2054 drivers/clk/tegra/clk-pll.c pll_params->vco_min = _clip_vco_min(pll_params->vco_min, parent_rate); parent_rate 2058 drivers/clk/tegra/clk-pll.c parent_rate); parent_rate 2073 drivers/clk/tegra/clk-pll.c m = _pll_fixed_mdiv(pll_params, parent_rate); parent_rate 2075 drivers/clk/tegra/clk-pll.c val |= (pll_params->vco_min / parent_rate) << divn_shift(pll); parent_rate 2101 drivers/clk/tegra/clk-pll.c unsigned long parent_rate; parent_rate 2113 drivers/clk/tegra/clk-pll.c parent_rate = clk_get_rate(parent); parent_rate 2115 drivers/clk/tegra/clk-pll.c pll_params->vco_min = _clip_vco_min(pll_params->vco_min, parent_rate); parent_rate 2119 drivers/clk/tegra/clk-pll.c parent_rate); parent_rate 2145 drivers/clk/tegra/clk-pll.c unsigned long parent_rate; parent_rate 2157 drivers/clk/tegra/clk-pll.c parent_rate = clk_get_rate(parent); parent_rate 2159 drivers/clk/tegra/clk-pll.c pll_params->vco_min = _clip_vco_min(pll_params->vco_min, parent_rate); parent_rate 2175 drivers/clk/tegra/clk-pll.c cfg.m = _pll_fixed_mdiv(pll_params, parent_rate); parent_rate 2176 drivers/clk/tegra/clk-pll.c cfg.n = cfg.m * pll_params->vco_min / parent_rate; parent_rate 2199 drivers/clk/tegra/clk-pll.c _pllcx_update_dynamic_coef(pll, parent_rate, cfg.n); parent_rate 2289 drivers/clk/tegra/clk-pll.c unsigned long parent_rate; parent_rate 2311 drivers/clk/tegra/clk-pll.c parent_rate = clk_get_rate(parent); parent_rate 2313 drivers/clk/tegra/clk-pll.c pll_params->vco_min = _clip_vco_min(pll_params->vco_min, parent_rate); parent_rate 2317 drivers/clk/tegra/clk-pll.c cfg.m = _pll_fixed_mdiv(pll_params, parent_rate); parent_rate 2318 drivers/clk/tegra/clk-pll.c cfg.n = cfg.m * pll_params->vco_min / parent_rate; parent_rate 2367 drivers/clk/tegra/clk-pll.c spinlock_t *lock, unsigned long parent_rate) parent_rate 2372 drivers/clk/tegra/clk-pll.c pll_params->vco_min = _clip_vco_min(pll_params->vco_min, parent_rate); parent_rate 2376 drivers/clk/tegra/clk-pll.c parent_rate); parent_rate 2577 drivers/clk/tegra/clk-pll.c unsigned long parent_rate; parent_rate 2589 drivers/clk/tegra/clk-pll.c parent_rate = clk_get_rate(parent); parent_rate 2591 drivers/clk/tegra/clk-pll.c pll_params->vco_min = _clip_vco_min(pll_params->vco_min, parent_rate); parent_rate 2595 drivers/clk/tegra/clk-pll.c parent_rate); parent_rate 2618 drivers/clk/tegra/clk-pll.c unsigned long parent_rate; parent_rate 2637 drivers/clk/tegra/clk-pll.c parent_rate = clk_get_rate(parent); parent_rate 2639 drivers/clk/tegra/clk-pll.c pll_params->vco_min = _clip_vco_min(pll_params->vco_min, parent_rate); parent_rate 2643 drivers/clk/tegra/clk-pll.c parent_rate); parent_rate 2667 drivers/clk/tegra/clk-pll.c unsigned long parent_rate; parent_rate 2679 drivers/clk/tegra/clk-pll.c parent_rate = clk_get_rate(parent); parent_rate 2681 drivers/clk/tegra/clk-pll.c pll_params->vco_min = _clip_vco_min(pll_params->vco_min, parent_rate); parent_rate 2685 drivers/clk/tegra/clk-pll.c parent_rate); parent_rate 88 drivers/clk/tegra/clk-sdmmc-mux.c unsigned long parent_rate) parent_rate 93 drivers/clk/tegra/clk-sdmmc-mux.c u64 rate = parent_rate; parent_rate 134 drivers/clk/tegra/clk-sdmmc-mux.c unsigned long parent_rate) parent_rate 142 drivers/clk/tegra/clk-sdmmc-mux.c div = div_frac_get(rate, parent_rate, 8, 1, sdmmc_mux->div_flags); parent_rate 119 drivers/clk/tegra/clk-super.c unsigned long *parent_rate) parent_rate 126 drivers/clk/tegra/clk-super.c return super->div_ops->round_rate(div_hw, rate, parent_rate); parent_rate 130 drivers/clk/tegra/clk-super.c unsigned long parent_rate) parent_rate 137 drivers/clk/tegra/clk-super.c return super->div_ops->recalc_rate(div_hw, parent_rate); parent_rate 141 drivers/clk/tegra/clk-super.c unsigned long parent_rate) parent_rate 148 drivers/clk/tegra/clk-super.c return super->div_ops->set_rate(div_hw, rate, parent_rate); parent_rate 1479 drivers/clk/tegra/clk-tegra210.c unsigned long parent_rate) parent_rate 1483 drivers/clk/tegra/clk-tegra210.c params->vco_min += DIV_ROUND_UP(parent_rate, PLL_SDM_COEFF); parent_rate 12 drivers/clk/tegra/clk-utils.c int div_frac_get(unsigned long rate, unsigned parent_rate, u8 width, parent_rate 15 drivers/clk/tegra/clk-utils.c u64 divider_ux1 = parent_rate; parent_rate 280 drivers/clk/tegra/clk.h unsigned long rate, unsigned long parent_rate); parent_rate 282 drivers/clk/tegra/clk.h unsigned long parent_rate); parent_rate 371 drivers/clk/tegra/clk.h spinlock_t *lock, unsigned long parent_rate); parent_rate 377 drivers/clk/tegra/clk.h spinlock_t *lock, unsigned long parent_rate); parent_rate 830 drivers/clk/tegra/clk.h int div_frac_get(unsigned long rate, unsigned parent_rate, u8 width, parent_rate 452 drivers/clk/ti/adpll.c unsigned long parent_rate) parent_rate 468 drivers/clk/ti/adpll.c rate *= parent_rate; parent_rate 256 drivers/clk/ti/apll.c unsigned long parent_rate) parent_rate 124 drivers/clk/ti/clk-dra7-atl.c unsigned long parent_rate) parent_rate 128 drivers/clk/ti/clk-dra7-atl.c return parent_rate / cdesc->divider; parent_rate 132 drivers/clk/ti/clk-dra7-atl.c unsigned long *parent_rate) parent_rate 136 drivers/clk/ti/clk-dra7-atl.c divider = (*parent_rate + rate / 2) / rate; parent_rate 140 drivers/clk/ti/clk-dra7-atl.c return *parent_rate / divider; parent_rate 144 drivers/clk/ti/clk-dra7-atl.c unsigned long parent_rate) parent_rate 153 drivers/clk/ti/clk-dra7-atl.c divider = ((parent_rate + rate / 2) / rate) - 1; parent_rate 110 drivers/clk/ti/clkt_dpll.c static unsigned long _dpll_compute_new_rate(unsigned long parent_rate, parent_rate 115 drivers/clk/ti/clkt_dpll.c num = (unsigned long long)parent_rate * m; parent_rate 142 drivers/clk/ti/clkt_dpll.c unsigned long parent_rate) parent_rate 155 drivers/clk/ti/clkt_dpll.c *new_rate = _dpll_compute_new_rate(parent_rate, *m, n); parent_rate 169 drivers/clk/ti/clkt_dpll.c *new_rate = _dpll_compute_new_rate(parent_rate, *m, n); parent_rate 283 drivers/clk/ti/clkt_dpll.c unsigned long *parent_rate) parent_rate 277 drivers/clk/ti/clock.h unsigned long parent_rate); parent_rate 280 drivers/clk/ti/clock.h unsigned long parent_rate, parent_rate 285 drivers/clk/ti/clock.h unsigned long *parent_rate); parent_rate 287 drivers/clk/ti/clock.h unsigned long parent_rate); parent_rate 296 drivers/clk/ti/clock.h unsigned long omap3_dpll_recalc(struct clk_hw *hw, unsigned long parent_rate); parent_rate 298 drivers/clk/ti/clock.h unsigned long parent_rate); parent_rate 300 drivers/clk/ti/clock.h unsigned long parent_rate, u8 index); parent_rate 302 drivers/clk/ti/clock.h unsigned long parent_rate); parent_rate 306 drivers/clk/ti/clock.h unsigned long parent_rate); parent_rate 309 drivers/clk/ti/clock.h unsigned long *parent_rate); parent_rate 32 drivers/clk/ti/composite.c unsigned long parent_rate) parent_rate 34 drivers/clk/ti/composite.c return ti_clk_divider_ops.recalc_rate(hw, parent_rate); parent_rate 44 drivers/clk/ti/composite.c unsigned long parent_rate) parent_rate 98 drivers/clk/ti/divider.c unsigned long parent_rate) parent_rate 111 drivers/clk/ti/divider.c return parent_rate; parent_rate 114 drivers/clk/ti/divider.c return DIV_ROUND_UP(parent_rate, div); parent_rate 144 drivers/clk/ti/divider.c unsigned long parent_rate, unsigned long rate) parent_rate 148 drivers/clk/ti/divider.c int div = DIV_ROUND_UP_ULL((u64)parent_rate, rate); parent_rate 164 drivers/clk/ti/divider.c unsigned long parent_rate, unsigned long rate) parent_rate 167 drivers/clk/ti/divider.c return DIV_ROUND_UP(parent_rate, rate); parent_rate 169 drivers/clk/ti/divider.c return _div_round_up(table, parent_rate, rate); parent_rate 177 drivers/clk/ti/divider.c unsigned long parent_rate, best = 0, now, maxdiv; parent_rate 186 drivers/clk/ti/divider.c parent_rate = *best_parent_rate; parent_rate 187 drivers/clk/ti/divider.c bestdiv = _div_round(divider->table, parent_rate, rate); parent_rate 211 drivers/clk/ti/divider.c parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw), parent_rate 213 drivers/clk/ti/divider.c now = DIV_ROUND_UP(parent_rate, i); parent_rate 217 drivers/clk/ti/divider.c *best_parent_rate = parent_rate; parent_rate 240 drivers/clk/ti/divider.c unsigned long parent_rate) parent_rate 251 drivers/clk/ti/divider.c div = DIV_ROUND_UP(parent_rate, rate); parent_rate 413 drivers/clk/ti/dpll3xxx.c unsigned long omap3_dpll_recalc(struct clk_hw *hw, unsigned long parent_rate) parent_rate 562 drivers/clk/ti/dpll3xxx.c unsigned long parent_rate) parent_rate 611 drivers/clk/ti/dpll3xxx.c unsigned long parent_rate, parent_rate 627 drivers/clk/ti/dpll3xxx.c ret = omap3_noncore_dpll_set_rate(hw, rate, parent_rate); parent_rate 754 drivers/clk/ti/dpll3xxx.c unsigned long parent_rate) parent_rate 761 drivers/clk/ti/dpll3xxx.c if (!parent_rate) parent_rate 776 drivers/clk/ti/dpll3xxx.c rate = parent_rate; parent_rate 778 drivers/clk/ti/dpll3xxx.c rate = parent_rate * 2; parent_rate 924 drivers/clk/ti/dpll3xxx.c unsigned long parent_rate) parent_rate 936 drivers/clk/ti/dpll3xxx.c return omap3_noncore_dpll_set_rate(hw, rate, parent_rate); parent_rate 952 drivers/clk/ti/dpll3xxx.c unsigned long parent_rate, u8 index) parent_rate 959 drivers/clk/ti/dpll3xxx.c return omap3_noncore_dpll_set_rate_and_parent(hw, rate, parent_rate, parent_rate 965 drivers/clk/ti/dpll3xxx.c unsigned long parent_rate) parent_rate 991 drivers/clk/ti/dpll3xxx.c if (parent_rate == precomputed[i].rate) parent_rate 1004 drivers/clk/ti/dpll3xxx.c dd->last_rounded_rate = div_u64((u64)parent_rate * d->m, d->n); parent_rate 1020 drivers/clk/ti/dpll3xxx.c unsigned long parent_rate) parent_rate 1023 drivers/clk/ti/dpll3xxx.c if (omap3_dpll5_apply_errata(hw, parent_rate)) parent_rate 1027 drivers/clk/ti/dpll3xxx.c return omap3_noncore_dpll_set_rate(hw, rate, parent_rate); parent_rate 113 drivers/clk/ti/dpll44xx.c unsigned long parent_rate) parent_rate 149 drivers/clk/ti/dpll44xx.c unsigned long *parent_rate) parent_rate 168 drivers/clk/ti/fapll.c unsigned long parent_rate) parent_rate 175 drivers/clk/ti/fapll.c return parent_rate; parent_rate 177 drivers/clk/ti/fapll.c rate = parent_rate; parent_rate 202 drivers/clk/ti/fapll.c unsigned long parent_rate, parent_rate 211 drivers/clk/ti/fapll.c if (rate < parent_rate) { parent_rate 216 drivers/clk/ti/fapll.c *mult_n = rate / parent_rate; parent_rate 225 drivers/clk/ti/fapll.c unsigned long *parent_rate) parent_rate 233 drivers/clk/ti/fapll.c error = ti_fapll_set_div_mult(rate, *parent_rate, parent_rate 238 drivers/clk/ti/fapll.c rate = *parent_rate / pre_div_p; parent_rate 245 drivers/clk/ti/fapll.c unsigned long parent_rate) parent_rate 254 drivers/clk/ti/fapll.c error = ti_fapll_set_div_mult(rate, parent_rate, parent_rate 314 drivers/clk/ti/fapll.c unsigned long parent_rate) parent_rate 330 drivers/clk/ti/fapll.c return parent_rate; parent_rate 332 drivers/clk/ti/fapll.c rate = parent_rate; parent_rate 358 drivers/clk/ti/fapll.c unsigned long parent_rate) parent_rate 364 drivers/clk/ti/fapll.c current_rate = ti_fapll_synth_recalc_rate(hw, parent_rate); parent_rate 373 drivers/clk/ti/fapll.c unsigned long parent_rate) parent_rate 377 drivers/clk/ti/fapll.c post_div_m = DIV_ROUND_UP_ULL((u64)parent_rate * SYNTH_PHASE_K, rate); parent_rate 385 drivers/clk/ti/fapll.c synth_int_div = DIV_ROUND_UP_ULL((u64)parent_rate * parent_rate 410 drivers/clk/ti/fapll.c unsigned long *parent_rate) parent_rate 424 drivers/clk/ti/fapll.c frac_rate = ti_fapll_synth_get_frac_rate(hw, *parent_rate); parent_rate 430 drivers/clk/ti/fapll.c r = *parent_rate * SYNTH_PHASE_K; parent_rate 444 drivers/clk/ti/fapll.c unsigned long parent_rate) parent_rate 455 drivers/clk/ti/fapll.c frac_rate = ti_fapll_synth_get_frac_rate(hw, parent_rate); parent_rate 471 drivers/clk/ti/fapll.c parent_rate); parent_rate 76 drivers/clk/ux500/clk-prcmu.c unsigned long parent_rate) parent_rate 83 drivers/clk/ux500/clk-prcmu.c unsigned long *parent_rate) parent_rate 90 drivers/clk/ux500/clk-prcmu.c unsigned long parent_rate) parent_rate 59 drivers/clk/ux500/clk-sysctrl.c unsigned long parent_rate) parent_rate 231 drivers/clk/versatile/clk-icst.c unsigned long parent_rate) parent_rate 237 drivers/clk/versatile/clk-icst.c if (parent_rate) parent_rate 238 drivers/clk/versatile/clk-icst.c icst->params->ref = parent_rate; parent_rate 299 drivers/clk/versatile/clk-icst.c unsigned long parent_rate) parent_rate 334 drivers/clk/versatile/clk-icst.c if (parent_rate) parent_rate 335 drivers/clk/versatile/clk-icst.c icst->params->ref = parent_rate; parent_rate 25 drivers/clk/versatile/clk-vexpress-osc.c unsigned long parent_rate) parent_rate 36 drivers/clk/versatile/clk-vexpress-osc.c unsigned long *parent_rate) parent_rate 50 drivers/clk/versatile/clk-vexpress-osc.c unsigned long parent_rate) parent_rate 66 drivers/clk/zte/clk.c unsigned long parent_rate) parent_rate 90 drivers/clk/zte/clk.c unsigned long parent_rate) parent_rate 189 drivers/clk/zte/clk.c static u32 calc_reg(u32 parent_rate, u32 rate) parent_rate 192 drivers/clk/zte/clk.c u64 tmp64 = (u64)parent_rate * BPAR; parent_rate 212 drivers/clk/zte/clk.c static u32 calc_rate(u32 reg, u32 parent_rate) parent_rate 215 drivers/clk/zte/clk.c u64 tmp64 = (u64)parent_rate * BPAR; parent_rate 232 drivers/clk/zte/clk.c unsigned long parent_rate) parent_rate 238 drivers/clk/zte/clk.c return calc_rate(reg, parent_rate); parent_rate 254 drivers/clk/zte/clk.c unsigned long parent_rate) parent_rate 259 drivers/clk/zte/clk.c reg = calc_reg(parent_rate, rate); parent_rate 343 drivers/clk/zte/clk.c unsigned long parent_rate) parent_rate 351 drivers/clk/zte/clk.c rate = (parent_rate * n) / m; parent_rate 358 drivers/clk/zte/clk.c unsigned long rate, unsigned long parent_rate) parent_rate 363 drivers/clk/zte/clk.c reg_int = parent_rate / rate; parent_rate 369 drivers/clk/zte/clk.c m = parent_rate - rate * reg_int; parent_rate 387 drivers/clk/zte/clk.c div_table->rate = parent_rate * n / (reg_int * n + m); parent_rate 393 drivers/clk/zte/clk.c unsigned long parent_rate) parent_rate 401 drivers/clk/zte/clk.c return audio_calc_rate(zx_audio_div, reg_frac, reg_int, parent_rate); parent_rate 416 drivers/clk/zte/clk.c unsigned long parent_rate) parent_rate 422 drivers/clk/zte/clk.c audio_calc_reg(zx_audio_div, &divt, rate, parent_rate); parent_rate 72 drivers/clk/zynq/pll.c unsigned long parent_rate) parent_rate 84 drivers/clk/zynq/pll.c return parent_rate * fbdiv; parent_rate 46 drivers/clk/zynqmp/divider.c static inline int zynqmp_divider_get_val(unsigned long parent_rate, parent_rate 49 drivers/clk/zynqmp/divider.c return DIV_ROUND_CLOSEST(parent_rate, rate); parent_rate 60 drivers/clk/zynqmp/divider.c unsigned long parent_rate) parent_rate 85 drivers/clk/zynqmp/divider.c return parent_rate; parent_rate 88 drivers/clk/zynqmp/divider.c return DIV_ROUND_UP_ULL(parent_rate, value); parent_rate 144 drivers/clk/zynqmp/divider.c unsigned long parent_rate) parent_rate 154 drivers/clk/zynqmp/divider.c value = zynqmp_divider_get_val(parent_rate, rate); parent_rate 133 drivers/clk/zynqmp/pll.c unsigned long parent_rate) parent_rate 149 drivers/clk/zynqmp/pll.c rate = parent_rate * fbdiv; parent_rate 154 drivers/clk/zynqmp/pll.c frac = (parent_rate * data) / FRAC_DIV; parent_rate 172 drivers/clk/zynqmp/pll.c unsigned long parent_rate) parent_rate 183 drivers/clk/zynqmp/pll.c rate_div = (rate * FRAC_DIV) / parent_rate; parent_rate 187 drivers/clk/zynqmp/pll.c rate = parent_rate * m; parent_rate 188 drivers/clk/zynqmp/pll.c frac = (parent_rate * f) / FRAC_DIV; parent_rate 200 drivers/clk/zynqmp/pll.c fbdiv = DIV_ROUND_CLOSEST(rate, parent_rate); parent_rate 207 drivers/clk/zynqmp/pll.c return parent_rate * fbdiv; parent_rate 376 drivers/gpu/drm/imx/imx-tve.c unsigned long parent_rate) parent_rate 388 drivers/gpu/drm/imx/imx-tve.c return parent_rate / 4; parent_rate 390 drivers/gpu/drm/imx/imx-tve.c return parent_rate / 2; parent_rate 393 drivers/gpu/drm/imx/imx-tve.c return parent_rate; parent_rate 413 drivers/gpu/drm/imx/imx-tve.c unsigned long parent_rate) parent_rate 420 drivers/gpu/drm/imx/imx-tve.c div = parent_rate / rate; parent_rate 610 drivers/gpu/drm/ingenic/ingenic-drm.c long parent_rate; parent_rate 760 drivers/gpu/drm/ingenic/ingenic-drm.c parent_rate = clk_get_rate(parent_clk); parent_rate 767 drivers/gpu/drm/ingenic/ingenic-drm.c ret = clk_set_rate(priv->lcd_clk, parent_rate); parent_rate 291 drivers/gpu/drm/mediatek/mtk_mipi_tx.c unsigned long parent_rate) parent_rate 303 drivers/gpu/drm/mediatek/mtk_mipi_tx.c unsigned long parent_rate) parent_rate 110 drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c unsigned long *parent_rate) parent_rate 116 drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c unsigned long parent_rate) parent_rate 163 drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c unsigned long parent_rate) parent_rate 172 drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c out_rate = parent_rate; parent_rate 175 drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c out_rate = parent_rate / 2; parent_rate 178 drivers/gpu/drm/mediatek/mtk_mt2701_hdmi_phy.c out_rate = parent_rate / 4; parent_rate 195 drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c unsigned long *parent_rate) parent_rate 201 drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c *parent_rate = rate; parent_rate 203 drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c *parent_rate = rate / 2; parent_rate 209 drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c unsigned long parent_rate) parent_rate 219 drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c rate, parent_rate); parent_rate 295 drivers/gpu/drm/mediatek/mtk_mt8173_hdmi_phy.c unsigned long parent_rate) parent_rate 95 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_pll.c unsigned long parent_rate) parent_rate 102 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_pll.c unsigned long *parent_rate) parent_rate 109 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_pll.c unsigned long parent_rate) parent_rate 52 drivers/gpu/drm/msm/dsi/pll/dsi_pll.c unsigned long rate, unsigned long *parent_rate) parent_rate 70 drivers/gpu/drm/msm/dsi/pll/dsi_pll.h unsigned long rate, unsigned long *parent_rate); parent_rate 317 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c unsigned long parent_rate) parent_rate 323 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c parent_rate); parent_rate 482 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c unsigned long parent_rate) parent_rate 575 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c unsigned long parent_rate) parent_rate 583 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c parent_rate); parent_rate 625 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c unsigned long parent_rate) parent_rate 633 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c u64 ref_clk = parent_rate; parent_rate 678 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c unsigned long parent_rate) parent_rate 687 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c DBG("DSI%d PLL parent rate=%lu", pll_14nm->id, parent_rate); parent_rate 692 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c return divider_recalc_rate(hw, parent_rate, val, NULL, parent_rate 711 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c unsigned long parent_rate) parent_rate 724 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c parent_rate); parent_rate 726 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c value = divider_get_val(rate, parent_rate, NULL, postdiv->width, parent_rate 128 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c unsigned long parent_rate) parent_rate 141 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c VERB("rate=%lu, parent's=%lu", rate, parent_rate); parent_rate 253 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c unsigned long parent_rate) parent_rate 263 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c VERB("parent_rate=%lu", parent_rate); parent_rate 110 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c unsigned long parent_rate) parent_rate 117 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c DBG("rate=%lu, parent's=%lu", rate, parent_rate); parent_rate 161 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c unsigned long parent_rate) parent_rate 169 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c VERB("parent_rate=%lu", parent_rate); parent_rate 185 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c vco_rate = (parent_rate / ref_divider) * fb_divider * 2; parent_rate 219 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c unsigned long parent_rate) parent_rate 226 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c return parent_rate / (div + 1); parent_rate 262 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c unsigned long parent_rate) parent_rate 396 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c unsigned long parent_rate) parent_rate 405 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c ret = pll_calculate(rate, parent_rate, &cfg); parent_rate 634 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c unsigned long *parent_rate) parent_rate 645 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c unsigned long parent_rate) parent_rate 657 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c fdata = pll_cmp_to_fdata(pll_cmp + 1, parent_rate); parent_rate 369 drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c unsigned long parent_rate) parent_rate 377 drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c unsigned long *parent_rate) parent_rate 385 drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c unsigned long parent_rate) parent_rate 94 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c rate = clk->parent_rate * pll->n; parent_rate 114 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c ref_clk_f = clk->parent_rate / KHZ; parent_rate 513 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c switch (clk->parent_rate) { parent_rate 530 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c clk->parent_rate / KHZ); parent_rate 629 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c clk->parent_rate = clk_get_rate(tdev->clk); parent_rate 636 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c clk->parent_rate / KHZ); parent_rate 120 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.h u32 parent_rate; parent_rate 146 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.h clk->parent_rate / KHZ); parent_rate 491 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c u32 parent_rate = clk->base.parent_rate / KHZ; parent_rate 501 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c nmin = DIV_ROUND_UP(pll->m * clk->base.params->min_vco, parent_rate); parent_rate 502 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c nsafe = pll->m * rate / (clk->base.parent_rate); parent_rate 505 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c pll->pl = DIV_ROUND_UP(nmin * parent_rate, pll->m * rate); parent_rate 1049 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c (clk->base.parent_rate / KHZ)); parent_rate 54 drivers/gpu/drm/sun4i/sun4i_dotclock.c unsigned long parent_rate) parent_rate 67 drivers/gpu/drm/sun4i/sun4i_dotclock.c return parent_rate / val; parent_rate 71 drivers/gpu/drm/sun4i/sun4i_dotclock.c unsigned long *parent_rate) parent_rate 110 drivers/gpu/drm/sun4i/sun4i_dotclock.c *parent_rate = best_parent; parent_rate 116 drivers/gpu/drm/sun4i/sun4i_dotclock.c unsigned long parent_rate) parent_rate 119 drivers/gpu/drm/sun4i/sun4i_dotclock.c u8 div = parent_rate / rate; parent_rate 28 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c unsigned long parent_rate, parent_rate 40 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c tmp_rate = (((parent_rate / pre_div) / 10) >> _n) / parent_rate 72 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c unsigned long parent_rate) parent_rate 82 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c return (((parent_rate / ddc->pre_div) / 10) >> n) / parent_rate 87 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c unsigned long parent_rate) parent_rate 92 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c sun4i_ddc_calc_divider(rate, parent_rate, ddc->pre_div, parent_rate 28 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c unsigned long parent_rate, parent_rate 43 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c tmp_rate = parent_rate / m / d; parent_rate 126 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c unsigned long parent_rate) parent_rate 133 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c parent_rate /= 2; parent_rate 140 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c return parent_rate / reg; parent_rate 144 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c unsigned long parent_rate) parent_rate 151 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c sun4i_tmds_calc_divider(rate, parent_rate, tmds->div_offset, parent_rate 69 drivers/gpu/drm/sun4i/sun8i_hdmi_phy_clk.c unsigned long parent_rate) parent_rate 78 drivers/gpu/drm/sun4i/sun8i_hdmi_phy_clk.c return parent_rate / reg; parent_rate 82 drivers/gpu/drm/sun4i/sun8i_hdmi_phy_clk.c unsigned long parent_rate) parent_rate 89 drivers/gpu/drm/sun4i/sun8i_hdmi_phy_clk.c unsigned long tmp_rate = parent_rate / m; parent_rate 786 drivers/gpu/drm/vc4/vc4_dsi.c unsigned long parent_rate = clk_get_rate(phy_parent); parent_rate 795 drivers/gpu/drm/vc4/vc4_dsi.c if (parent_rate / divider < pll_clock) { parent_rate 804 drivers/gpu/drm/vc4/vc4_dsi.c pll_clock = parent_rate / divider; parent_rate 86 drivers/i2c/busses/i2c-bcm2835.c unsigned long parent_rate) parent_rate 88 drivers/i2c/busses/i2c-bcm2835.c u32 divider = DIV_ROUND_UP(parent_rate, rate); parent_rate 105 drivers/i2c/busses/i2c-bcm2835.c unsigned long parent_rate) parent_rate 109 drivers/i2c/busses/i2c-bcm2835.c u32 divider = clk_bcm2835_i2c_calc_divider(rate, parent_rate); parent_rate 136 drivers/i2c/busses/i2c-bcm2835.c unsigned long *parent_rate) parent_rate 138 drivers/i2c/busses/i2c-bcm2835.c u32 divider = clk_bcm2835_i2c_calc_divider(rate, *parent_rate); parent_rate 140 drivers/i2c/busses/i2c-bcm2835.c return DIV_ROUND_UP(*parent_rate, divider); parent_rate 144 drivers/i2c/busses/i2c-bcm2835.c unsigned long parent_rate) parent_rate 149 drivers/i2c/busses/i2c-bcm2835.c return DIV_ROUND_UP(parent_rate, divider); parent_rate 130 drivers/i2c/busses/i2c-stm32f4.c int parent_rate; parent_rate 156 drivers/i2c/busses/i2c-stm32f4.c i2c_dev->parent_rate = clk_get_rate(i2c_dev->clk); parent_rate 157 drivers/i2c/busses/i2c-stm32f4.c freq = DIV_ROUND_UP(i2c_dev->parent_rate, HZ_TO_MHZ); parent_rate 193 drivers/i2c/busses/i2c-stm32f4.c u32 freq = DIV_ROUND_UP(i2c_dev->parent_rate, HZ_TO_MHZ); parent_rate 246 drivers/i2c/busses/i2c-stm32f4.c val = i2c_dev->parent_rate / (100000 << 1); parent_rate 266 drivers/i2c/busses/i2c-stm32f4.c val = DIV_ROUND_UP(i2c_dev->parent_rate, 400000 * 3); parent_rate 164 drivers/iio/adc/ingenic-adc.c unsigned long parent_rate, rate; parent_rate 172 drivers/iio/adc/ingenic-adc.c parent_rate = clk_get_rate(parent_clk); parent_rate 179 drivers/iio/adc/ingenic-adc.c div_main = DIV_ROUND_UP(parent_rate, 8000000); parent_rate 181 drivers/iio/adc/ingenic-adc.c rate = parent_rate / div_main; parent_rate 341 drivers/media/platform/atmel/atmel-isc-base.c isc_clk_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) parent_rate 345 drivers/media/platform/atmel/atmel-isc-base.c return DIV_ROUND_CLOSEST(parent_rate, isc_clk->div + 1); parent_rate 358 drivers/media/platform/atmel/atmel-isc-base.c unsigned long parent_rate; parent_rate 364 drivers/media/platform/atmel/atmel-isc-base.c parent_rate = clk_hw_get_rate(parent); parent_rate 365 drivers/media/platform/atmel/atmel-isc-base.c if (!parent_rate) parent_rate 372 drivers/media/platform/atmel/atmel-isc-base.c rate = DIV_ROUND_CLOSEST(parent_rate, div); parent_rate 378 drivers/media/platform/atmel/atmel-isc-base.c req->best_parent_rate = parent_rate; parent_rate 425 drivers/media/platform/atmel/atmel-isc-base.c unsigned long parent_rate) parent_rate 433 drivers/media/platform/atmel/atmel-isc-base.c div = DIV_ROUND_CLOSEST(parent_rate, rate); parent_rate 973 drivers/media/platform/marvell-ccic/mcam-core.c unsigned long parent_rate) parent_rate 224 drivers/media/platform/meson/ao-cec-g12a.c unsigned long parent_rate) parent_rate 235 drivers/media/platform/meson/ao-cec-g12a.c return parent_rate; parent_rate 246 drivers/media/platform/meson/ao-cec-g12a.c f1 = DIV_ROUND_CLOSEST(parent_rate, n1); parent_rate 247 drivers/media/platform/meson/ao-cec-g12a.c f2 = DIV_ROUND_CLOSEST(parent_rate, n2); parent_rate 257 drivers/media/platform/meson/ao-cec-g12a.c return DIV_ROUND_CLOSEST(parent_rate, n1); parent_rate 218 drivers/media/platform/omap3isp/isp.c unsigned long parent_rate) parent_rate 222 drivers/media/platform/omap3isp/isp.c return parent_rate / xclk->divider; parent_rate 225 drivers/media/platform/omap3isp/isp.c static u32 isp_xclk_calc_divider(unsigned long *rate, unsigned long parent_rate) parent_rate 229 drivers/media/platform/omap3isp/isp.c if (*rate >= parent_rate) { parent_rate 230 drivers/media/platform/omap3isp/isp.c *rate = parent_rate; parent_rate 237 drivers/media/platform/omap3isp/isp.c divider = DIV_ROUND_CLOSEST(parent_rate, *rate); parent_rate 241 drivers/media/platform/omap3isp/isp.c *rate = parent_rate / divider; parent_rate 246 drivers/media/platform/omap3isp/isp.c unsigned long *parent_rate) parent_rate 248 drivers/media/platform/omap3isp/isp.c isp_xclk_calc_divider(&rate, *parent_rate); parent_rate 253 drivers/media/platform/omap3isp/isp.c unsigned long parent_rate) parent_rate 259 drivers/media/platform/omap3isp/isp.c divider = isp_xclk_calc_divider(&rate, parent_rate); parent_rate 520 drivers/mmc/host/sdhci-of-arasan.c unsigned long parent_rate) parent_rate 3970 drivers/net/ethernet/cadence/macb_main.c unsigned long parent_rate) parent_rate 3976 drivers/net/ethernet/cadence/macb_main.c unsigned long *parent_rate) parent_rate 4001 drivers/net/ethernet/cadence/macb_main.c unsigned long parent_rate) parent_rate 4003 drivers/net/ethernet/cadence/macb_main.c rate = fu540_macb_tx_round_rate(hw, rate, &parent_rate); parent_rate 71 drivers/net/phy/mdio-mux-meson-g12a.c unsigned long parent_rate) parent_rate 80 drivers/net/phy/mdio-mux-meson-g12a.c return parent_rate * m / n; parent_rate 567 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c unsigned long parent_rate) parent_rate 577 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c vco = parent_rate * nf; parent_rate 602 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c unsigned long *parent_rate) parent_rate 620 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c unsigned long parent_rate) parent_rate 713 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c unsigned long parent_rate) parent_rate 724 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c vco = parent_rate * nf; parent_rate 730 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c vco += DIV_ROUND_CLOSEST(parent_rate * frac, (1 << 24)); parent_rate 756 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c unsigned long *parent_rate) parent_rate 774 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c unsigned long parent_rate) parent_rate 298 drivers/phy/rockchip/phy-rockchip-inno-usb2.c unsigned long parent_rate) parent_rate 89 drivers/phy/rockchip/phy-rockchip-usb.c unsigned long parent_rate) parent_rate 1349 drivers/rtc/rtc-ds1307.c unsigned long parent_rate) parent_rate 1380 drivers/rtc/rtc-ds1307.c unsigned long parent_rate) parent_rate 1440 drivers/rtc/rtc-ds1307.c unsigned long parent_rate) parent_rate 297 drivers/rtc/rtc-hym8563.c unsigned long parent_rate) parent_rate 323 drivers/rtc/rtc-hym8563.c unsigned long parent_rate) parent_rate 455 drivers/rtc/rtc-m41t80.c unsigned long parent_rate) parent_rate 473 drivers/rtc/rtc-m41t80.c unsigned long parent_rate) parent_rate 401 drivers/rtc/rtc-pcf8563.c unsigned long parent_rate) parent_rate 428 drivers/rtc/rtc-pcf8563.c unsigned long parent_rate) parent_rate 156 drivers/rtc/rtc-sun6i.c unsigned long parent_rate) parent_rate 163 drivers/rtc/rtc-sun6i.c return parent_rate; parent_rate 166 drivers/rtc/rtc-sun6i.c parent_rate /= rtc->data->fixed_prescaler; parent_rate 173 drivers/rtc/rtc-sun6i.c return parent_rate / (val + 1); parent_rate 265 drivers/spi/spi-sh-msiof.c unsigned long parent_rate, u32 spi_hz) parent_rate 271 drivers/spi/spi-sh-msiof.c if (!spi_hz || !parent_rate) { parent_rate 273 drivers/spi/spi-sh-msiof.c parent_rate, spi_hz); parent_rate 277 drivers/spi/spi-sh-msiof.c div = DIV_ROUND_UP(parent_rate, spi_hz); parent_rate 840 drivers/usb/phy/phy-tegra-usb.c unsigned long parent_rate; parent_rate 856 drivers/usb/phy/phy-tegra-usb.c parent_rate = clk_get_rate(clk_get_parent(phy->pll_u)); parent_rate 858 drivers/usb/phy/phy-tegra-usb.c if (tegra_freq_table[i].freq == parent_rate) { parent_rate 865 drivers/usb/phy/phy-tegra-usb.c parent_rate); parent_rate 226 include/linux/clk-provider.h unsigned long parent_rate); parent_rate 228 include/linux/clk-provider.h unsigned long *parent_rate); parent_rate 234 include/linux/clk-provider.h unsigned long parent_rate); parent_rate 237 include/linux/clk-provider.h unsigned long parent_rate, u8 index); parent_rate 471 include/linux/clk-provider.h unsigned long divider_recalc_rate(struct clk_hw *hw, unsigned long parent_rate, parent_rate 482 include/linux/clk-provider.h int divider_get_val(unsigned long rate, unsigned long parent_rate, parent_rate 652 include/linux/clk-provider.h unsigned long rate, unsigned long *parent_rate, parent_rate 66 include/linux/clk/analogbits-wrpll-cln28hpc.h unsigned long parent_rate; parent_rate 72 include/linux/clk/analogbits-wrpll-cln28hpc.h unsigned long parent_rate); parent_rate 77 include/linux/clk/analogbits-wrpll-cln28hpc.h unsigned long parent_rate); parent_rate 252 include/linux/clk/ti.h unsigned long parent_rate); parent_rate 254 include/linux/clk/ti.h unsigned long parent_rate); parent_rate 1939 sound/soc/codecs/da7219.c unsigned long parent_rate) parent_rate 1976 sound/soc/codecs/da7219.c unsigned long *parent_rate) parent_rate 2010 sound/soc/codecs/da7219.c unsigned long parent_rate) parent_rate 2024 sound/soc/codecs/da7219.c unsigned long parent_rate) parent_rate 2035 sound/soc/codecs/da7219.c return parent_rate * 32; parent_rate 2037 sound/soc/codecs/da7219.c return parent_rate * 64; parent_rate 2039 sound/soc/codecs/da7219.c return parent_rate * 128; parent_rate 2041 sound/soc/codecs/da7219.c return parent_rate * 256; parent_rate 2048 sound/soc/codecs/da7219.c unsigned long parent_rate) parent_rate 2052 sound/soc/codecs/da7219.c factor = rate / parent_rate; parent_rate 2064 sound/soc/codecs/da7219.c unsigned long *parent_rate) parent_rate 2071 sound/soc/codecs/da7219.c if (!*parent_rate || !da7219->master) parent_rate 2081 sound/soc/codecs/da7219.c factor = da7219_bclk_get_factor(rate, *parent_rate); parent_rate 2083 sound/soc/codecs/da7219.c return *parent_rate * factor; parent_rate 2087 sound/soc/codecs/da7219.c unsigned long parent_rate) parent_rate 2098 sound/soc/codecs/da7219.c factor = da7219_bclk_get_factor(rate, parent_rate); parent_rate 141 sound/soc/codecs/tlv320aic32x4-clk.c unsigned long parent_rate) parent_rate 148 sound/soc/codecs/tlv320aic32x4-clk.c rate = (u64) parent_rate * settings->r * parent_rate 155 sound/soc/codecs/tlv320aic32x4-clk.c unsigned long rate, unsigned long parent_rate) parent_rate 159 sound/soc/codecs/tlv320aic32x4-clk.c settings->p = parent_rate / AIC32X4_MAX_PLL_CLKIN + 1; parent_rate 169 sound/soc/codecs/tlv320aic32x4-clk.c do_div(multiplier, parent_rate); parent_rate 194 sound/soc/codecs/tlv320aic32x4-clk.c unsigned long parent_rate) parent_rate 204 sound/soc/codecs/tlv320aic32x4-clk.c return clk_aic32x4_pll_calc_rate(&settings, parent_rate); parent_rate 209 sound/soc/codecs/tlv320aic32x4-clk.c unsigned long *parent_rate) parent_rate 214 sound/soc/codecs/tlv320aic32x4-clk.c ret = clk_aic32x4_pll_calc_muldiv(&settings, rate, *parent_rate); parent_rate 218 sound/soc/codecs/tlv320aic32x4-clk.c return clk_aic32x4_pll_calc_rate(&settings, *parent_rate); parent_rate 223 sound/soc/codecs/tlv320aic32x4-clk.c unsigned long parent_rate) parent_rate 229 sound/soc/codecs/tlv320aic32x4-clk.c ret = clk_aic32x4_pll_calc_muldiv(&settings, rate, parent_rate); parent_rate 309 sound/soc/codecs/tlv320aic32x4-clk.c unsigned long parent_rate) parent_rate 314 sound/soc/codecs/tlv320aic32x4-clk.c divisor = DIV_ROUND_UP(parent_rate, rate); parent_rate 323 sound/soc/codecs/tlv320aic32x4-clk.c unsigned long *parent_rate) parent_rate 327 sound/soc/codecs/tlv320aic32x4-clk.c divisor = DIV_ROUND_UP(*parent_rate, rate); parent_rate 331 sound/soc/codecs/tlv320aic32x4-clk.c return DIV_ROUND_UP(*parent_rate, divisor); parent_rate 335 sound/soc/codecs/tlv320aic32x4-clk.c unsigned long parent_rate) parent_rate 343 sound/soc/codecs/tlv320aic32x4-clk.c return DIV_ROUND_UP(parent_rate, val & AIC32X4_DIV_MASK); parent_rate 215 sound/soc/intel/skylake/skl-ssp-clk.c unsigned long parent_rate) parent_rate 240 sound/soc/intel/skylake/skl-ssp-clk.c unsigned long parent_rate) parent_rate 252 sound/soc/intel/skylake/skl-ssp-clk.c unsigned long *parent_rate) parent_rate 391 sound/soc/stm/stm32_sai_sub.c unsigned long parent_rate) parent_rate 399 sound/soc/stm/stm32_sai_sub.c unsigned long parent_rate) parent_rate 405 sound/soc/stm/stm32_sai_sub.c div = stm32_sai_get_clk_div(sai, parent_rate, rate); parent_rate 240 sound/soc/sunxi/sun4i-i2s.c unsigned long parent_rate, parent_rate 246 sound/soc/sunxi/sun4i-i2s.c int div = parent_rate / sampling_rate / word_size / channels; parent_rate 260 sound/soc/sunxi/sun4i-i2s.c unsigned long parent_rate, parent_rate 264 sound/soc/sunxi/sun4i-i2s.c int div = parent_rate / mclk_rate;