Searched refs:rotrim (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/clk/microchip/ |
H A D | clk-core.c | 295 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() 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() 378 u32 rotrim, rodiv; in roclk_round_rate() local [all …]
|
/openbmc/u-boot/drivers/clk/ |
H A D | clk_pic32.c | 231 u32 rodiv, rotrim, rosel, v, parent_rate; in pic32_get_refclk() local 246 rotrim = (v >> REFO_TRIM_SHIFT) & REFO_TRIM_MASK; in pic32_get_refclk() 267 if (rotrim) { in pic32_get_refclk() 269 rodiv += rotrim; in pic32_get_refclk()
|