Searched refs:divided_rate (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/clocksource/ |
D | timer-atmel-tcb.c | 380 u32 rate, divided_rate = 0; in tcb_clksrc_init() local 446 divided_rate = tmp; in tcb_clksrc_init() 452 pr_debug("%s at %d.%03d MHz\n", clksrc.name, divided_rate / 1000000, in tcb_clksrc_init() 453 ((divided_rate % 1000000) + 500) / 1000); in tcb_clksrc_init() 480 ret = clocksource_register_hz(&clksrc, divided_rate); in tcb_clksrc_init() 489 sched_clock_register(tc_sched_clock, 32, divided_rate); in tcb_clksrc_init() 491 tc_delay_timer.freq = divided_rate; in tcb_clksrc_init()
|
/Linux-v6.6/drivers/clk/tegra/ |
D | clk-tegra20-emc.c | 172 unsigned long divided_rate; in emc_determine_rate() local 195 divided_rate = DIV_ROUND_UP(parent_rate * 2, div + 2); in emc_determine_rate() 197 if (divided_rate != emc_rate) in emc_determine_rate()
|
/Linux-v6.6/drivers/clk/microchip/ |
D | clk-core.c | 124 unsigned long divided_rate, divided_rate_down, best_rate; in calc_best_divided_rate() local 135 divided_rate = parent_rate / div; in calc_best_divided_rate() 137 if (abs(rate - divided_rate_down) < abs(rate - divided_rate)) in calc_best_divided_rate() 140 best_rate = divided_rate; in calc_best_divided_rate()
|