Home
last modified time | relevance | path

Searched refs:l_parent_rate (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/
Dclk-cdce925.c441 unsigned long l_parent_rate = *parent_rate; in cdce925_clk_round_rate() local
442 u16 divider = cdce925_calc_divider(rate, l_parent_rate); in cdce925_clk_round_rate()
444 if (l_parent_rate / divider != rate) { in cdce925_clk_round_rate()
445 l_parent_rate = cdce925_clk_best_parent_rate(hw, rate); in cdce925_clk_round_rate()
446 divider = cdce925_calc_divider(rate, l_parent_rate); in cdce925_clk_round_rate()
447 *parent_rate = l_parent_rate; in cdce925_clk_round_rate()
451 return (long)(l_parent_rate / divider); in cdce925_clk_round_rate()
494 unsigned long l_parent_rate = *parent_rate; in cdce925_clk_y1_round_rate() local
495 u16 divider = cdce925_y1_calc_divider(rate, l_parent_rate); in cdce925_clk_y1_round_rate()
498 return (long)(l_parent_rate / divider); in cdce925_clk_y1_round_rate()