Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/clk/microchip/
Dclk-core.c295 u32 rodiv, u32 rotrim) in roclk_calc_rate() argument
304 if (rotrim) { in roclk_calc_rate()
305 rodiv = (rodiv << 9) + rotrim; in roclk_calc_rate()
321 u32 div, rotrim, rodiv; in roclk_calc_div_trim() local
339 rotrim = 0; in roclk_calc_div_trim()
348 rotrim = (frac >= REFO_TRIM_MAX) ? REFO_TRIM_MAX : frac; in roclk_calc_div_trim()
355 *rotrim_p = rotrim; in roclk_calc_div_trim()
362 u32 v, rodiv, rotrim; in roclk_recalc_rate() local
370 rotrim = (v >> REFO_TRIM_SHIFT) & REFO_TRIM_MASK; in roclk_recalc_rate()
372 return roclk_calc_rate(parent_rate, rodiv, rotrim); in roclk_recalc_rate()
[all …]