Home
last modified time | relevance | path

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

/linux/drivers/clocksource/
H A Dtimer-imx-tpm.c159 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 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()
H A 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()
H A 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()
H A Dtimer-msc313e.c194 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 Drenesas-ostm.c70 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 Dtimer-sun4i.c191 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 Dtimer-mediatek.c299 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 Dtimer-mediatek-cpux.c121 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 Dtimer-npcm7xx.c165 timer_of_rate(&npcm7xx_to), in npcm7xx_clockevents_init()
184 "npcm7xx-timer1", timer_of_rate(&npcm7xx_to), in npcm7xx_clocksource_init()
H A 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()
H A Dtimer-imx-sysctr.c180 timer_of_rate(&to_sysctr), in sysctr_timer_init()
200 timer_of_rate(&to_sysctr), in sysctr_timer_imx95_init()
H A 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()
H A Dtimer-loongson1-pwm.c225 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 Dtimer-of.h58 static inline unsigned long timer_of_rate(struct timer_of *to) in timer_of_rate() function