Lines Matching defs:post_div_m
355 u32 post_div_m;
358 post_div_m = readl_relaxed(synth->div) & SYNTH_MAX_DIV_M;
359 frac_rate = current_rate * post_div_m;
368 u32 post_div_m, synth_int_div = 0, synth_frac_div = 0, v;
370 post_div_m = DIV_ROUND_UP_ULL((u64)parent_rate * SYNTH_PHASE_K, rate);
371 post_div_m = post_div_m / SYNTH_MAX_INT_DIV;
372 if (post_div_m > SYNTH_MAX_DIV_M)
374 if (!post_div_m)
375 post_div_m = 1;
377 for (; post_div_m < SYNTH_MAX_DIV_M; post_div_m++) {
381 rate * post_div_m);
399 return post_div_m;
442 u32 post_div_m = 0, v;
453 post_div_m = DIV_ROUND_UP(frac_rate, rate);
454 if (post_div_m && (post_div_m <= SYNTH_MAX_DIV_M))
455 post_rate = DIV_ROUND_UP(frac_rate, post_div_m);
462 post_div_m = ti_fapll_synth_set_frac_rate(synth,
468 v |= post_div_m;