Searched refs:postdiv2_val (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/clk/hisilicon/ |
H A D | clk-hi3559a.c | 352 u32 *postdiv2_val, in hi3559av100_calc_pll() argument 358 *postdiv2_val = 1; in hi3559av100_calc_pll() 360 rate = rate * ((*postdiv1_val) * (*postdiv2_val)); in hi3559av100_calc_pll() 377 u32 frac_val, postdiv1_val, postdiv2_val, fbdiv_val, refdiv_val; in clk_pll_set_rate() local 380 postdiv1_val = postdiv2_val = 0; in clk_pll_set_rate() 382 hi3559av100_calc_pll(&frac_val, &postdiv1_val, &postdiv2_val, in clk_pll_set_rate() 392 val |= postdiv2_val << clk->postdiv2_shift; in clk_pll_set_rate() 411 u32 postdiv1_val, postdiv2_val; in clk_pll_recalc_rate() local 428 postdiv2_val = val; in clk_pll_recalc_rate() 444 rate = div_u64(rate, postdiv1_val * postdiv2_val); in clk_pll_recalc_rate()
|