Searched refs:calcm (Results 1 – 2 of 2) sorted by relevance
/linux-6.3-rc2/drivers/clk/sunxi/ |
A D | clk-sunxi.c | 290 u8 div, calcp, calcm = 1; in sun6i_get_ahb1_factors() local 312 calcm = DIV_ROUND_UP(div, 1 << calcp); in sun6i_get_ahb1_factors() 318 req->rate = (req->parent_rate / calcm) >> calcp; in sun6i_get_ahb1_factors() 320 req->m = calcm - 1; in sun6i_get_ahb1_factors() 347 u8 calcm, calcp; in sun4i_get_apb1_factors() local 368 calcm = (div >> calcp) - 1; in sun4i_get_apb1_factors() 371 req->m = calcm; in sun4i_get_apb1_factors() 386 u8 div, calcm, calcp; in sun7i_a20_get_out_factors() local 404 calcm = DIV_ROUND_UP(div, 1 << calcp); in sun7i_a20_get_out_factors() 406 req->rate = (req->parent_rate >> calcp) / calcm; in sun7i_a20_get_out_factors() [all …]
|
A D | clk-mod0.c | 25 u8 div, calcm, calcp; in sun4i_a10_get_mod0_factors() local 43 calcm = DIV_ROUND_UP(div, 1 << calcp); in sun4i_a10_get_mod0_factors() 45 req->rate = (req->parent_rate >> calcp) / calcm; in sun4i_a10_get_mod0_factors() 46 req->m = calcm - 1; in sun4i_a10_get_mod0_factors()
|
Completed in 6 milliseconds