Lines Matching defs:post_div_m
364 u32 post_div_m;
367 post_div_m = readl_relaxed(synth->div) & SYNTH_MAX_DIV_M;
368 frac_rate = current_rate * post_div_m;
377 u32 post_div_m, synth_int_div = 0, synth_frac_div = 0, v;
379 post_div_m = DIV_ROUND_UP_ULL((u64)parent_rate * SYNTH_PHASE_K, rate);
380 post_div_m = post_div_m / SYNTH_MAX_INT_DIV;
381 if (post_div_m > SYNTH_MAX_DIV_M)
383 if (!post_div_m)
384 post_div_m = 1;
386 for (; post_div_m < SYNTH_MAX_DIV_M; post_div_m++) {
390 rate * post_div_m);
408 return post_div_m;
451 u32 post_div_m = 0, v;
462 post_div_m = DIV_ROUND_UP(frac_rate, rate);
463 if (post_div_m && (post_div_m <= SYNTH_MAX_DIV_M))
464 post_rate = DIV_ROUND_UP(frac_rate, post_div_m);
471 post_div_m = ti_fapll_synth_set_frac_rate(synth,
477 v |= post_div_m;