Searched refs:ddiv2 (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/drivers/clk/x86/ |
D | clk-cgu.c | 467 lgm_clk_get_ddiv_val(u32 div, u32 *ddiv1, u32 *ddiv2) in lgm_clk_get_ddiv_val() argument 472 *ddiv2 = 1; in lgm_clk_get_ddiv_val() 488 *ddiv2 = idx; in lgm_clk_get_ddiv_val() 499 u32 div, ddiv1, ddiv2; in lgm_clk_ddiv_set_rate() local 515 if (lgm_clk_get_ddiv_val(div, &ddiv1, &ddiv2)) { in lgm_clk_ddiv_set_rate() 524 ddiv2 - 1); in lgm_clk_ddiv_set_rate() 535 u32 div, ddiv1, ddiv2; in lgm_clk_ddiv_round_rate() local 552 if (lgm_clk_get_ddiv_val(div, &ddiv1, &ddiv2) != 0) in lgm_clk_ddiv_round_rate() 553 if (lgm_clk_get_ddiv_val(div + 1, &ddiv1, &ddiv2) != 0) in lgm_clk_ddiv_round_rate() 558 do_div(rate64, ddiv2); in lgm_clk_ddiv_round_rate()
|