Searched refs:post_div_m (Results 1 – 1 of 1) sorted by relevance
355 u32 post_div_m; in ti_fapll_synth_get_frac_rate() local358 post_div_m = readl_relaxed(synth->div) & SYNTH_MAX_DIV_M; in ti_fapll_synth_get_frac_rate()359 frac_rate = current_rate * post_div_m; in ti_fapll_synth_get_frac_rate()368 u32 post_div_m, synth_int_div = 0, synth_frac_div = 0, v; in ti_fapll_synth_set_frac_rate() local370 post_div_m = DIV_ROUND_UP_ULL((u64)parent_rate * SYNTH_PHASE_K, rate); in ti_fapll_synth_set_frac_rate()371 post_div_m = post_div_m / SYNTH_MAX_INT_DIV; in ti_fapll_synth_set_frac_rate()372 if (post_div_m > SYNTH_MAX_DIV_M) in ti_fapll_synth_set_frac_rate()374 if (!post_div_m) in ti_fapll_synth_set_frac_rate()375 post_div_m = 1; in ti_fapll_synth_set_frac_rate()377 for (; post_div_m < SYNTH_MAX_DIV_M; post_div_m++) { in ti_fapll_synth_set_frac_rate()[all …]