Searched refs:timer_of_rate (Results 1 – 14 of 14) sorted by relevance
/drivers/clocksource/ |
D | timer-imx-tpm.c | 151 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()
|
D | timer-stm32.c | 212 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()
|
D | timer-mp-csky.c | 84 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()
|
D | timer-gx6605s.c | 108 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()
|
D | renesas-ostm.c | 68 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()
|
D | timer-sun4i.c | 192 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()
|
D | timer-mediatek.c | 273 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()
|
D | timer-atcpit100.c | 234 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()
|
D | timer-tegra.c | 150 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()
|
D | timer-npcm7xx.c | 165 timer_of_rate(&npcm7xx_to), in npcm7xx_clockevents_init() 184 "npcm7xx-timer1", timer_of_rate(&npcm7xx_to), in npcm7xx_clocksource_init()
|
D | timer-sprd.c | 153 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()
|
D | timer-milbeaut.c | 177 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()
|
D | timer-of.h | 59 static inline unsigned long timer_of_rate(struct timer_of *to) in timer_of_rate() function
|
D | timer-imx-sysctr.c | 125 timer_of_rate(&to_sysctr), in sysctr_clockevent_init()
|