/linux/drivers/clocksource/ |
H A D | timer-imx-tpm.c | 159 tpm_delay_timer.freq = timer_of_rate(&to_tpm) >> 3; in tpm_clocksource_init() 163 timer_of_rate(&to_tpm) >> 3); in tpm_clocksource_init() 168 timer_of_rate(&to_tpm) >> 3, in tpm_clocksource_init() 177 timer_of_rate(&to_tpm) >> 3, in tpm_clockevent_init()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | timer-msc313e.c | 194 clockevents_config_and_register(&to->clkevt, timer_of_rate(to), in msc313e_clkevt_init() 218 msc313e_delay.delay.freq = timer_of_rate(&to); in msc313e_clksrc_init() 223 sched_clock_register(msc313e_timer_sched_clock_read, 32, timer_of_rate(&to)); in msc313e_clksrc_init() 224 return clocksource_mmio_init(timer_of_base(&to), TIMER_NAME, timer_of_rate(&to), 300, 32, in msc313e_clksrc_init()
|
H A D | renesas-ostm.c | 70 to->np->full_name, timer_of_rate(to), 300, in ostm_init_clksrc() 82 sched_clock_register(ostm_read_sched_clock, 32, timer_of_rate(to)); in ostm_init_sched_clock() 156 clockevents_config_and_register(ced, timer_of_rate(to), 0xf, in ostm_init_clkevt()
|
H A D | timer-sun4i.c | 191 timer_of_rate(&to)); in sun4i_timer_init() 194 node->name, timer_of_rate(&to), 350, 32, in sun4i_timer_init() 210 clockevents_config_and_register(&to.clkevt, timer_of_rate(&to), in sun4i_timer_init()
|
H A D | timer-mediatek.c | 299 clockevents_config_and_register(&to.clkevt, timer_of_rate(&to), in mtk_syst_init() 326 node->name, timer_of_rate(&to), 300, 32, in mtk_gpt_init() 329 sched_clock_register(mtk_gpt_read_sched_clock, 32, timer_of_rate(&to)); in mtk_gpt_init() 333 clockevents_config_and_register(&to.clkevt, timer_of_rate(&to), in mtk_gpt_init()
|
H A D | timer-mediatek-cpux.c | 121 freq = timer_of_rate(&to); in mtk_cpux_init() 135 clockevents_config_and_register(&to.clkevt, timer_of_rate(&to), in mtk_cpux_init()
|
H A 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()
|
H A 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()
|
H A D | timer-imx-sysctr.c | 180 timer_of_rate(&to_sysctr), in sysctr_timer_init() 200 timer_of_rate(&to_sysctr), in sysctr_timer_imx95_init()
|
H A 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()
|
H A D | timer-loongson1-pwm.c | 225 clockevents_config_and_register(&to->clkevt, timer_of_rate(to), in ls1x_pwm_clocksource_init() 232 timer_of_rate(to)); in ls1x_pwm_clocksource_init()
|
H A D | timer-of.h | 58 static inline unsigned long timer_of_rate(struct timer_of *to) in timer_of_rate() function
|