Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/clk/bcm/
Dclk-bcm2835.c1104 unsigned long *avgrate) in bcm2835_clock_choose_div_and_prate() argument
1119 *avgrate = bcm2835_clock_rate_from_divisor(clock, *prate, *div); in bcm2835_clock_choose_div_and_prate()
1135 return *avgrate - max(*avgrate - low, high - *avgrate); in bcm2835_clock_choose_div_and_prate()
1137 return *avgrate; in bcm2835_clock_choose_div_and_prate()
1164 *avgrate = best_rate; in bcm2835_clock_choose_div_and_prate()
1176 unsigned long avgrate, best_avgrate = 0; in bcm2835_clock_determine_rate() local
1202 &avgrate); in bcm2835_clock_determine_rate()
1207 best_avgrate = avgrate; in bcm2835_clock_determine_rate()