Home
last modified time | relevance | path

Searched refs:SYNTH_MAX_DIV_M (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clk/ti/
H A Dfapll.c57 #define SYNTH_MAX_DIV_M 0xff macro
345 synth_div_m = readl_relaxed(synth->div) & SYNTH_MAX_DIV_M; in ti_fapll_synth_recalc_rate()
358 post_div_m = readl_relaxed(synth->div) & SYNTH_MAX_DIV_M; in ti_fapll_synth_get_frac_rate()
372 if (post_div_m > SYNTH_MAX_DIV_M) 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()
427 r = DIV_ROUND_UP_ULL(r, SYNTH_MAX_INT_DIV * SYNTH_MAX_DIV_M); in ti_fapll_synth_round_rate()
454 if (post_div_m && (post_div_m <= SYNTH_MAX_DIV_M)) in ti_fapll_synth_set_rate()
467 v &= ~SYNTH_MAX_DIV_M; in ti_fapll_synth_set_rate()