Searched refs:timer_of (Results 1 - 18 of 18) sorted by relevance

/linux-master/drivers/clocksource/
H A Dtimer-of.h34 struct timer_of { struct
44 static inline struct timer_of *to_timer_of(struct clock_event_device *clkevt)
46 return container_of(clkevt, struct timer_of, clkevt);
49 static inline void __iomem *timer_of_base(struct timer_of *to)
54 static inline int timer_of_irq(struct timer_of *to)
59 static inline unsigned long timer_of_rate(struct timer_of *to)
64 static inline unsigned long timer_of_period(struct timer_of *to)
70 struct timer_of *to);
72 extern void __init timer_of_cleanup(struct timer_of *to);
H A Dtimer-milbeaut.c52 struct timer_of *to = to_timer_of(clk);
64 static void mlb_evt_timer_start(struct timer_of *to, bool periodic)
74 static void mlb_evt_timer_stop(struct timer_of *to)
82 static void mlb_evt_timer_register_count(struct timer_of *to, unsigned long cnt)
89 struct timer_of *to = to_timer_of(clk);
99 struct timer_of *to = to_timer_of(clk);
108 struct timer_of *to = to_timer_of(clk);
117 struct timer_of *to = to_timer_of(clk);
125 static int mlb_config_clock_source(struct timer_of *to)
137 static int mlb_config_clock_event(struct timer_of *t
[all...]
H A Dtimer-loongson1-pwm.c45 struct timer_of *to)
51 static inline void ls1x_pwmtimer_clear(struct timer_of *to)
56 static inline void ls1x_pwmtimer_start(struct timer_of *to)
61 static inline void ls1x_pwmtimer_stop(struct timer_of *to)
66 static inline void ls1x_pwmtimer_irq_ack(struct timer_of *to)
78 struct timer_of *to = to_timer_of(clkevt);
91 struct timer_of *to = to_timer_of(clkevt);
123 struct timer_of *to = to_timer_of(clkevt);
134 static struct timer_of ls1x_to = {
218 struct timer_of *t
[all...]
H A Dtimer-stm32.c55 * @to: a timer_of structure pointer
62 static void stm32_timer_of_bits_set(struct timer_of *to, int bits)
71 * @to: a timer_of structure pointer
78 static int stm32_timer_of_bits_get(struct timer_of *to)
99 static void stm32_clock_event_disable(struct timer_of *to)
106 * @to: a timer_of structure pointer
112 static void stm32_timer_start(struct timer_of *to)
119 struct timer_of *to = to_timer_of(clkevt);
129 struct timer_of *to = to_timer_of(clkevt);
146 struct timer_of *t
[all...]
H A Dtimer-mediatek.c75 static void mtk_syst_ack_irq(struct timer_of *to)
85 struct timer_of *to = to_timer_of(clkevt);
96 struct timer_of *to = to_timer_of(clkevt);
139 static void mtk_gpt_clkevt_time_stop(struct timer_of *to, u8 timer)
148 static void mtk_gpt_clkevt_time_setup(struct timer_of *to,
154 static void mtk_gpt_clkevt_time_start(struct timer_of *to,
185 struct timer_of *to = to_timer_of(clk);
197 struct timer_of *to = to_timer_of(clk);
209 struct timer_of *to = to_timer_of(clkevt);
219 __init mtk_gpt_setup(struct timer_of *t
[all...]
H A Dtimer-sprd.c82 struct timer_of *to = to_timer_of(ce);
93 struct timer_of *to = to_timer_of(ce);
104 struct timer_of *to = to_timer_of(ce);
113 struct timer_of *to = to_timer_of(ce);
124 static struct timer_of to = {
159 static struct timer_of suspend_to = {
H A Dtimer-rda.c69 struct timer_of *to = to_timer_of(evt);
78 struct timer_of *to = to_timer_of(evt);
87 struct timer_of *to = to_timer_of(evt);
107 struct timer_of *to = to_timer_of(ev);
117 struct timer_of *to = to_timer_of(evt);
129 static struct timer_of rda_ostimer_of = {
H A Dtimer-mp-csky.c49 static DEFINE_PER_CPU(struct timer_of, csky_to) = {
64 struct timer_of *to = this_cpu_ptr(&csky_to);
78 struct timer_of *to = per_cpu_ptr(&csky_to, cpu);
121 struct timer_of *to = NULL;
H A Drenesas-ostm.c46 static void ostm_timer_stop(struct timer_of *to)
61 static int __init ostm_init_clksrc(struct timer_of *to)
79 static void __init ostm_init_sched_clock(struct timer_of *to)
88 struct timer_of *to = to_timer_of(ced);
101 struct timer_of *to = to_timer_of(ced);
109 struct timer_of *to = to_timer_of(ced);
123 struct timer_of *to = to_timer_of(ced);
144 static int __init ostm_init_clkevt(struct timer_of *to)
165 struct timer_of *to;
H A Dtimer-mediatek-cpux.c37 static u32 mtk_cpux_readl(u32 reg_idx, struct timer_of *to)
43 static void mtk_cpux_writel(u32 val, u32 reg_idx, struct timer_of *to)
49 static void mtk_cpux_set_irq(struct timer_of *to, bool enable)
83 static struct timer_of to = {
H A Dtimer-npcm7xx.c58 struct timer_of *to = to_timer_of(evt);
70 struct timer_of *to = to_timer_of(evt);
82 struct timer_of *to = to_timer_of(evt);
95 struct timer_of *to = to_timer_of(evt);
111 struct timer_of *to = to_timer_of(clk);
125 struct timer_of *to = to_timer_of(evt);
134 static struct timer_of npcm7xx_to = {
H A Dtimer-imx-sysctr.c35 struct timer_of *to = to_timer_of(evt);
54 struct timer_of *to = to_timer_of(evt);
71 struct timer_of *to = to_timer_of(evt);
116 static struct timer_of to_sysctr = {
H A Dtimer-tegra.c116 static DEFINE_PER_CPU(struct timer_of, tegra_to) = {
134 struct timer_of *to = per_cpu_ptr(&tegra_to, cpu);
159 struct timer_of *to = per_cpu_ptr(&tegra_to, cpu);
184 static struct timer_of suspend_rtc_to = {
238 static inline unsigned long tegra_rate_for_timer(struct timer_of *to,
254 struct timer_of *to;
302 struct timer_of *cpu_to = per_cpu_ptr(&tegra_to, cpu);
357 struct timer_of *cpu_to;
H A Dtimer-msc313e.c93 struct timer_of *timer = to_timer_of(evt);
102 struct timer_of *timer = to_timer_of(evt);
112 struct timer_of *timer = to_timer_of(evt);
123 struct timer_of *timer = to_timer_of(clkevt);
172 struct timer_of *to;
201 struct timer_of to = { 0 };
H A Dtimer-of.c24 struct timer_of *to = container_of(of_irq, struct timer_of, of_irq);
54 struct timer_of *to = container_of(of_irq, struct timer_of, of_irq);
168 int __init timer_of_init(struct device_node *np, struct timer_of *to)
214 * timer_of_cleanup - release timer_of resources
215 * @to: timer_of structure
220 void __init timer_of_cleanup(struct timer_of *to)
H A Dtimer-sun4i.c85 struct timer_of *to = to_timer_of(evt);
94 struct timer_of *to = to_timer_of(evt);
104 struct timer_of *to = to_timer_of(evt);
116 struct timer_of *to = to_timer_of(clkevt);
133 struct timer_of *to = to_timer_of(evt);
141 static struct timer_of to = {
H A Dtimer-gx6605s.c77 static struct timer_of to = {
H A Dtimer-imx-tpm.c127 static struct timer_of to_tpm = {

Completed in 239 milliseconds