Searched refs:pre_div_sel (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/clk/sophgo/ |
H A D | clk-cv18xx-pll.c | 21 unsigned long pre_div_sel, in ipll_calc_rate() argument 28 do_div(rate, pre_div_sel * post_div_sel); in ipll_calc_rate() 53 unsigned long pre_div_sel = 0, div_sel = 0, post_div_sel = 0; in ipll_find_rate() local 68 pre_div_sel = pre; in ipll_find_rate() 77 detected = PLL_SET_PRE_DIV_SEL(detected, pre_div_sel); in ipll_find_rate() 197 unsigned long pre_div_sel, in fpll_calc_rate() argument 204 u64 factor = ssc_syn_set * pre_div_sel * post_div_sel; in fpll_calc_rate() 289 unsigned long pre_div_sel = 0, div_sel = 0, post_div_sel = 0; in fpll_find_rate() local 307 pre_div_sel = pre; in fpll_find_rate() 316 detected = PLL_SET_PRE_DIV_SEL(detected, pre_div_sel); in fpll_find_rate()
|
/linux/drivers/leds/rgb/ |
H A D | leds-qcom-lpg.c | 184 unsigned int pre_div_sel; member 518 chan->pre_div_sel = best_div; in lpg_calc_freq() 540 (u64)NSEC_PER_SEC * lpg_pre_divs[chan->pre_div_sel] * (1 << chan->pre_div_exp)); in lpg_calc_duty() 574 val = FIELD_PREP(PWM_FREQ_PRE_DIV_MASK, chan->pre_div_sel) | in lpg_apply_freq()
|