Searched refs:fbdiv_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 365 *fbdiv_val = rate; 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() 399 val |= fbdiv_val << clk->fbdiv_shift; in clk_pll_set_rate() 410 u64 frac_val, fbdiv_val, refdiv_val; in clk_pll_recalc_rate() local 433 fbdiv_val = val; in clk_pll_recalc_rate() 442 tmp = 24000000 * fbdiv_val + (24000000 * frac_val) / (1 << 24); in clk_pll_recalc_rate()
|