Home
last modified time | relevance | path

Searched refs:post_div_m (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/ti/
H A Dfapll.c364 u32 post_div_m; in ti_fapll_synth_get_frac_rate() local
367 post_div_m = readl_relaxed(synth->div) & SYNTH_MAX_DIV_M; in ti_fapll_synth_get_frac_rate()
368 frac_rate = current_rate * post_div_m; in ti_fapll_synth_get_frac_rate()
377 u32 post_div_m, synth_int_div = 0, synth_frac_div = 0, v; in ti_fapll_synth_set_frac_rate() local
379 post_div_m = DIV_ROUND_UP_ULL((u64)parent_rate * SYNTH_PHASE_K, rate); in ti_fapll_synth_set_frac_rate()
380 post_div_m = post_div_m / SYNTH_MAX_INT_DIV; in ti_fapll_synth_set_frac_rate()
381 if (post_div_m > SYNTH_MAX_DIV_M) in ti_fapll_synth_set_frac_rate()
383 if (!post_div_m) in ti_fapll_synth_set_frac_rate()
384 post_div_m in ti_fapll_synth_set_frac_rate()
451 u32 post_div_m = 0, v; ti_fapll_synth_set_rate() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/ti/
H A Dfapll.c355 u32 post_div_m; in ti_fapll_synth_get_frac_rate() local
358 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() local
370 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 in ti_fapll_synth_set_frac_rate()
442 u32 post_div_m = 0, v; ti_fapll_synth_set_rate() local
[all...]

Completed in 2 milliseconds