Home
last modified time | relevance | path

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

/drivers/clocksource/
Dtimer-imx-tpm.c151 tpm_delay_timer.freq = timer_of_rate(&to_tpm) >> 3; in tpm_clocksource_init()
156 timer_of_rate(&to_tpm) >> 3); in tpm_clocksource_init()
160 timer_of_rate(&to_tpm) >> 3, in tpm_clocksource_init()
169 timer_of_rate(&to_tpm) >> 3, in tpm_clockevent_init()
Dtimer-stm32.c212 prescaler = DIV_ROUND_CLOSEST(timer_of_rate(to), in stm32_timer_set_prescaler()
254 sched_clock_register(stm32_read_sched_clock, bits, timer_of_rate(to)); in stm32_clocksource_init()
258 stm32_timer_delay.freq = timer_of_rate(to); in stm32_clocksource_init()
264 timer_of_rate(to), bits == 32 ? 250 : 100, in stm32_clocksource_init()
281 clockevents_config_and_register(&to->clkevt, timer_of_rate(to), 0x1, in stm32_clockevent_init()
Dtimer-mp-csky.c84 clockevents_config_and_register(&to->clkevt, timer_of_rate(to), in csky_mptimer_starting_cpu()
151 clocksource_register_hz(&csky_clocksource, timer_of_rate(to)); in csky_mptimer_init()
152 sched_clock_register(sched_clock_read, 32, timer_of_rate(to)); in csky_mptimer_init()
Dtimer-gx6605s.c108 clockevents_config_and_register(&to.clkevt, timer_of_rate(&to), 2, in gx6605s_clkevt_init()
123 sched_clock_register(gx6605s_sched_clock_read, 32, timer_of_rate(&to)); in gx6605s_clksrc_init()
126 timer_of_rate(&to), 200, 32, clocksource_mmio_readl_up); in gx6605s_clksrc_init()
Drenesas-ostm.c68 to->np->full_name, timer_of_rate(to), 300, in ostm_init_clksrc()
80 sched_clock_register(ostm_read_sched_clock, 32, timer_of_rate(to)); in ostm_init_sched_clock()
154 clockevents_config_and_register(ced, timer_of_rate(to), 0xf, in ostm_init_clkevt()
Dtimer-sun4i.c192 timer_of_rate(&to)); in sun4i_timer_init()
195 node->name, timer_of_rate(&to), 350, 32, in sun4i_timer_init()
211 clockevents_config_and_register(&to.clkevt, timer_of_rate(&to), in sun4i_timer_init()
Dtimer-mediatek.c273 clockevents_config_and_register(&to.clkevt, timer_of_rate(&to), in mtk_syst_init()
298 node->name, timer_of_rate(&to), 300, 32, in mtk_gpt_init()
301 sched_clock_register(mtk_gpt_read_sched_clock, 32, timer_of_rate(&to)); in mtk_gpt_init()
305 clockevents_config_and_register(&to.clkevt, timer_of_rate(&to), in mtk_gpt_init()
Dtimer-atcpit100.c234 timer_of_rate(&to)); in atcpit100_timer_init()
237 node->name, timer_of_rate(&to), 300, 32, in atcpit100_timer_init()
248 clockevents_config_and_register(&to.clkevt, timer_of_rate(&to), in atcpit100_timer_init()
Dtimer-tegra.c150 clockevents_config_and_register(&to->clkevt, timer_of_rate(to), in tegra_timer_setup()
248 return timer_of_rate(to); in tegra_rate_for_timer()
269 switch (timer_of_rate(to)) { in tegra_init_timer()
Dtimer-npcm7xx.c165 timer_of_rate(&npcm7xx_to), in npcm7xx_clockevents_init()
184 "npcm7xx-timer1", timer_of_rate(&npcm7xx_to), in npcm7xx_clocksource_init()
Dtimer-sprd.c153 clockevents_config_and_register(&to.clkevt, timer_of_rate(&to), in sprd_timer_init()
202 timer_of_rate(&suspend_to)); in sprd_suspend_timer_init()
Dtimer-milbeaut.c177 rate = timer_of_rate(&to) / MLB_TMR_DIV_CNT; in mlb_timer_init()
184 clockevents_config_and_register(&to.clkevt, timer_of_rate(&to), 15, in mlb_timer_init()
Dtimer-of.h59 static inline unsigned long timer_of_rate(struct timer_of *to) in timer_of_rate() function
Dtimer-imx-sysctr.c125 timer_of_rate(&to_sysctr), in sysctr_clockevent_init()