Searched refs:refdiv_val (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/clk/hisilicon/ |
H A D | clk-hi3559a.c | 353 u32 *fbdiv_val, u32 *refdiv_val, u64 rate) in hi3559av100_calc_pll() argument 366 *refdiv_val = 1; in hi3559av100_calc_pll() 377 u32 frac_val, postdiv1_val, postdiv2_val, fbdiv_val, refdiv_val; in clk_pll_set_rate() local 383 &fbdiv_val, &refdiv_val, (u64)rate); in clk_pll_set_rate() 400 val |= refdiv_val << clk->refdiv_shift; in clk_pll_set_rate() 410 u64 frac_val, fbdiv_val, refdiv_val; in clk_pll_recalc_rate() local 438 refdiv_val = val; in clk_pll_recalc_rate() 444 do_div(rate, refdiv_val); in clk_pll_recalc_rate()
|