Searched refs:alchemy_calc_div (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/arch/mips/alchemy/common/ |
D | clock.c | 376 static long alchemy_calc_div(unsigned long rate, unsigned long prate, in alchemy_calc_div() function 437 tdv = alchemy_calc_div(req->rate, pr, scale, maxdiv, NULL); in alchemy_clk_fgcs_detr() 464 tdv = alchemy_calc_div(req->rate, pr, scale, maxdiv, in alchemy_clk_fgcs_detr() 558 ret = alchemy_calc_div(rate, parent_rate, 2, 512, &div); in alchemy_clk_fgv1_setr() 681 ret = alchemy_calc_div(rate, parent_rate, v ? 1 : 2, in alchemy_clk_fgv2_setr()
|