Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clk/at91/
Dclk-usb.c75 unsigned long tmp_parent_rate; in at91sam9x5_clk_usb_determine_rate() local
77 tmp_parent_rate = req->rate * div; in at91sam9x5_clk_usb_determine_rate()
78 tmp_parent_rate = clk_hw_round_rate(parent, in at91sam9x5_clk_usb_determine_rate()
79 tmp_parent_rate); in at91sam9x5_clk_usb_determine_rate()
80 if (!tmp_parent_rate) in at91sam9x5_clk_usb_determine_rate()
83 tmp_rate = DIV_ROUND_CLOSEST(tmp_parent_rate, div); in at91sam9x5_clk_usb_determine_rate()
92 req->best_parent_rate = tmp_parent_rate; in at91sam9x5_clk_usb_determine_rate()
334 unsigned long tmp_parent_rate; in at91rm9200_clk_usb_round_rate() local
339 tmp_parent_rate = rate * usb->divisors[i]; in at91rm9200_clk_usb_round_rate()
340 tmp_parent_rate = clk_hw_round_rate(parent, tmp_parent_rate); in at91rm9200_clk_usb_round_rate()
[all …]
Dclk-sam9x60-pll.c443 unsigned long tmp_rate, tmp_parent_rate, tmp_diff; in sam9x60_div_pll_compute_div() local
455 tmp_parent_rate = clk_hw_round_rate(parent, rate * divid); in sam9x60_div_pll_compute_div()
456 if (!tmp_parent_rate) in sam9x60_div_pll_compute_div()
459 tmp_rate = DIV_ROUND_CLOSEST_ULL(tmp_parent_rate, divid); in sam9x60_div_pll_compute_div()
463 *parent_rate = tmp_parent_rate; in sam9x60_div_pll_compute_div()