Home
last modified time | relevance | path

Searched refs:clock_event_device (Results 1 – 142 of 142) sorted by relevance

/linux-4.4.14/kernel/time/
Dtick-internal.h20 extern void tick_setup_periodic(struct clock_event_device *dev, int broadcast);
21 extern void tick_handle_periodic(struct clock_event_device *dev);
22 extern void tick_check_new_device(struct clock_event_device *dev);
26 extern bool tick_check_replacement(struct clock_event_device *curdev,
27 struct clock_event_device *newdev);
28 extern void tick_install_replacement(struct clock_event_device *dev);
32 extern int clockevents_tick_resume(struct clock_event_device *dev);
34 static inline int tick_device_is_functional(struct clock_event_device *dev) in tick_device_is_functional()
39 static inline enum clock_event_state clockevent_get_state(struct clock_event_device *dev) in clockevent_get_state()
44 static inline void clockevent_set_state(struct clock_event_device *dev, in clockevent_set_state()
[all …]
Dtick-broadcast.c40 static void tick_resume_broadcast_oneshot(struct clock_event_device *bc);
43 static inline void tick_resume_broadcast_oneshot(struct clock_event_device *bc) { } in tick_resume_broadcast_oneshot()
62 static void tick_broadcast_start_periodic(struct clock_event_device *bc) in tick_broadcast_start_periodic()
71 static bool tick_check_broadcast_device(struct clock_event_device *curdev, in tick_check_broadcast_device()
72 struct clock_event_device *newdev) in tick_check_broadcast_device()
89 void tick_install_broadcast_device(struct clock_event_device *dev) in tick_install_broadcast_device()
91 struct clock_event_device *cur = tick_broadcast_device.evtdev; in tick_install_broadcast_device()
120 int tick_is_broadcast_device(struct clock_event_device *dev) in tick_is_broadcast_device()
125 int tick_broadcast_update_freq(struct clock_event_device *dev, u32 freq) in tick_broadcast_update_freq()
143 static void tick_device_setup_broadcast_func(struct clock_event_device *dev) in tick_device_setup_broadcast_func()
[all …]
Dclockevents.c32 struct clock_event_device *ce;
36 static u64 cev_delta2ns(unsigned long latch, struct clock_event_device *evt, in cev_delta2ns()
91 u64 clockevent_delta2ns(unsigned long latch, struct clock_event_device *evt) in clockevent_delta2ns()
97 static int __clockevents_switch_state(struct clock_event_device *dev, in __clockevents_switch_state()
153 void clockevents_switch_state(struct clock_event_device *dev, in clockevents_switch_state()
179 void clockevents_shutdown(struct clock_event_device *dev) in clockevents_shutdown()
189 int clockevents_tick_resume(struct clock_event_device *dev) in clockevents_tick_resume()
210 static int clockevents_increase_min_delta(struct clock_event_device *dev) in clockevents_increase_min_delta()
241 static int clockevents_program_min_delta(struct clock_event_device *dev) in clockevents_program_min_delta()
280 static int clockevents_program_min_delta(struct clock_event_device *dev) in clockevents_program_min_delta()
[all …]
Dtick-common.c67 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_is_oneshot_available()
99 void tick_handle_periodic(struct clock_event_device *dev) in tick_handle_periodic()
144 void tick_setup_periodic(struct clock_event_device *dev, int broadcast) in tick_setup_periodic()
178 struct clock_event_device *newdev, int cpu, in tick_setup_device()
182 void (*handler)(struct clock_event_device *) = NULL; in tick_setup_device()
236 void tick_install_replacement(struct clock_event_device *newdev) in tick_install_replacement()
247 static bool tick_check_percpu(struct clock_event_device *curdev, in tick_check_percpu()
248 struct clock_event_device *newdev, int cpu) in tick_check_percpu()
263 static bool tick_check_preferred(struct clock_event_device *curdev, in tick_check_preferred()
264 struct clock_event_device *newdev) in tick_check_preferred()
[all …]
Dtick-oneshot.c29 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_program_event()
55 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_resume_oneshot()
64 void tick_setup_oneshot(struct clock_event_device *newdev, in tick_setup_oneshot()
65 void (*handler)(struct clock_event_device *), in tick_setup_oneshot() argument
76 int tick_switch_to_oneshot(void (*handler)(struct clock_event_device *)) in tick_switch_to_oneshot() argument
79 struct clock_event_device *dev = td->evtdev; in tick_switch_to_oneshot()
Dtick-broadcast-hrtimer.c21 static int bc_shutdown(struct clock_event_device *evt) in bc_shutdown()
44 static int bc_set_next(ktime_t expires, struct clock_event_device *bc) in bc_set_next()
77 static struct clock_event_device ce_broadcast_hrtimer = {
Dtick-sched.h12 struct clock_event_device *evtdev;
Dtick-sched.c574 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_nohz_stop_sched_tick()
929 static void tick_nohz_handler(struct clock_event_device *dev) in tick_nohz_handler()
Dtimer_list.c208 struct clock_event_device *dev = td->evtdev; in print_tickdevice()
Dhrtimer.c1323 void hrtimer_interrupt(struct clock_event_device *dev) in hrtimer_interrupt()
/linux-4.4.14/include/linux/
Dclockchips.h18 struct clock_event_device;
99 struct clock_event_device { struct
100 void (*event_handler)(struct clock_event_device *); argument
101 int (*set_next_event)(unsigned long evt, struct clock_event_device *); argument
102 int (*set_next_ktime)(ktime_t expires, struct clock_event_device *); argument
112 int (*set_state_periodic)(struct clock_event_device *); argument
113 int (*set_state_oneshot)(struct clock_event_device *); argument
114 int (*set_state_oneshot_stopped)(struct clock_event_device *); argument
115 int (*set_state_shutdown)(struct clock_event_device *); argument
116 int (*tick_resume)(struct clock_event_device *); argument
[all …]
Di8253.h24 extern struct clock_event_device i8253_clockevent;
Ddw_apb_timer.h29 struct clock_event_device ced;
Dhrtimer.h282 struct clock_event_device;
284 extern void hrtimer_interrupt(struct clock_event_device *dev);
/linux-4.4.14/drivers/clocksource/
Drockchip_timer.c32 struct clock_event_device ce;
39 static inline struct bc_timer *rk_timer(struct clock_event_device *ce) in rk_timer()
44 static inline void __iomem *rk_base(struct clock_event_device *ce) in rk_base()
49 static inline void rk_timer_disable(struct clock_event_device *ce) in rk_timer_disable()
55 static inline void rk_timer_enable(struct clock_event_device *ce, u32 flags) in rk_timer_enable()
63 struct clock_event_device *ce) in rk_timer_update_counter()
70 static void rk_timer_interrupt_clear(struct clock_event_device *ce) in rk_timer_interrupt_clear()
77 struct clock_event_device *ce) in rk_timer_set_next_event()
85 static int rk_timer_shutdown(struct clock_event_device *ce) in rk_timer_shutdown()
91 static int rk_timer_set_periodic(struct clock_event_device *ce) in rk_timer_set_periodic()
[all …]
Dtimer-digicolor.c60 struct clock_event_device ce;
66 struct digicolor_timer *dc_timer(struct clock_event_device *ce) in dc_timer()
71 static inline void dc_timer_disable(struct clock_event_device *ce) in dc_timer_disable()
77 static inline void dc_timer_enable(struct clock_event_device *ce, u32 mode) in dc_timer_enable()
83 static inline void dc_timer_set_count(struct clock_event_device *ce, in dc_timer_set_count()
90 static int digicolor_clkevt_shutdown(struct clock_event_device *ce) in digicolor_clkevt_shutdown()
96 static int digicolor_clkevt_set_oneshot(struct clock_event_device *ce) in digicolor_clkevt_set_oneshot()
103 static int digicolor_clkevt_set_periodic(struct clock_event_device *ce) in digicolor_clkevt_set_periodic()
114 struct clock_event_device *ce) in digicolor_clkevt_next_event()
139 struct clock_event_device *evt = dev_id; in digicolor_timer_interrupt()
Darm_arch_timer.c51 struct clock_event_device evt;
68 static struct clock_event_device __percpu *arch_timer_evt;
80 struct clock_event_device *clk) in arch_timer_reg_write()
109 struct clock_event_device *clk) in arch_timer_reg_read()
141 struct clock_event_device *evt) in timer_handler()
158 struct clock_event_device *evt = dev_id; in arch_timer_handler_virt()
165 struct clock_event_device *evt = dev_id; in arch_timer_handler_phys()
172 struct clock_event_device *evt = dev_id; in arch_timer_handler_phys_mem()
179 struct clock_event_device *evt = dev_id; in arch_timer_handler_virt_mem()
185 struct clock_event_device *clk) in timer_shutdown()
[all …]
Dnumachip.c22 static DEFINE_PER_CPU(struct clock_event_device, numachip2_ced);
39 static int numachip2_set_next_event(unsigned long delta, struct clock_event_device *ced) in numachip2_set_next_event()
46 static struct clock_event_device numachip2_clockevent = {
59 struct clock_event_device *ced = this_cpu_ptr(&numachip2_ced); in numachip_timer_interrupt()
67 struct clock_event_device *ced = this_cpu_ptr(&numachip2_ced); in numachip_timer_each()
Dmeson6_timer.c70 static int meson6_shutdown(struct clock_event_device *evt) in meson6_shutdown()
76 static int meson6_set_oneshot(struct clock_event_device *evt) in meson6_set_oneshot()
83 static int meson6_set_periodic(struct clock_event_device *evt) in meson6_set_periodic()
92 struct clock_event_device *unused) in meson6_clkevt_next_event()
101 static struct clock_event_device meson6_clockevent = {
115 struct clock_event_device *evt = (struct clock_event_device *)dev_id; in meson6_timer_interrupt()
Dsun4i_timer.c84 static int sun4i_clkevt_shutdown(struct clock_event_device *evt) in sun4i_clkevt_shutdown()
90 static int sun4i_clkevt_set_oneshot(struct clock_event_device *evt) in sun4i_clkevt_set_oneshot()
97 static int sun4i_clkevt_set_periodic(struct clock_event_device *evt) in sun4i_clkevt_set_periodic()
106 struct clock_event_device *unused) in sun4i_clkevt_next_event()
115 static struct clock_event_device sun4i_clockevent = {
129 struct clock_event_device *evt = (struct clock_event_device *)dev_id; in sun4i_timer_interrupt()
Dmxs_timer.c79 static struct clock_event_device mxs_clockevent_device;
109 struct clock_event_device *dev) in timrotv1_set_next_event()
118 struct clock_event_device *dev) in timrotv2_set_next_event()
128 struct clock_event_device *evt = dev_id; in mxs_timer_interrupt()
163 static int mxs_shutdown(struct clock_event_device *evt) in mxs_shutdown()
170 static int mxs_set_oneshot(struct clock_event_device *evt) in mxs_set_oneshot()
178 static struct clock_event_device mxs_clockevent_device = {
Dtegra20_timer.c65 struct clock_event_device *evt) in tegra_timer_set_next_event()
75 static inline void timer_shutdown(struct clock_event_device *evt) in timer_shutdown()
80 static int tegra_timer_shutdown(struct clock_event_device *evt) in tegra_timer_shutdown()
86 static int tegra_timer_set_periodic(struct clock_event_device *evt) in tegra_timer_set_periodic()
95 static struct clock_event_device tegra_clockevent = {
154 struct clock_event_device *evt = (struct clock_event_device *)dev_id; in tegra_timer_interrupt()
Dmoxart_timer.c61 static int moxart_shutdown(struct clock_event_device *evt) in moxart_shutdown()
67 static int moxart_set_oneshot(struct clock_event_device *evt) in moxart_set_oneshot()
74 static int moxart_set_periodic(struct clock_event_device *evt) in moxart_set_periodic()
82 struct clock_event_device *unused) in moxart_clkevt_next_event()
96 static struct clock_event_device moxart_clockevent = {
110 struct clock_event_device *evt = dev_id; in moxart_timer_interrupt()
Darm_global_timer.c53 static struct clock_event_device __percpu *gt_evt;
115 static int gt_clockevent_shutdown(struct clock_event_device *evt) in gt_clockevent_shutdown()
126 static int gt_clockevent_set_periodic(struct clock_event_device *evt) in gt_clockevent_set_periodic()
133 struct clock_event_device *unused) in gt_clockevent_set_next_event()
141 struct clock_event_device *evt = dev_id; in gt_clockevent_interrupt()
167 static int gt_clockevents_init(struct clock_event_device *clk) in gt_clockevents_init()
187 static void gt_clockevents_stop(struct clock_event_device *clk) in gt_clockevents_stop()
285 gt_evt = alloc_percpu(struct clock_event_device); in global_timer_of_register()
Dnomadik-mtu.c93 static int nmdk_clkevt_next(unsigned long evt, struct clock_event_device *ev) in nmdk_clkevt_next()
122 static int nmdk_clkevt_shutdown(struct clock_event_device *evt) in nmdk_clkevt_shutdown()
132 static int nmdk_clkevt_set_oneshot(struct clock_event_device *evt) in nmdk_clkevt_set_oneshot()
138 static int nmdk_clkevt_set_periodic(struct clock_event_device *evt) in nmdk_clkevt_set_periodic()
158 static void nmdk_clkevt_resume(struct clock_event_device *cedev) in nmdk_clkevt_resume()
164 static struct clock_event_device nmdk_clkevt = {
182 struct clock_event_device *evdev = dev_id; in nmdk_timer_interrupt()
Dasm9260_timer.c114 struct clock_event_device *evt) in asm9260_timer_set_next_event()
123 static inline void __asm9260_timer_shutdown(struct clock_event_device *evt) in __asm9260_timer_shutdown()
129 static int asm9260_timer_shutdown(struct clock_event_device *evt) in asm9260_timer_shutdown()
135 static int asm9260_timer_set_oneshot(struct clock_event_device *evt) in asm9260_timer_set_oneshot()
145 static int asm9260_timer_set_periodic(struct clock_event_device *evt) in asm9260_timer_set_periodic()
159 static struct clock_event_device event_dev = {
173 struct clock_event_device *evt = dev_id; in asm9260_timer_interrupt()
Di8253.c103 static int pit_shutdown(struct clock_event_device *evt) in pit_shutdown()
118 static int pit_set_oneshot(struct clock_event_device *evt) in pit_set_oneshot()
126 static int pit_set_periodic(struct clock_event_device *evt) in pit_set_periodic()
144 static int pit_next_event(unsigned long delta, struct clock_event_device *evt) in pit_next_event()
158 struct clock_event_device i8253_clockevent = {
Dtimer-keystone.c49 struct clock_event_device event_dev;
123 struct clock_event_device *evt = dev_id; in keystone_timer_interrupt()
130 struct clock_event_device *evt) in keystone_set_next_event()
135 static int keystone_shutdown(struct clock_event_device *evt) in keystone_shutdown()
141 static int keystone_set_periodic(struct clock_event_device *evt) in keystone_set_periodic()
149 struct clock_event_device *event_dev = &timer.event_dev; in keystone_timer_init()
Dtime-armada-370-xp.c89 static struct clock_event_device __percpu *armada_370_xp_evt;
107 struct clock_event_device *dev) in armada_370_xp_clkevt_next_event()
126 static int armada_370_xp_clkevt_shutdown(struct clock_event_device *evt) in armada_370_xp_clkevt_shutdown()
140 static int armada_370_xp_clkevt_set_periodic(struct clock_event_device *evt) in armada_370_xp_clkevt_set_periodic()
162 struct clock_event_device *evt = dev_id; in armada_370_xp_timer_interrupt()
173 static int armada_370_xp_timer_setup(struct clock_event_device *evt) in armada_370_xp_timer_setup()
203 static void armada_370_xp_timer_stop(struct clock_event_device *evt) in armada_370_xp_timer_stop()
315 armada_370_xp_evt = alloc_percpu(struct clock_event_device); in armada_370_xp_timer_common_init()
Dqcom-timer.c48 struct clock_event_device *evt = dev_id; in msm_timer_interrupt()
60 struct clock_event_device *evt) in msm_timer_set_next_event()
78 static int msm_timer_shutdown(struct clock_event_device *evt) in msm_timer_shutdown()
88 static struct clock_event_device __percpu *msm_evt;
108 static int msm_local_timer_setup(struct clock_event_device *evt) in msm_local_timer_setup()
138 static void msm_local_timer_stop(struct clock_event_device *evt) in msm_local_timer_stop()
190 msm_evt = alloc_percpu(struct clock_event_device); in msm_timer_init()
Dtimer-atmel-st.c35 static struct clock_event_device clkevt;
118 static int clkevt32k_shutdown(struct clock_event_device *evt) in clkevt32k_shutdown()
126 static int clkevt32k_set_oneshot(struct clock_event_device *dev) in clkevt32k_set_oneshot()
140 static int clkevt32k_set_periodic(struct clock_event_device *dev) in clkevt32k_set_periodic()
152 clkevt32k_next_event(unsigned long delta, struct clock_event_device *dev) in clkevt32k_next_event()
182 static struct clock_event_device clkevt = {
Dpxa_timer.c68 struct clock_event_device *c = dev_id; in pxa_ost0_interrupt()
79 pxa_osmr0_set_next_event(unsigned long delta, struct clock_event_device *dev) in pxa_osmr0_set_next_event()
91 static int pxa_osmr0_shutdown(struct clock_event_device *evt) in pxa_osmr0_shutdown()
102 static void pxa_timer_suspend(struct clock_event_device *cedev) in pxa_timer_suspend()
112 static void pxa_timer_resume(struct clock_event_device *cedev) in pxa_timer_resume()
135 static struct clock_event_device ckevt_pxa_osmr0 = {
Dtimer-integrator-ap.c68 struct clock_event_device *evt = dev_id; in integrator_timer_interrupt()
78 static int clkevt_shutdown(struct clock_event_device *evt) in clkevt_shutdown()
87 static int clkevt_set_oneshot(struct clock_event_device *evt) in clkevt_set_oneshot()
97 static int clkevt_set_periodic(struct clock_event_device *evt) in clkevt_set_periodic()
111 static int clkevt_set_next_event(unsigned long next, struct clock_event_device *evt) in clkevt_set_next_event()
122 static struct clock_event_device integrator_clockevent = {
Dexynos_mct.c86 struct clock_event_device evt;
283 struct clock_event_device *evt) in exynos4_comp_set_next_event()
290 static int mct_set_state_shutdown(struct clock_event_device *evt) in mct_set_state_shutdown()
296 static int mct_set_state_periodic(struct clock_event_device *evt) in mct_set_state_periodic()
307 static struct clock_event_device mct_comp_device = {
321 struct clock_event_device *evt = dev_id; in exynos4_mct_comp_isr()
383 struct clock_event_device *evt) in exynos4_tick_set_next_event()
392 static int set_state_shutdown(struct clock_event_device *evt) in set_state_shutdown()
401 static int set_state_periodic(struct clock_event_device *evt) in set_state_periodic()
432 struct clock_event_device *evt = &mevt->evt; in exynos4_mct_tick_isr()
[all …]
Dvf_pit_timer.c73 struct clock_event_device *unused) in pit_set_next_event()
89 static int pit_shutdown(struct clock_event_device *evt) in pit_shutdown()
95 static int pit_set_periodic(struct clock_event_device *evt) in pit_set_periodic()
103 struct clock_event_device *evt = dev_id; in pit_timer_interrupt()
121 static struct clock_event_device clockevent_pit = {
Dtimer-atlas7.c73 struct clock_event_device *ce = dev_id; in sirfsoc_timer_interrupt()
102 struct clock_event_device *ce) in sirfsoc_timer_set_next_event()
121 static int sirfsoc_timer_shutdown(struct clock_event_device *evt) in sirfsoc_timer_shutdown()
151 static struct clock_event_device __percpu *sirfsoc_clockevent;
175 static int sirfsoc_local_timer_setup(struct clock_event_device *ce) in sirfsoc_local_timer_setup()
206 static void sirfsoc_local_timer_stop(struct clock_event_device *ce) in sirfsoc_local_timer_stop()
243 sirfsoc_clockevent = alloc_percpu(struct clock_event_device); in sirfsoc_clockevent_init()
Dtimer-sp804.c126 struct clock_event_device *evt = dev_id; in sp804_timer_interrupt()
136 static inline void timer_shutdown(struct clock_event_device *evt) in timer_shutdown()
141 static int sp804_shutdown(struct clock_event_device *evt) in sp804_shutdown()
147 static int sp804_set_periodic(struct clock_event_device *evt) in sp804_set_periodic()
159 struct clock_event_device *evt) in sp804_set_next_event()
170 static struct clock_event_device sp804_clockevent = {
191 struct clock_event_device *evt = &sp804_clockevent; in __sp804_clockevents_init()
Dmips-gic-timer.c20 static DEFINE_PER_CPU(struct clock_event_device, gic_clockevent_device);
24 static int gic_next_event(unsigned long delta, struct clock_event_device *evt) in gic_next_event()
38 struct clock_event_device *cd = dev_id; in gic_compare_interrupt()
52 static void gic_clockevent_cpu_init(struct clock_event_device *cd) in gic_clockevent_cpu_init()
70 static void gic_clockevent_cpu_exit(struct clock_event_device *cd) in gic_clockevent_cpu_exit()
Dtimer-u300.c186 struct clock_event_device cevd;
190 static int u300_shutdown(struct clock_event_device *evt) in u300_shutdown()
205 static int u300_set_oneshot(struct clock_event_device *evt) in u300_set_oneshot()
236 static int u300_set_periodic(struct clock_event_device *evt) in u300_set_periodic()
277 struct clock_event_device *evt) in u300_set_next_event()
324 struct clock_event_device *evt = &u300_clockevent_data.cevd; in u300_timer_interrupt()
Dmetag_generic.c49 static DEFINE_PER_CPU(struct clock_event_device, local_clockevent);
53 struct clock_event_device *dev) in metag_timer_set_next_event()
74 struct clock_event_device *evt = this_cpu_ptr(&local_clockevent); in metag_timer_interrupt()
96 struct clock_event_device *clk = &per_cpu(local_clockevent, cpu); in arch_timer_setup()
Dvt8500_timer.c76 struct clock_event_device *evt) in vt8500_timer_set_next_event()
93 static int vt8500_shutdown(struct clock_event_device *evt) in vt8500_shutdown()
100 static struct clock_event_device clockevent = {
111 struct clock_event_device *evt = dev_id; in vt8500_timer_interrupt()
Dtime-orion.c53 struct clock_event_device *dev) in orion_clkevt_next_event()
63 static int orion_clkevt_shutdown(struct clock_event_device *dev) in orion_clkevt_shutdown()
71 static int orion_clkevt_set_periodic(struct clock_event_device *dev) in orion_clkevt_set_periodic()
82 static struct clock_event_device orion_clkevt = {
Dbcm_kona_timer.c102 struct clock_event_device *unused) in kona_timer_set_next_event()
130 static int kona_timer_shutdown(struct clock_event_device *evt) in kona_timer_shutdown()
136 static struct clock_event_device kona_clockevent_timer = {
153 struct clock_event_device *evt = &kona_clockevent_timer; in kona_timer_interrupt()
Dcs5535-clockevt.c79 static int mfgpt_shutdown(struct clock_event_device *evt) in mfgpt_shutdown()
85 static int mfgpt_set_periodic(struct clock_event_device *evt) in mfgpt_set_periodic()
92 static int mfgpt_next_event(unsigned long delta, struct clock_event_device *evt) in mfgpt_next_event()
98 static struct clock_event_device cs5535_clockevent = {
Dtimer-prima2.c62 struct clock_event_device *ce = dev_id; in sirfsoc_timer_interrupt()
91 struct clock_event_device *ce) in sirfsoc_timer_set_next_event()
107 static int sirfsoc_timer_shutdown(struct clock_event_device *evt) in sirfsoc_timer_shutdown()
116 static int sirfsoc_timer_set_oneshot(struct clock_event_device *evt) in sirfsoc_timer_set_oneshot()
151 static struct clock_event_device sirfsoc_clockevent = {
Dtimer-atmel-pit.c42 struct clock_event_device clkevt;
57 static inline struct pit_data *clkevt_to_pit_data(struct clock_event_device *clkevt) in clkevt_to_pit_data()
93 static int pit_clkevt_shutdown(struct clock_event_device *dev) in pit_clkevt_shutdown()
105 static int pit_clkevt_set_periodic(struct clock_event_device *dev) in pit_clkevt_set_periodic()
116 static void at91sam926x_pit_suspend(struct clock_event_device *cedev) in at91sam926x_pit_suspend()
138 static void at91sam926x_pit_resume(struct clock_event_device *cedev) in at91sam926x_pit_resume()
Dh8300_timer8.c44 struct clock_event_device ced;
153 static inline struct timer8_priv *ced_to_priv(struct clock_event_device *ced) in ced_to_priv()
160 struct clock_event_device *ced = &p->ced; in timer8_clock_event_start()
172 static int timer8_clock_event_shutdown(struct clock_event_device *ced) in timer8_clock_event_shutdown()
178 static int timer8_clock_event_periodic(struct clock_event_device *ced) in timer8_clock_event_periodic()
189 static int timer8_clock_event_oneshot(struct clock_event_device *ced) in timer8_clock_event_oneshot()
201 struct clock_event_device *ced) in timer8_clock_event_next()
Dsh_tmu.c51 struct clock_event_device ced;
342 static struct sh_tmu_channel *ced_to_sh_tmu(struct clock_event_device *ced) in ced_to_sh_tmu()
349 struct clock_event_device *ced = &ch->ced; in sh_tmu_clock_event_start()
361 static int sh_tmu_clock_event_shutdown(struct clock_event_device *ced) in sh_tmu_clock_event_shutdown()
370 static int sh_tmu_clock_event_set_state(struct clock_event_device *ced, in sh_tmu_clock_event_set_state()
385 static int sh_tmu_clock_event_set_oneshot(struct clock_event_device *ced) in sh_tmu_clock_event_set_oneshot()
390 static int sh_tmu_clock_event_set_periodic(struct clock_event_device *ced) in sh_tmu_clock_event_set_periodic()
396 struct clock_event_device *ced) in sh_tmu_clock_event_next()
407 static void sh_tmu_clock_event_suspend(struct clock_event_device *ced) in sh_tmu_clock_event_suspend()
412 static void sh_tmu_clock_event_resume(struct clock_event_device *ced) in sh_tmu_clock_event_resume()
[all …]
Dtimer-imx-gpt.c85 struct clock_event_device ced;
98 struct clock_event_device *ced);
101 static inline struct imx_timer *to_imx_timer(struct clock_event_device *ced) in to_imx_timer()
186 struct clock_event_device *ced) in mx1_2_set_next_event()
200 struct clock_event_device *ced) in v2_set_next_event()
214 static int mxc_shutdown(struct clock_event_device *ced) in mxc_shutdown()
245 static int mxc_set_oneshot(struct clock_event_device *ced) in mxc_set_oneshot()
289 struct clock_event_device *ced = dev_id; in mxc_timer_interrupt()
304 struct clock_event_device *ced = &imxtm->ced; in mxc_clockevent_init()
Ddw_apb_timer.c41 ced_to_dw_apb_ced(struct clock_event_device *evt) in ced_to_dw_apb_ced()
89 struct clock_event_device *evt = data; in dw_apb_clockevent_irq()
113 static int apbt_shutdown(struct clock_event_device *evt) in apbt_shutdown()
127 static int apbt_set_oneshot(struct clock_event_device *evt) in apbt_set_oneshot()
159 static int apbt_set_periodic(struct clock_event_device *evt) in apbt_set_periodic()
185 static int apbt_resume(struct clock_event_device *evt) in apbt_resume()
197 struct clock_event_device *evt) in apbt_next_event()
Dtime-efm32.c46 struct clock_event_device evtdev;
51 static int efm32_clock_event_shutdown(struct clock_event_device *evtdev) in efm32_clock_event_shutdown()
60 static int efm32_clock_event_set_oneshot(struct clock_event_device *evtdev) in efm32_clock_event_set_oneshot()
74 static int efm32_clock_event_set_periodic(struct clock_event_device *evtdev) in efm32_clock_event_set_periodic()
90 struct clock_event_device *evtdev) in efm32_clock_event_set_next_event()
Dtimer-stm32.c38 struct clock_event_device evtdev;
43 static int stm32_clock_event_shutdown(struct clock_event_device *evtdev) in stm32_clock_event_shutdown()
53 static int stm32_clock_event_set_periodic(struct clock_event_device *evtdev) in stm32_clock_event_set_periodic()
65 struct clock_event_device *evtdev) in stm32_clock_event_set_next_event()
Dtcb_clksrc.c75 struct clock_event_device clkevt;
80 static struct tc_clkevt_device *to_tc_clkevt(struct clock_event_device *clkevt) in to_tc_clkevt()
94 static int tc_shutdown(struct clock_event_device *d) in tc_shutdown()
107 static int tc_set_oneshot(struct clock_event_device *d) in tc_set_oneshot()
126 static int tc_set_periodic(struct clock_event_device *d) in tc_set_periodic()
153 static int tc_next_event(unsigned long delta, struct clock_event_device *d) in tc_next_event()
Dem_sti.c44 struct clock_event_device ced;
248 static struct em_sti_priv *ced_to_em_sti(struct clock_event_device *ced) in ced_to_em_sti()
253 static int em_sti_clock_event_shutdown(struct clock_event_device *ced) in em_sti_clock_event_shutdown()
260 static int em_sti_clock_event_set_oneshot(struct clock_event_device *ced) in em_sti_clock_event_set_oneshot()
271 struct clock_event_device *ced) in em_sti_clock_event_next()
285 struct clock_event_device *ced = &p->ced; in em_sti_register_clockevent()
Dtime-lpc32xx.c44 struct clock_event_device evtdev;
57 struct clock_event_device *evtdev) in lpc32xx_clkevt_next_event()
76 static int lpc32xx_clkevt_shutdown(struct clock_event_device *evtdev) in lpc32xx_clkevt_shutdown()
87 static int lpc32xx_clkevt_oneshot(struct clock_event_device *evtdev) in lpc32xx_clkevt_oneshot()
Dmtk_timer.c60 struct clock_event_device dev;
71 struct clock_event_device *c) in to_mtk_clk()
113 static int mtk_clkevt_shutdown(struct clock_event_device *clk) in mtk_clkevt_shutdown()
119 static int mtk_clkevt_set_periodic(struct clock_event_device *clk) in mtk_clkevt_set_periodic()
130 struct clock_event_device *clk) in mtk_clkevt_next_event()
Dbcm2835_timer.c46 struct clock_event_device evt;
58 struct clock_event_device *evt_dev) in bcm2835_time_set_next_event()
70 void (*event_handler)(struct clock_event_device *); in bcm2835_time_interrupt()
Dsh_mtu2.c42 struct clock_event_device ced;
274 static struct sh_mtu2_channel *ced_to_sh_mtu2(struct clock_event_device *ced) in ced_to_sh_mtu2()
279 static int sh_mtu2_clock_event_shutdown(struct clock_event_device *ced) in sh_mtu2_clock_event_shutdown()
289 static int sh_mtu2_clock_event_set_periodic(struct clock_event_device *ced) in sh_mtu2_clock_event_set_periodic()
302 static void sh_mtu2_clock_event_suspend(struct clock_event_device *ced) in sh_mtu2_clock_event_suspend()
307 static void sh_mtu2_clock_event_resume(struct clock_event_device *ced) in sh_mtu2_clock_event_resume()
315 struct clock_event_device *ced = &ch->ced; in sh_mtu2_register_clockevent()
Ddummy_timer.c17 static DEFINE_PER_CPU(struct clock_event_device, dummy_timer_evt);
22 struct clock_event_device *evt = raw_cpu_ptr(&dummy_timer_evt); in dummy_timer_setup()
Dfsl_ftm_timer.c127 struct clock_event_device *unused) in ftm_set_next_event()
156 static int ftm_set_oneshot(struct clock_event_device *evt) in ftm_set_oneshot()
162 static int ftm_set_periodic(struct clock_event_device *evt) in ftm_set_periodic()
170 struct clock_event_device *evt = dev_id; in ftm_evt_interrupt()
184 static struct clock_event_device ftm_clockevent = {
Dzevio-timer.c59 struct clock_event_device clkevt;
67 struct clock_event_device *dev) in zevio_timer_set_event()
79 static int zevio_timer_shutdown(struct clock_event_device *dev) in zevio_timer_shutdown()
92 static int zevio_timer_set_oneshot(struct clock_event_device *dev) in zevio_timer_set_oneshot()
Dtimer-sun5i.c60 struct clock_event_device clkevt;
106 static int sun5i_clkevt_shutdown(struct clock_event_device *clkevt) in sun5i_clkevt_shutdown()
114 static int sun5i_clkevt_set_oneshot(struct clock_event_device *clkevt) in sun5i_clkevt_set_oneshot()
123 static int sun5i_clkevt_set_periodic(struct clock_event_device *clkevt) in sun5i_clkevt_set_periodic()
134 struct clock_event_device *clkevt) in sun5i_clkevt_next_event()
Dsamsung_pwm_timer.c189 struct clock_event_device *evt) in samsung_set_next_event()
210 static int samsung_shutdown(struct clock_event_device *evt) in samsung_shutdown()
216 static int samsung_set_periodic(struct clock_event_device *evt) in samsung_set_periodic()
224 static void samsung_clockevent_resume(struct clock_event_device *cev) in samsung_clockevent_resume()
235 static struct clock_event_device time_event_device = {
250 struct clock_event_device *evt = dev_id; in samsung_clock_event_isr()
Dsh_cmt.c108 struct clock_event_device ced;
705 static struct sh_cmt_channel *ced_to_sh_cmt(struct clock_event_device *ced) in ced_to_sh_cmt()
712 struct clock_event_device *ced = &ch->ced; in sh_cmt_clock_event_start()
729 static int sh_cmt_clock_event_shutdown(struct clock_event_device *ced) in sh_cmt_clock_event_shutdown()
737 static int sh_cmt_clock_event_set_state(struct clock_event_device *ced, in sh_cmt_clock_event_set_state()
752 static int sh_cmt_clock_event_set_oneshot(struct clock_event_device *ced) in sh_cmt_clock_event_set_oneshot()
757 static int sh_cmt_clock_event_set_periodic(struct clock_event_device *ced) in sh_cmt_clock_event_set_periodic()
763 struct clock_event_device *ced) in sh_cmt_clock_event_next()
776 static void sh_cmt_clock_event_suspend(struct clock_event_device *ced) in sh_cmt_clock_event_suspend()
784 static void sh_cmt_clock_event_resume(struct clock_event_device *ced) in sh_cmt_clock_event_resume()
[all …]
Dcadence_ttc_timer.c100 struct clock_event_device ce;
183 struct clock_event_device *evt) in ttc_set_next_event()
197 static int ttc_shutdown(struct clock_event_device *evt) in ttc_shutdown()
209 static int ttc_set_periodic(struct clock_event_device *evt) in ttc_set_periodic()
219 static int ttc_resume(struct clock_event_device *evt) in ttc_resume()
Dclps711x-timer.c57 struct clock_event_device *evt = dev_id; in clps711x_timer_interrupt()
67 struct clock_event_device *clkevt; in _clps711x_clkevt_init()
/linux-4.4.14/arch/blackfin/kernel/
Dtime-ts.c129 struct clock_event_device *evt) in bfin_gptmr0_set_next_event()
139 static int bfin_gptmr0_set_periodic(struct clock_event_device *evt) in bfin_gptmr0_set_periodic()
157 static int bfin_gptmr0_set_oneshot(struct clock_event_device *evt) in bfin_gptmr0_set_oneshot()
173 static int bfin_gptmr0_shutdown(struct clock_event_device *evt) in bfin_gptmr0_shutdown()
194 struct clock_event_device *evt = dev_id; in bfin_gptmr0_interrupt()
213 static struct clock_event_device clockevent_gptmr0 = {
226 static void __init bfin_gptmr0_clockevent_init(struct clock_event_device *evt) in bfin_gptmr0_clockevent_init()
243 DEFINE_PER_CPU(struct clock_event_device, coretmr_events);
246 struct clock_event_device *evt) in bfin_coretmr_set_next_event()
256 static int bfin_coretmr_set_periodic(struct clock_event_device *evt) in bfin_coretmr_set_periodic()
[all …]
/linux-4.4.14/arch/mips/ralink/
Dcevt-rt3352.c34 struct clock_event_device dev;
39 static int systick_set_oneshot(struct clock_event_device *evt);
40 static int systick_shutdown(struct clock_event_device *evt);
43 struct clock_event_device *evt) in systick_next_event()
56 static void systick_event_handler(struct clock_event_device *dev) in systick_event_handler()
63 struct clock_event_device *dev = (struct clock_event_device *) dev_id; in systick_interrupt()
91 static int systick_shutdown(struct clock_event_device *evt) in systick_shutdown()
105 static int systick_set_oneshot(struct clock_event_device *evt) in systick_set_oneshot()
/linux-4.4.14/arch/mips/kernel/
Dcevt-ds1287.c57 struct clock_event_device *evt) in ds1287_set_next_event()
62 static int ds1287_shutdown(struct clock_event_device *evt) in ds1287_shutdown()
76 static int ds1287_set_periodic(struct clock_event_device *evt) in ds1287_set_periodic()
90 static void ds1287_event_handler(struct clock_event_device *dev) in ds1287_event_handler()
94 static struct clock_event_device ds1287_clockevent = {
106 struct clock_event_device *cd = &ds1287_clockevent; in ds1287_interrupt()
124 struct clock_event_device *cd; in ds1287_clockevent_init()
Dcevt-gt641xx.c49 struct clock_event_device *evt) in gt641xx_timer0_set_next_event()
67 static int gt641xx_timer0_shutdown(struct clock_event_device *evt) in gt641xx_timer0_shutdown()
81 static int gt641xx_timer0_set_oneshot(struct clock_event_device *evt) in gt641xx_timer0_set_oneshot()
96 static int gt641xx_timer0_set_periodic(struct clock_event_device *evt) in gt641xx_timer0_set_periodic()
110 static void gt641xx_timer0_event_handler(struct clock_event_device *dev) in gt641xx_timer0_event_handler()
114 static struct clock_event_device gt641xx_timer0_clockevent = {
129 struct clock_event_device *cd = &gt641xx_timer0_clockevent; in gt641xx_timer0_interrupt()
144 struct clock_event_device *cd; in gt641xx_timer0_clockevent_init()
Dcevt-sb1250.c42 static int sibyte_shutdown(struct clock_event_device *evt) in sibyte_shutdown()
54 static int sibyte_set_periodic(struct clock_event_device *evt) in sibyte_set_periodic()
69 static int sibyte_next_event(unsigned long delta, struct clock_event_device *cd) in sibyte_next_event()
87 struct clock_event_device *cd = dev_id; in sibyte_counter_handler()
105 static DEFINE_PER_CPU(struct clock_event_device, sibyte_hpt_clockevent);
114 struct clock_event_device *cd = &per_cpu(sibyte_hpt_clockevent, cpu); in sb1250_clockevent_init()
Dcevt-bcm1480.c44 static int sibyte_set_periodic(struct clock_event_device *evt) in sibyte_set_periodic()
58 static int sibyte_shutdown(struct clock_event_device *evt) in sibyte_shutdown()
70 static int sibyte_next_event(unsigned long delta, struct clock_event_device *cd) in sibyte_next_event()
88 struct clock_event_device *cd = dev_id; in sibyte_counter_handler()
106 static DEFINE_PER_CPU(struct clock_event_device, sibyte_hpt_clockevent);
115 struct clock_event_device *cd = &per_cpu(sibyte_hpt_clockevent, cpu); in sb1480_clockevent_init()
Dcevt-txx9.c76 struct clock_event_device cd;
88 static int txx9tmr_set_state_periodic(struct clock_event_device *evt) in txx9tmr_set_state_periodic()
104 static int txx9tmr_set_state_oneshot(struct clock_event_device *evt) in txx9tmr_set_state_oneshot()
115 static int txx9tmr_set_state_shutdown(struct clock_event_device *evt) in txx9tmr_set_state_shutdown()
126 static int txx9tmr_tick_resume(struct clock_event_device *evt) in txx9tmr_tick_resume()
139 struct clock_event_device *evt) in txx9tmr_set_next_event()
169 struct clock_event_device *cd = &txx9_cd->cd; in txx9tmr_interrupt()
187 struct clock_event_device *cd = &txx9_clock_event_device.cd; in txx9_clockevent_init()
Dcevt-r4k.c19 struct clock_event_device *evt) in mips_next_event()
31 DEFINE_PER_CPU(struct clock_event_device, mips_clockevent_device);
55 struct clock_event_device *cd; in c0_compare_interrupt()
95 void mips_event_handler(struct clock_event_device *dev) in mips_event_handler()
179 struct clock_event_device *cd; in r4k_clockevent_init()
/linux-4.4.14/arch/arm/mach-netx/
Dtime.c37 static inline void timer_shutdown(struct clock_event_device *evt) in timer_shutdown()
43 static int netx_shutdown(struct clock_event_device *evt) in netx_shutdown()
50 static int netx_set_oneshot(struct clock_event_device *evt) in netx_set_oneshot()
61 static int netx_set_periodic(struct clock_event_device *evt) in netx_set_periodic()
74 struct clock_event_device *clk) in netx_set_next_event()
80 static struct clock_event_device netx_clockevent = {
96 struct clock_event_device *evt = &netx_clockevent; in netx_timer_interrupt()
/linux-4.4.14/arch/arm/plat-iop/
Dtime.c66 struct clock_event_device *unused) in iop_set_next_event()
80 static int iop_set_periodic(struct clock_event_device *evt) in iop_set_periodic()
93 static int iop_set_oneshot(struct clock_event_device *evt) in iop_set_oneshot()
103 static int iop_shutdown(struct clock_event_device *evt) in iop_shutdown()
112 static int iop_resume(struct clock_event_device *evt) in iop_resume()
121 static struct clock_event_device iop_clockevent = {
136 struct clock_event_device *evt = dev_id; in iop_timer_interrupt()
/linux-4.4.14/arch/hexagon/kernel/
Dtime.c88 static int set_next_event(unsigned long delta, struct clock_event_device *evt) in set_next_event()
109 static struct clock_event_device hexagon_clockevent_dev = {
121 static DEFINE_PER_CPU(struct clock_event_device, clock_events);
126 struct clock_event_device *ce_dev = &hexagon_clockevent_dev; in setup_percpu_clockdev()
127 struct clock_event_device *dummy_clock_dev = in setup_percpu_clockdev()
143 struct clock_event_device *ce_dev = &per_cpu(clock_events, cpu); in ipi_timer()
151 struct clock_event_device *ce_dev = &hexagon_clockevent_dev; in timer_interrupt()
178 struct clock_event_device *ce_dev = &hexagon_clockevent_dev; in time_init_deferred()
/linux-4.4.14/arch/xtensa/kernel/
Dtime.c54 struct clock_event_device *dev);
56 struct clock_event_device evt;
63 struct clock_event_device *dev) in ccount_timer_set_next_event()
84 static int ccount_timer_shutdown(struct clock_event_device *evt) in ccount_timer_shutdown()
96 static int ccount_timer_set_oneshot(struct clock_event_device *evt) in ccount_timer_set_oneshot()
118 struct clock_event_device *clockevent = &timer->evt; in local_timer_setup()
160 struct clock_event_device *evt = &this_cpu_ptr(&ccount_timer)->evt; in timer_interrupt()
/linux-4.4.14/arch/arm/mach-footbridge/
Ddc21285-timer.c51 struct clock_event_device *c) in ckevt_dc21285_set_next_event()
60 static int ckevt_dc21285_shutdown(struct clock_event_device *c) in ckevt_dc21285_shutdown()
66 static int ckevt_dc21285_set_periodic(struct clock_event_device *c) in ckevt_dc21285_set_periodic()
75 static struct clock_event_device ckevt_dc21285 = {
90 struct clock_event_device *ce = dev_id; in timer1_interrupt()
115 struct clock_event_device *ce = &ckevt_dc21285; in footbridge_timer_init()
Disa-timer.c22 struct clock_event_device *ce = dev_id; in pit_timer_interrupt()
/linux-4.4.14/arch/alpha/kernel/
Dtime.c87 static DEFINE_PER_CPU(struct clock_event_device, cpu_ce);
93 struct clock_event_device *ce = &per_cpu(cpu_ce, cpu); in rtc_timer_interrupt()
108 rtc_ce_set_next_event(unsigned long evt, struct clock_event_device *ce) in rtc_ce_set_next_event()
118 struct clock_event_device *ce = &per_cpu(cpu_ce, cpu); in init_rtc_clockevent()
120 *ce = (struct clock_event_device){ in init_rtc_clockevent()
156 static int qemu_ce_shutdown(struct clock_event_device *ce) in qemu_ce_shutdown()
165 qemu_ce_set_next_event(unsigned long evt, struct clock_event_device *ce) in qemu_ce_set_next_event()
175 struct clock_event_device *ce = &per_cpu(cpu_ce, cpu); in qemu_timer_interrupt()
185 struct clock_event_device *ce = &per_cpu(cpu_ce, cpu); in init_qemu_clockevent()
187 *ce = (struct clock_event_device){ in init_qemu_clockevent()
/linux-4.4.14/arch/m68k/coldfire/
Dpit.c45 static int cf_pit_set_periodic(struct clock_event_device *evt) in cf_pit_set_periodic()
55 static int cf_pit_set_oneshot(struct clock_event_device *evt) in cf_pit_set_oneshot()
63 static int cf_pit_shutdown(struct clock_event_device *evt) in cf_pit_shutdown()
75 struct clock_event_device *evt) in cf_pit_next_event()
81 struct clock_event_device cf_pit_clockevent = {
99 struct clock_event_device *evt = &cf_pit_clockevent; in pit_tick()
/linux-4.4.14/arch/arm/mach-spear/
Dtime.c70 struct clock_event_device *clk_event_dev);
96 static inline void timer_shutdown(struct clock_event_device *evt) in timer_shutdown()
105 static int spear_shutdown(struct clock_event_device *evt) in spear_shutdown()
112 static int spear_set_oneshot(struct clock_event_device *evt) in spear_set_oneshot()
126 static int spear_set_periodic(struct clock_event_device *evt) in spear_set_periodic()
146 static struct clock_event_device clkevt = {
158 struct clock_event_device *clk_event_dev) in clockevent_next_event()
175 struct clock_event_device *evt = &clkevt; in spear_timer_interrupt()
/linux-4.4.14/arch/arm/mach-w90x900/
Dtime.c51 static int nuc900_clockevent_shutdown(struct clock_event_device *evt) in nuc900_clockevent_shutdown()
59 static int nuc900_clockevent_set_oneshot(struct clock_event_device *evt) in nuc900_clockevent_set_oneshot()
69 static int nuc900_clockevent_set_periodic(struct clock_event_device *evt) in nuc900_clockevent_set_periodic()
80 struct clock_event_device *clk) in nuc900_clockevent_setnextevent()
93 static struct clock_event_device nuc900_clockevent_device = {
109 struct clock_event_device *evt = &nuc900_clockevent_device; in nuc900_timer0_interrupt()
/linux-4.4.14/arch/x86/xen/
Dtime.c277 static int xen_timerop_shutdown(struct clock_event_device *evt) in xen_timerop_shutdown()
286 struct clock_event_device *evt) in xen_timerop_set_next_event()
300 static const struct clock_event_device xen_timerop_clockevent = {
315 static int xen_vcpuop_shutdown(struct clock_event_device *evt) in xen_vcpuop_shutdown()
326 static int xen_vcpuop_set_oneshot(struct clock_event_device *evt) in xen_vcpuop_set_oneshot()
337 struct clock_event_device *evt) in xen_vcpuop_set_next_event()
355 static const struct clock_event_device xen_vcpuop_clockevent = {
371 static const struct clock_event_device *xen_clockevent =
375 struct clock_event_device evt;
382 struct clock_event_device *evt = this_cpu_ptr(&xen_clock_events.evt); in xen_timer_interrupt()
[all …]
/linux-4.4.14/arch/arm/mach-omap1/
Dtimer32k.c110 struct clock_event_device *dev) in omap_32k_timer_set_next_event()
117 static int omap_32k_timer_shutdown(struct clock_event_device *evt) in omap_32k_timer_shutdown()
123 static int omap_32k_timer_set_periodic(struct clock_event_device *evt) in omap_32k_timer_set_periodic()
130 static struct clock_event_device clockevent_32k_timer = {
143 struct clock_event_device *evt = &clockevent_32k_timer; in omap_32k_timer_interrupt()
Dtime.c121 struct clock_event_device *evt) in omap_mpu_set_next_event()
127 static int omap_mpu_set_oneshot(struct clock_event_device *evt) in omap_mpu_set_oneshot()
134 static int omap_mpu_set_periodic(struct clock_event_device *evt) in omap_mpu_set_periodic()
140 static struct clock_event_device clockevent_mpu_timer1 = {
151 struct clock_event_device *evt = &clockevent_mpu_timer1; in omap_mpu_timer1_interrupt()
/linux-4.4.14/arch/arm/mach-imx/
Depit.c59 static struct clock_event_device clockevent_epit;
97 struct clock_event_device *unused) in epit_set_next_event()
109 static int epit_shutdown(struct clock_event_device *evt) in epit_shutdown()
130 static int epit_set_oneshot(struct clock_event_device *evt) in epit_set_oneshot()
164 struct clock_event_device *evt = &clockevent_epit; in epit_timer_interrupt()
179 static struct clock_event_device clockevent_epit = {
/linux-4.4.14/arch/mips/jz4740/
Dtime.c57 struct clock_event_device *cd = devid; in jz4740_clockevent_irq()
69 static int jz4740_clockevent_set_periodic(struct clock_event_device *evt) in jz4740_clockevent_set_periodic()
79 static int jz4740_clockevent_resume(struct clock_event_device *evt) in jz4740_clockevent_resume()
87 static int jz4740_clockevent_shutdown(struct clock_event_device *evt) in jz4740_clockevent_shutdown()
95 struct clock_event_device *cd) in jz4740_clockevent_set_next()
104 static struct clock_event_device jz4740_clockevent = {
/linux-4.4.14/arch/mips/loongson64/loongson-3/
Dhpet.c20 DEFINE_PER_CPU(struct clock_event_device, hpet_clockevent_device);
84 static int hpet_set_state_periodic(struct clock_event_device *evt) in hpet_set_state_periodic()
113 static int hpet_set_state_shutdown(struct clock_event_device *evt) in hpet_set_state_shutdown()
127 static int hpet_set_state_oneshot(struct clock_event_device *evt) in hpet_set_state_oneshot()
148 static int hpet_tick_resume(struct clock_event_device *evt) in hpet_tick_resume()
158 struct clock_event_device *evt) in hpet_next_event()
175 struct clock_event_device *cd; in hpet_irq_handler()
227 struct clock_event_device *cd; in setup_hpet_timer()
/linux-4.4.14/arch/mips/loongson32/common/
Dtime.c121 struct clock_event_device *cd = devid; in ls1x_clockevent_isr()
129 static int ls1x_clockevent_set_state_periodic(struct clock_event_device *cd) in ls1x_clockevent_set_state_periodic()
140 static int ls1x_clockevent_tick_resume(struct clock_event_device *cd) in ls1x_clockevent_tick_resume()
149 static int ls1x_clockevent_set_state_shutdown(struct clock_event_device *cd) in ls1x_clockevent_set_state_shutdown()
160 struct clock_event_device *cd) in ls1x_clockevent_set_next()
170 static struct clock_event_device ls1x_clockevent = {
191 struct clock_event_device *cd = &ls1x_clockevent; in ls1x_time_init()
/linux-4.4.14/arch/um/kernel/
Dtime.c32 static int itimer_shutdown(struct clock_event_device *evt) in itimer_shutdown()
38 static int itimer_set_periodic(struct clock_event_device *evt) in itimer_set_periodic()
45 struct clock_event_device *evt) in itimer_next_event()
50 static int itimer_one_shot(struct clock_event_device *evt) in itimer_one_shot()
56 static struct clock_event_device timer_clockevent = {
/linux-4.4.14/arch/sparc/kernel/
Dtime_32.c57 static struct clock_event_device timer_ce;
61 DEFINE_PER_CPU(struct clock_event_device, sparc32_clockevent);
104 static int timer_ce_shutdown(struct clock_event_device *evt) in timer_ce_shutdown()
111 static int timer_ce_set_periodic(struct clock_event_device *evt) in timer_ce_set_periodic()
120 struct clock_event_device *ce = &timer_ce; in setup_timer_ce()
185 static int percpu_ce_shutdown(struct clock_event_device *evt) in percpu_ce_shutdown()
193 static int percpu_ce_set_periodic(struct clock_event_device *evt) in percpu_ce_set_periodic()
202 struct clock_event_device *evt) in percpu_ce_set_next_event()
213 struct clock_event_device *ce = &per_cpu(sparc32_clockevent, cpu); in register_percpu_ce()
Dtime_64.c672 struct clock_event_device *evt) in sparc64_next_event()
677 static int sparc64_timer_shutdown(struct clock_event_device *evt) in sparc64_timer_shutdown()
683 static struct clock_event_device sparc64_clockevent = {
691 static DEFINE_PER_CPU(struct clock_event_device, sparc64_events);
698 struct clock_event_device *evt = &per_cpu(sparc64_events, cpu); in timer_interrupt()
720 struct clock_event_device *sevt; in setup_sparc64_timer()
Dsun4m_smp.c243 struct clock_event_device *ce; in smp4m_percpu_timer_interrupt()
Dsun4d_smp.c367 struct clock_event_device *ce; in smp4d_percpu_timer_interrupt()
Dleon_kernel.c284 struct clock_event_device *ce; in leon_percpu_timer_ce_interrupt()
/linux-4.4.14/arch/arm/kernel/
Dsmp_twd.c35 static struct clock_event_device __percpu *twd_evt;
40 static int twd_shutdown(struct clock_event_device *clk) in twd_shutdown()
46 static int twd_set_oneshot(struct clock_event_device *clk) in twd_set_oneshot()
54 static int twd_set_periodic(struct clock_event_device *clk) in twd_set_periodic()
67 struct clock_event_device *unused) in twd_set_next_event()
97 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_stop()
235 struct clock_event_device *evt = dev_id; in twd_handler()
274 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_setup()
336 twd_evt = alloc_percpu(struct clock_event_device); in twd_local_timer_common_register()
/linux-4.4.14/arch/c6x/platforms/
Dtimer64.c123 struct clock_event_device *evt) in next_event()
129 static int set_periodic(struct clock_event_device *evt) in set_periodic()
137 static int set_oneshot(struct clock_event_device *evt) in set_oneshot()
144 static int shutdown(struct clock_event_device *evt) in shutdown()
151 static struct clock_event_device t64_clockevent_device = {
164 struct clock_event_device *cd = &t64_clockevent_device; in timer_interrupt()
180 struct clock_event_device *cd = &t64_clockevent_device; in timer64_init()
/linux-4.4.14/arch/mn10300/kernel/
Dcevt-mn10300.c30 struct clock_event_device *evt) in next_event()
44 static DEFINE_PER_CPU(struct clock_event_device, mn10300_clockevent_device);
49 struct clock_event_device *cd; in timer_interrupt()
63 static void event_handler(struct clock_event_device *dev) in event_handler()
79 struct clock_event_device *cd; in init_clockevents()
Dinternal.h15 struct clock_event_device;
/linux-4.4.14/arch/avr32/kernel/
Dtime.c45 struct clock_event_device *evdev = dev_id; in timer_interrupt()
68 struct clock_event_device *evdev) in comparator_next_event()
84 static int comparator_shutdown(struct clock_event_device *evdev) in comparator_shutdown()
100 static int comparator_set_oneshot(struct clock_event_device *evdev) in comparator_set_oneshot()
114 static struct clock_event_device comparator = {
/linux-4.4.14/arch/score/kernel/
Dtime.c33 struct clock_event_device *evdev = dev_id; in timer_interrupt()
49 struct clock_event_device *evdev) in score_timer_set_next_event()
58 static int score_timer_set_periodic(struct clock_event_device *evt) in score_timer_set_periodic()
66 static struct clock_event_device score_clockevent = {
/linux-4.4.14/arch/nios2/kernel/
Dtime.c43 struct clock_event_device ced;
52 to_nios2_clkevent(struct clock_event_device *evt) in to_nios2_clkevent()
159 struct clock_event_device *evt) in nios2_timer_set_next_event()
168 static int nios2_timer_shutdown(struct clock_event_device *evt) in nios2_timer_shutdown()
177 static int nios2_timer_set_periodic(struct clock_event_device *evt) in nios2_timer_set_periodic()
188 static int nios2_timer_resume(struct clock_event_device *evt) in nios2_timer_resume()
199 struct clock_event_device *evt = (struct clock_event_device *) dev_id; in timer_interrupt()
/linux-4.4.14/arch/x86/kernel/
Dhpet.c48 struct clock_event_device evt;
56 inline struct hpet_dev *EVT_TO_HPET_DEV(struct clock_event_device *evtdev) in EVT_TO_HPET_DEV()
229 static struct clock_event_device hpet_clockevent;
294 static int hpet_set_periodic(struct clock_event_device *evt, int timer) in hpet_set_periodic()
324 static int hpet_set_oneshot(struct clock_event_device *evt, int timer) in hpet_set_oneshot()
336 static int hpet_shutdown(struct clock_event_device *evt, int timer) in hpet_shutdown()
347 static int hpet_resume(struct clock_event_device *evt, int timer) in hpet_resume()
365 struct clock_event_device *evt, int timer) in hpet_next_event()
401 static int hpet_legacy_shutdown(struct clock_event_device *evt) in hpet_legacy_shutdown()
406 static int hpet_legacy_set_oneshot(struct clock_event_device *evt) in hpet_legacy_set_oneshot()
[all …]
Di8253.c18 struct clock_event_device *global_clock_event;
/linux-4.4.14/arch/arm/mach-lpc32xx/
Dtimer.c35 struct clock_event_device *dev) in lpc32xx_clkevt_next_event()
46 static int lpc32xx_shutdown(struct clock_event_device *evt) in lpc32xx_shutdown()
57 static struct clock_event_device lpc32xx_clkevt = {
68 struct clock_event_device *evt = &lpc32xx_clkevt; in lpc32xx_timer_interrupt()
/linux-4.4.14/arch/arc/kernel/
Dtime.c200 struct clock_event_device *dev) in arc_clkevent_set_next_event()
206 static int arc_clkevent_set_periodic(struct clock_event_device *dev) in arc_clkevent_set_periodic()
216 static DEFINE_PER_CPU(struct clock_event_device, arc_clockevent_device) = {
232 struct clock_event_device *evt = this_cpu_ptr(&arc_clockevent_device); in timer_irq_handler()
252 struct clock_event_device *evt = this_cpu_ptr(&arc_clockevent_device); in arc_local_timer_setup()
/linux-4.4.14/arch/sh/kernel/
Dlocaltimer.c28 static DEFINE_PER_CPU(struct clock_event_device, local_clockevent);
35 struct clock_event_device *clk = this_cpu_ptr(&local_clockevent); in local_timer_interrupt()
44 struct clock_event_device *clk = &per_cpu(local_clockevent, cpu); in local_timer_setup()
/linux-4.4.14/arch/x86/platform/uv/
Duv_time.c34 static int uv_rtc_next_event(unsigned long, struct clock_event_device *);
35 static int uv_rtc_shutdown(struct clock_event_device *evt);
45 static struct clock_event_device clock_event_device_uv = {
56 static DEFINE_PER_CPU(struct clock_event_device, cpu_ced);
315 struct clock_event_device *ced) in uv_rtc_next_event()
325 static int uv_rtc_shutdown(struct clock_event_device *evt) in uv_rtc_shutdown()
336 struct clock_event_device *ced = &per_cpu(cpu_ced, cpu); in uv_rtc_interrupt()
357 struct clock_event_device *ced = this_cpu_ptr(&cpu_ced); in uv_rtc_register_clockevents()
/linux-4.4.14/arch/tile/kernel/
Dtime.c131 struct clock_event_device *evt) in tile_timer_set_next_event()
143 static int tile_timer_shutdown(struct clock_event_device *evt) in tile_timer_shutdown()
153 static DEFINE_PER_CPU(struct clock_event_device, tile_timer) = {
167 struct clock_event_device *evt = this_cpu_ptr(&tile_timer); in setup_tile_timer()
187 struct clock_event_device *evt = this_cpu_ptr(&tile_timer); in do_timer_interrupt()
240 struct clock_event_device *dev = raw_cpu_ptr(&tile_timer); in ns2cycles()
/linux-4.4.14/arch/mips/alchemy/common/
Dtime.c61 struct clock_event_device *cd) in au1x_rtcmatch2_set_next_event()
74 struct clock_event_device *cd = dev_id; in au1x_rtcmatch2_irq()
79 static struct clock_event_device au1x_rtcmatch2_clockdev = {
96 struct clock_event_device *cd = &au1x_rtcmatch2_clockdev; in alchemy_time_init()
/linux-4.4.14/arch/arm/mach-ep93xx/
Dtimer-ep93xx.c72 struct clock_event_device *evt) in ep93xx_clkevt_set_next_event()
89 static int ep93xx_clkevt_shutdown(struct clock_event_device *evt) in ep93xx_clkevt_shutdown()
97 static struct clock_event_device ep93xx_clockevent = {
109 struct clock_event_device *evt = dev_id; in ep93xx_timer_interrupt()
/linux-4.4.14/arch/arm/mach-ks8695/
Dtime.c57 static int ks8695_set_periodic(struct clock_event_device *evt) in ks8695_set_periodic()
79 struct clock_event_device *evt) in ks8695_set_next_event()
101 static struct clock_event_device clockevent_ks8695 = {
116 struct clock_event_device *evt = &clockevent_ks8695; in ks8695_timer_interrupt()
/linux-4.4.14/arch/unicore32/kernel/
Dtime.c26 struct clock_event_device *c = dev_id; in puv3_ost0_interrupt()
37 puv3_osmr0_set_next_event(unsigned long delta, struct clock_event_device *c) in puv3_osmr0_set_next_event()
49 static int puv3_osmr0_shutdown(struct clock_event_device *evt) in puv3_osmr0_shutdown()
56 static struct clock_event_device ckevt_puv3_osmr0 = {
/linux-4.4.14/arch/mips/loongson64/common/cs5536/
Dcs5536_mfgpt.c54 static int mfgpt_timer_set_periodic(struct clock_event_device *evt) in mfgpt_timer_set_periodic()
66 static int mfgpt_timer_shutdown(struct clock_event_device *evt) in mfgpt_timer_shutdown()
77 static struct clock_event_device mfgpt_clockevent = {
120 struct clock_event_device *cd = &mfgpt_clockevent; in setup_mfgpt0_timer()
/linux-4.4.14/arch/mips/sni/
Dtime.c17 static int a20r_set_periodic(struct clock_event_device *evt) in a20r_set_periodic()
35 static struct clock_event_device a20r_clockevent_device = {
48 struct clock_event_device *cd = dev_id; in a20r_interrupt()
70 struct clock_event_device *cd = &a20r_clockevent_device; in sni_a20r_timer_setup()
/linux-4.4.14/arch/arm/mach-gemini/
Dtime.c72 struct clock_event_device *evt) in gemini_timer_set_next_event()
85 static int gemini_timer_shutdown(struct clock_event_device *evt) in gemini_timer_shutdown()
116 static int gemini_timer_set_periodic(struct clock_event_device *evt) in gemini_timer_set_periodic()
147 static struct clock_event_device gemini_clockevent = {
166 struct clock_event_device *evt = &gemini_clockevent; in gemini_timer_interrupt()
/linux-4.4.14/arch/openrisc/kernel/
Dtime.c31 struct clock_event_device *dev) in openrisc_timer_set_next_event()
57 static struct clock_event_device clockevent_openrisc_timer = {
86 struct clock_event_device *evt = &clockevent_openrisc_timer; in timer_interrupt()
/linux-4.4.14/arch/arm/mach-ixp4xx/
Dcommon.c59 static struct clock_event_device clockevent_ixp4xx;
312 struct clock_event_device *evt = dev_id; in ixp4xx_timer_interrupt()
515 struct clock_event_device *unused) in ixp4xx_set_next_event()
524 static int ixp4xx_shutdown(struct clock_event_device *evt) in ixp4xx_shutdown()
534 static int ixp4xx_set_oneshot(struct clock_event_device *evt) in ixp4xx_set_oneshot()
544 static int ixp4xx_set_periodic(struct clock_event_device *evt) in ixp4xx_set_periodic()
553 static int ixp4xx_resume(struct clock_event_device *evt) in ixp4xx_resume()
563 static struct clock_event_device clockevent_ixp4xx = {
/linux-4.4.14/arch/microblaze/kernel/
Dtimer.c118 struct clock_event_device *dev) in xilinx_timer_set_next_event()
125 static int xilinx_timer_shutdown(struct clock_event_device *evt) in xilinx_timer_shutdown()
132 static int xilinx_timer_set_periodic(struct clock_event_device *evt) in xilinx_timer_set_periodic()
139 static struct clock_event_device clockevent_xilinx_timer = {
157 struct clock_event_device *evt = &clockevent_xilinx_timer; in timer_interrupt()
/linux-4.4.14/arch/arm/mach-mmp/
Dtime.c77 struct clock_event_device *c = dev_id; in timer_interrupt()
95 struct clock_event_device *dev) in timer_set_next_event()
127 static int timer_set_shutdown(struct clock_event_device *evt) in timer_set_shutdown()
139 static struct clock_event_device ckevt = {
/linux-4.4.14/arch/mips/include/asm/
Dcevt-r4k.h20 DECLARE_PER_CPU(struct clock_event_device, mips_clockevent_device);
22 void mips_event_handler(struct clock_event_device *dev);
Dtime.h80 static inline void clockevent_set_clock(struct clock_event_device *cd, in clockevent_set_clock()
/linux-4.4.14/arch/arm/plat-orion/
Dtime.c73 orion_clkevt_next_event(unsigned long delta, struct clock_event_device *dev) in orion_clkevt_next_event()
109 static int orion_clkevt_shutdown(struct clock_event_device *evt) in orion_clkevt_shutdown()
132 static int orion_clkevt_set_periodic(struct clock_event_device *evt) in orion_clkevt_set_periodic()
156 static struct clock_event_device orion_clkevt = {
/linux-4.4.14/arch/mips/sgi-ip27/
Dip27-timer.c54 static int rt_next_event(unsigned long delta, struct clock_event_device *evt) in rt_next_event()
69 static DEFINE_PER_CPU(struct clock_event_device, hub_rt_clockevent);
75 struct clock_event_device *cd = &per_cpu(hub_rt_clockevent, cpu); in hub_rt_counter_handler()
107 struct clock_event_device *cd = &per_cpu(hub_rt_clockevent, cpu); in hub_rt_clock_event_init()
/linux-4.4.14/arch/arm/mach-cns3xxx/
Dcore.c116 static int cns3xxx_shutdown(struct clock_event_device *clk) in cns3xxx_shutdown()
122 static int cns3xxx_set_oneshot(struct clock_event_device *clk) in cns3xxx_set_oneshot()
132 static int cns3xxx_set_periodic(struct clock_event_device *clk) in cns3xxx_set_periodic()
146 struct clock_event_device *unused) in cns3xxx_timer_set_next_event()
156 static struct clock_event_device cns3xxx_tmr1_clockevent = {
182 struct clock_event_device *evt = &cns3xxx_tmr1_clockevent; in cns3xxx_timer_interrupt()
/linux-4.4.14/arch/arm/mach-davinci/
Dtime.c32 static struct clock_event_device clockevent_davinci;
167 struct clock_event_device *evt = &clockevent_davinci; in timer_interrupt()
297 struct clock_event_device *evt) in davinci_set_next_event()
306 static int davinci_shutdown(struct clock_event_device *evt) in davinci_shutdown()
315 static int davinci_set_oneshot(struct clock_event_device *evt) in davinci_set_oneshot()
324 static int davinci_set_periodic(struct clock_event_device *evt) in davinci_set_periodic()
335 static struct clock_event_device clockevent_davinci = {
/linux-4.4.14/arch/mips/jazz/
Dirq.c113 struct clock_event_device r4030_clockevent = {
122 struct clock_event_device *cd = dev_id; in r4030_timer_interrupt()
136 struct clock_event_device *cd = &r4030_clockevent; in plat_time_init()
/linux-4.4.14/arch/cris/arch-v32/kernel/
Dtime.c175 static int crisv32_clkevt_switch_state(struct clock_event_device *dev) in crisv32_clkevt_switch_state()
187 struct clock_event_device *dev) in crisv32_clkevt_next_event()
205 struct clock_event_device *evt = dev_id; in crisv32_timer_interrupt()
230 static struct clock_event_device crisv32_clockevent = {
/linux-4.4.14/arch/arm/mach-omap2/
Dtimer.c69 static struct clock_event_device clockevent_gpt;
82 struct clock_event_device *evt = &clockevent_gpt; in omap2_gp_timer_interrupt()
97 struct clock_event_device *evt) in omap2_gp_timer_set_next_event()
105 static int omap2_gp_timer_shutdown(struct clock_event_device *evt) in omap2_gp_timer_shutdown()
111 static int omap2_gp_timer_set_periodic(struct clock_event_device *evt) in omap2_gp_timer_set_periodic()
128 static struct clock_event_device clockevent_gpt = {
/linux-4.4.14/arch/powerpc/kernel/
Dtime.c101 struct clock_event_device *dev);
102 static int decrementer_shutdown(struct clock_event_device *evt);
104 struct clock_event_device decrementer_clockevent = {
117 static DEFINE_PER_CPU(struct clock_event_device, decrementers);
488 struct clock_event_device *evt = this_cpu_ptr(&decrementers); in __timer_interrupt()
854 struct clock_event_device *dev) in decrementer_set_next_event()
866 static int decrementer_shutdown(struct clock_event_device *dev) in decrementer_shutdown()
883 struct clock_event_device *dec = &per_cpu(decrementers, cpu); in register_decrementer_clockevent()
/linux-4.4.14/arch/x86/kernel/apic/
Dapic.c456 struct clock_event_device *evt) in lapic_next_event()
463 struct clock_event_device *evt) in lapic_next_deadline()
472 static int lapic_timer_shutdown(struct clock_event_device *evt) in lapic_timer_shutdown()
488 lapic_timer_set_periodic_oneshot(struct clock_event_device *evt, bool oneshot) in lapic_timer_set_periodic_oneshot()
498 static int lapic_timer_set_periodic(struct clock_event_device *evt) in lapic_timer_set_periodic()
503 static int lapic_timer_set_oneshot(struct clock_event_device *evt) in lapic_timer_set_oneshot()
522 static struct clock_event_device lapic_clockevent = {
536 static DEFINE_PER_CPU(struct clock_event_device, lapic_events);
544 struct clock_event_device *levt = this_cpu_ptr(&lapic_events); in setup_APIC_timer()
598 static void __init lapic_cal_handler(struct clock_event_device *dev) in lapic_cal_handler()
[all …]
/linux-4.4.14/drivers/hv/
Dhv.c356 struct clock_event_device *evt) in hv_ce_set_next_event()
368 static int hv_ce_shutdown(struct clock_event_device *evt) in hv_ce_shutdown()
376 static int hv_ce_set_oneshot(struct clock_event_device *evt) in hv_ce_set_oneshot()
388 static void hv_init_clockevent_device(struct clock_event_device *dev, int cpu) in hv_init_clockevent_device()
409 size_t ced_size = sizeof(struct clock_event_device); in hv_synic_alloc()
Dhyperv_vmbus.h549 struct clock_event_device *clk_evt[NR_CPUS];
Dvmbus_drv.c693 struct clock_event_device *dev = hv_context.clk_evt[cpu]; in hv_process_timer_expiration()
/linux-4.4.14/arch/x86/include/asm/
Dtime.h10 extern struct clock_event_device *global_clock_event;
/linux-4.4.14/arch/sparc/include/asm/
Dtimer_32.h40 DECLARE_PER_CPU(struct clock_event_device, sparc32_clockevent);
/linux-4.4.14/arch/blackfin/mach-common/
Dsmp.c131 DECLARE_PER_CPU(struct clock_event_device, coretmr_events);
135 struct clock_event_device *evt = &per_cpu(coretmr_events, cpu); in ipi_timer()
/linux-4.4.14/arch/powerpc/include/asm/
Dtime.h26 extern struct clock_event_device decrementer_clockevent;
/linux-4.4.14/arch/x86/lguest/
Dboot.c978 struct clock_event_device *evt) in lguest_clockevent_set_next_event()
994 static int lguest_clockevent_shutdown(struct clock_event_device *evt) in lguest_clockevent_shutdown()
1002 static struct clock_event_device lguest_clockevent = {
/linux-4.4.14/arch/s390/kernel/
Dtime.c59 static DEFINE_PER_CPU(struct clock_event_device, comparators);
96 struct clock_event_device *cd; in clock_comparator_work()
116 struct clock_event_device *evt) in s390_next_event()
129 struct clock_event_device *cd; in init_cpu_timer()