Home
last modified time | relevance | path

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

/linux-4.1.27/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 extern void clockevents_shutdown(struct clock_event_device *dev);
40 extern void clockevents_exchange_device(struct clock_event_device *old,
[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_set_state(struct clock_event_device *dev, in __clockevents_set_state()
149 void clockevents_set_state(struct clock_event_device *dev, in clockevents_set_state()
175 void clockevents_shutdown(struct clock_event_device *dev) in clockevents_shutdown()
185 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.c66 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_is_oneshot_available()
98 void tick_handle_periodic(struct clock_event_device *dev) in tick_handle_periodic()
133 void tick_setup_periodic(struct clock_event_device *dev, int broadcast) in tick_setup_periodic()
167 struct clock_event_device *newdev, int cpu, in tick_setup_device()
171 void (*handler)(struct clock_event_device *) = NULL; in tick_setup_device()
225 void tick_install_replacement(struct clock_event_device *newdev) in tick_install_replacement()
236 static bool tick_check_percpu(struct clock_event_device *curdev, in tick_check_percpu()
237 struct clock_event_device *newdev, int cpu) in tick_check_percpu()
252 static bool tick_check_preferred(struct clock_event_device *curdev, in tick_check_preferred()
253 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()
39 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_resume_oneshot()
48 void tick_setup_oneshot(struct clock_event_device *newdev, in tick_setup_oneshot()
49 void (*handler)(struct clock_event_device *), in tick_setup_oneshot() argument
60 int tick_switch_to_oneshot(void (*handler)(struct clock_event_device *)) in tick_switch_to_oneshot() argument
63 struct clock_event_device *dev = td->evtdev; in tick_switch_to_oneshot()
Dtick-broadcast-hrtimer.c22 struct clock_event_device *bc) in bc_set_mode()
50 static int bc_set_next(ktime_t expires, struct clock_event_device *bc) in bc_set_next()
81 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()
984 static void tick_nohz_handler(struct clock_event_device *dev) in tick_nohz_handler()
Dtimer_list.c203 struct clock_event_device *dev = td->evtdev; in print_tickdevice()
Dhrtimer.c1245 void hrtimer_interrupt(struct clock_event_device *dev) in hrtimer_interrupt()
/linux-4.1.27/include/linux/
Dclockchips.h18 struct clock_event_device;
106 struct clock_event_device { struct
107 void (*event_handler)(struct clock_event_device *); argument
108 int (*set_next_event)(unsigned long evt, struct clock_event_device *); argument
109 int (*set_next_ktime)(ktime_t expires, struct clock_event_device *); argument
126 void (*set_mode)(enum clock_event_mode mode, struct clock_event_device *); argument
127 int (*set_state_periodic)(struct clock_event_device *); argument
128 int (*set_state_oneshot)(struct clock_event_device *); argument
129 int (*set_state_shutdown)(struct clock_event_device *); argument
130 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.h266 struct clock_event_device;
268 extern void hrtimer_interrupt(struct clock_event_device *dev);
/linux-4.1.27/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()
86 struct clock_event_device *ce) in rk_timer_set_mode()
106 struct clock_event_device *ce = dev_id; in rk_timer_interrupt()
[all …]
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_set_mode()
[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()
91 struct clock_event_device *ce) in digicolor_clkevt_mode()
114 struct clock_event_device *ce) in digicolor_clkevt_next_event()
136 struct clock_event_device *evt = dev_id; in digicolor_timer_interrupt()
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()
37 struct clock_event_device *evt) in gic_set_clock_mode()
44 struct clock_event_device *cd = dev_id; in gic_compare_interrupt()
58 static void gic_clockevent_cpu_init(struct clock_event_device *cd) in gic_clockevent_cpu_init()
77 static void gic_clockevent_cpu_exit(struct clock_event_device *cd) in gic_clockevent_cpu_exit()
Darm_global_timer.c53 static struct clock_event_device __percpu *gt_evt;
111 struct clock_event_device *clk) in gt_clockevent_set_mode()
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()
185 static void gt_clockevents_stop(struct clock_event_device *clk) in gt_clockevents_stop()
283 gt_evt = alloc_percpu(struct clock_event_device); in global_timer_of_register()
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()
60 struct clock_event_device *evt) in metag_timer_set_mode()
93 struct clock_event_device *evt = this_cpu_ptr(&local_clockevent); in metag_timer_interrupt()
115 struct clock_event_device *clk = &per_cpu(local_clockevent, cpu); in arch_timer_setup()
Dmxs_timer.c79 static struct clock_event_device mxs_clockevent_device;
110 struct clock_event_device *dev) in timrotv1_set_next_event()
119 struct clock_event_device *dev) in timrotv2_set_next_event()
129 struct clock_event_device *evt = dev_id; in mxs_timer_interrupt()
154 struct clock_event_device *evt) in mxs_set_mode()
196 static struct clock_event_device mxs_clockevent_device = {
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()
92 pxa_osmr0_set_mode(enum clock_event_mode mode, struct clock_event_device *dev) in pxa_osmr0_set_mode()
116 static void pxa_timer_suspend(struct clock_event_device *cedev) in pxa_timer_suspend()
126 static void pxa_timer_resume(struct clock_event_device *cedev) in pxa_timer_resume()
149 static struct clock_event_device ckevt_pxa_osmr0 = {
Dqcom-timer.c50 struct clock_event_device *evt = dev_id; in msm_timer_interrupt()
62 struct clock_event_device *evt) in msm_timer_set_next_event()
81 struct clock_event_device *evt) in msm_timer_set_mode()
102 static struct clock_event_device __percpu *msm_evt;
122 static int msm_local_timer_setup(struct clock_event_device *evt) in msm_local_timer_setup()
150 static void msm_local_timer_stop(struct clock_event_device *evt) in msm_local_timer_stop()
202 msm_evt = alloc_percpu(struct clock_event_device); in msm_timer_init()
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 struct clock_event_device *ce) in sirfsoc_timer_set_mode()
158 static struct clock_event_device __percpu *sirfsoc_clockevent;
182 static int sirfsoc_local_timer_setup(struct clock_event_device *ce) in sirfsoc_local_timer_setup()
211 static void sirfsoc_local_timer_stop(struct clock_event_device *ce) in sirfsoc_local_timer_stop()
248 sirfsoc_clockevent = alloc_percpu(struct clock_event_device); in sirfsoc_clockevent_init()
Dtime-armada-370-xp.c87 static struct clock_event_device __percpu *armada_370_xp_evt;
105 struct clock_event_device *dev) in armada_370_xp_clkevt_next_event()
126 struct clock_event_device *dev) in armada_370_xp_clkevt_mode()
160 struct clock_event_device *evt = dev_id; in armada_370_xp_timer_interrupt()
171 static int armada_370_xp_timer_setup(struct clock_event_device *evt) in armada_370_xp_timer_setup()
198 static void armada_370_xp_timer_stop(struct clock_event_device *evt) in armada_370_xp_timer_stop()
298 armada_370_xp_evt = alloc_percpu(struct clock_event_device); in armada_370_xp_timer_common_init()
Dmeson6_timer.c71 struct clock_event_device *clk) in meson6_clkevt_mode()
92 struct clock_event_device *unused) in meson6_clkevt_next_event()
101 static struct clock_event_device meson6_clockevent = {
111 struct clock_event_device *evt = (struct clock_event_device *)dev_id; in meson6_timer_interrupt()
Dexynos_mct.c86 struct clock_event_device evt;
284 struct clock_event_device *evt) in exynos4_comp_set_next_event()
292 struct clock_event_device *evt) in exynos4_comp_set_mode()
312 static struct clock_event_device mct_comp_device = {
322 struct clock_event_device *evt = dev_id; in exynos4_mct_comp_isr()
384 struct clock_event_device *evt) in exynos4_tick_set_next_event()
394 struct clock_event_device *evt) in exynos4_tick_set_mode()
418 struct clock_event_device *evt = &mevt->evt; in exynos4_mct_tick_clear()
440 struct clock_event_device *evt = &mevt->evt; in exynos4_mct_tick_isr()
449 static int exynos4_local_timer_setup(struct clock_event_device *evt) in exynos4_local_timer_setup()
[all …]
Ddummy_timer.c17 static DEFINE_PER_CPU(struct clock_event_device, dummy_timer_evt);
20 struct clock_event_device *evt) in dummy_timer_set_mode()
31 struct clock_event_device *evt = raw_cpu_ptr(&dummy_timer_evt); in dummy_timer_setup()
Dtimer-keystone.c49 struct clock_event_device event_dev;
132 struct clock_event_device *evt = dev_id; in keystone_timer_interrupt()
139 struct clock_event_device *evt) in keystone_set_next_event()
145 struct clock_event_device *evt) in keystone_set_mode()
163 struct clock_event_device *event_dev = &timer.event_dev; in keystone_timer_init()
Dsun4i_timer.c85 struct clock_event_device *clk) in sun4i_clkevt_mode()
106 struct clock_event_device *unused) in sun4i_clkevt_next_event()
115 static struct clock_event_device sun4i_clockevent = {
126 struct clock_event_device *evt = (struct clock_event_device *)dev_id; in sun4i_timer_interrupt()
Dvt8500_timer.c76 struct clock_event_device *evt) in vt8500_timer_set_next_event()
94 struct clock_event_device *evt) in vt8500_timer_set_mode()
110 static struct clock_event_device clockevent = {
120 struct clock_event_device *evt = dev_id; in vt8500_timer_interrupt()
Dtegra20_timer.c65 struct clock_event_device *evt) in tegra_timer_set_next_event()
76 struct clock_event_device *evt) in tegra_timer_set_mode()
96 static struct clock_event_device tegra_clockevent = {
151 struct clock_event_device *evt = (struct clock_event_device *)dev_id; in tegra_timer_interrupt()
Dbcm_kona_timer.c102 struct clock_event_device *unused) in kona_timer_set_next_event()
131 struct clock_event_device *unused) in kona_timer_set_mode()
144 static struct clock_event_device kona_clockevent_timer = {
160 struct clock_event_device *evt = &kona_clockevent_timer; in kona_timer_interrupt()
Dbcm2835_timer.c46 struct clock_event_device evt;
58 struct clock_event_device *evt_dev) in bcm2835_time_set_mode()
73 struct clock_event_device *evt_dev) in bcm2835_time_set_next_event()
85 void (*event_handler)(struct clock_event_device *); in bcm2835_time_interrupt()
Dnomadik-mtu.c93 static int nmdk_clkevt_next(unsigned long evt, struct clock_event_device *ev) in nmdk_clkevt_next()
123 struct clock_event_device *dev) in nmdk_clkevt_mode()
159 static void nmdk_clkevt_resume(struct clock_event_device *cedev) in nmdk_clkevt_resume()
165 static struct clock_event_device nmdk_clkevt = {
180 struct clock_event_device *evdev = dev_id; in nmdk_timer_interrupt()
Dmoxart_timer.c62 struct clock_event_device *clk) in moxart_clkevt_mode()
83 struct clock_event_device *unused) in moxart_clkevt_next_event()
97 static struct clock_event_device moxart_clockevent = {
107 struct clock_event_device *evt = dev_id; in moxart_timer_interrupt()
Dtimer-atmel-st.c34 static struct clock_event_device clkevt;
110 clkevt32k_mode(enum clock_event_mode mode, struct clock_event_device *dev) in clkevt32k_mode()
142 clkevt32k_next_event(unsigned long delta, struct clock_event_device *dev) in clkevt32k_next_event()
172 static struct clock_event_device clkevt = {
Dvf_pit_timer.c73 struct clock_event_device *unused) in pit_set_next_event()
90 struct clock_event_device *evt) in pit_set_mode()
107 struct clock_event_device *evt = dev_id; in pit_timer_interrupt()
125 static struct clock_event_device clockevent_pit = {
Dtimer-integrator-ap.c67 struct clock_event_device *evt = dev_id; in integrator_timer_interrupt()
77 static void clkevt_set_mode(enum clock_event_mode mode, struct clock_event_device *evt) in clkevt_set_mode()
106 static int clkevt_set_next_event(unsigned long next, struct clock_event_device *evt) in clkevt_set_next_event()
117 static struct clock_event_device integrator_clockevent = {
Di8253.c109 struct clock_event_device *evt) in init_pit_timer()
148 static int pit_next_event(unsigned long delta, struct clock_event_device *evt) in pit_next_event()
162 struct clock_event_device i8253_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()
97 pit_clkevt_mode(enum clock_event_mode mode, struct clock_event_device *dev) in pit_clkevt_mode()
122 static void at91sam926x_pit_suspend(struct clock_event_device *cedev) in at91sam926x_pit_suspend()
144 static void at91sam926x_pit_resume(struct clock_event_device *cedev) in at91sam926x_pit_resume()
Dasm9260_timer.c114 struct clock_event_device *evt) in asm9260_timer_set_next_event()
124 struct clock_event_device *evt) in asm9260_timer_set_mode()
149 static struct clock_event_device event_dev = {
159 struct clock_event_device *evt = dev_id; in asm9260_timer_interrupt()
Dclps711x-timer.c57 struct clock_event_device *evt = dev_id; in clps711x_timer_interrupt()
65 struct clock_event_device *evt) in clps711x_clockevent_set_mode()
72 struct clock_event_device *clkevt; in _clps711x_clkevt_init()
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()
108 struct clock_event_device *ce) in sirfsoc_timer_set_mode()
156 static struct clock_event_device sirfsoc_clockevent = {
Dtime-orion.c53 struct clock_event_device *dev) in orion_clkevt_next_event()
64 struct clock_event_device *dev) in orion_clkevt_mode()
80 static struct clock_event_device orion_clkevt = {
Dcs5535-clockevt.c81 struct clock_event_device *evt) in mfgpt_set_mode()
91 static int mfgpt_next_event(unsigned long delta, struct clock_event_device *evt) in mfgpt_next_event()
97 static struct clock_event_device cs5535_clockevent = {
Dtimer-u300.c186 struct clock_event_device cevd;
196 struct clock_event_device *evt) in u300_set_mode()
280 struct clock_event_device *evt) in u300_set_next_event()
325 struct clock_event_device *evt = &u300_clockevent_data.cevd; in u300_timer_interrupt()
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()
362 struct clock_event_device *ced) in sh_tmu_clock_event_mode()
400 struct clock_event_device *ced) in sh_tmu_clock_event_next()
411 static void sh_tmu_clock_event_suspend(struct clock_event_device *ced) in sh_tmu_clock_event_suspend()
416 static void sh_tmu_clock_event_resume(struct clock_event_device *ced) in sh_tmu_clock_event_resume()
424 struct clock_event_device *ced = &ch->ced; in sh_tmu_register_clockevent()
Dmtk_timer.c59 struct clock_event_device dev;
63 struct clock_event_device *c) in to_mtk_clk()
106 struct clock_event_device *clk) in mtk_clkevt_mode()
129 struct clock_event_device *clk) in mtk_clkevt_next_event()
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()
280 struct clock_event_device *ced) in sh_mtu2_clock_event_mode()
311 static void sh_mtu2_clock_event_suspend(struct clock_event_device *ced) in sh_mtu2_clock_event_suspend()
316 static void sh_mtu2_clock_event_resume(struct clock_event_device *ced) in sh_mtu2_clock_event_resume()
324 struct clock_event_device *ced = &ch->ced; in sh_mtu2_register_clockevent()
Dem_sti.c44 struct clock_event_device ced;
249 static struct em_sti_priv *ced_to_em_sti(struct clock_event_device *ced) in ced_to_em_sti()
255 struct clock_event_device *ced) in em_sti_clock_event_mode()
284 struct clock_event_device *ced) in em_sti_clock_event_next()
298 struct clock_event_device *ced = &p->ced; in em_sti_register_clockevent()
Dfsl_ftm_timer.c127 struct clock_event_device *unused) in ftm_set_next_event()
157 struct clock_event_device *evt) in ftm_set_mode()
173 struct clock_event_device *evt = dev_id; in ftm_evt_interrupt()
187 static struct clock_event_device ftm_clockevent = {
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 void tc_mode(enum clock_event_mode m, struct clock_event_device *d) in tc_mode()
145 static int tc_next_event(unsigned long delta, struct clock_event_device *d) in tc_next_event()
Dtime-efm32.c46 struct clock_event_device evtdev;
52 struct clock_event_device *evtdev) in efm32_clock_event_set_mode()
88 struct clock_event_device *evtdev) in efm32_clock_event_set_next_event()
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()
114 struct clock_event_device *evt) in apbt_set_mode()
181 struct clock_event_device *evt) in apbt_next_event()
Dzevio-timer.c59 struct clock_event_device clkevt;
67 struct clock_event_device *dev) in zevio_timer_set_event()
80 struct clock_event_device *dev) in zevio_timer_set_mode()
Dsamsung_pwm_timer.c189 struct clock_event_device *evt) in samsung_set_next_event()
211 struct clock_event_device *evt) in samsung_set_mode()
231 static void samsung_clockevent_resume(struct clock_event_device *cev) in samsung_clockevent_resume()
242 static struct clock_event_device time_event_device = {
253 struct clock_event_device *evt = dev_id; in samsung_clock_event_isr()
Dsh_cmt.c108 struct clock_event_device ced;
699 static struct sh_cmt_channel *ced_to_sh_cmt(struct clock_event_device *ced) in ced_to_sh_cmt()
706 struct clock_event_device *ced = &ch->ced; in sh_cmt_clock_event_start()
724 struct clock_event_device *ced) in sh_cmt_clock_event_mode()
759 struct clock_event_device *ced) in sh_cmt_clock_event_next()
772 static void sh_cmt_clock_event_suspend(struct clock_event_device *ced) in sh_cmt_clock_event_suspend()
780 static void sh_cmt_clock_event_resume(struct clock_event_device *ced) in sh_cmt_clock_event_resume()
791 struct clock_event_device *ced = &ch->ced; in sh_cmt_register_clockevent()
Dtimer-sun5i.c60 struct clock_event_device clkevt;
107 struct clock_event_device *clkevt) in sun5i_clkevt_mode()
130 struct clock_event_device *clkevt) in sun5i_clkevt_next_event()
Dcadence_ttc_timer.c101 struct clock_event_device ce;
184 struct clock_event_device *evt) in ttc_set_next_event()
200 struct clock_event_device *evt) in ttc_set_mode()
/linux-4.1.27/arch/hexagon/kernel/
Dtime.c88 static int set_next_event(unsigned long delta, struct clock_event_device *evt) in set_next_event()
104 struct clock_event_device *evt) in set_mode()
122 static struct clock_event_device hexagon_clockevent_dev = {
135 static DEFINE_PER_CPU(struct clock_event_device, clock_events);
140 struct clock_event_device *ce_dev = &hexagon_clockevent_dev; in setup_percpu_clockdev()
141 struct clock_event_device *dummy_clock_dev = in setup_percpu_clockdev()
158 struct clock_event_device *ce_dev = &per_cpu(clock_events, cpu); in ipi_timer()
166 struct clock_event_device *ce_dev = &hexagon_clockevent_dev; in timer_interrupt()
193 struct clock_event_device *ce_dev = &hexagon_clockevent_dev; in time_init_deferred()
/linux-4.1.27/arch/mips/kernel/
Dcevt-ds1287.c57 struct clock_event_device *evt) in ds1287_set_next_event()
63 struct clock_event_device *evt) in ds1287_set_mode()
85 static void ds1287_event_handler(struct clock_event_device *dev) in ds1287_event_handler()
89 static struct clock_event_device ds1287_clockevent = {
99 struct clock_event_device *cd = &ds1287_clockevent; in ds1287_interrupt()
117 struct clock_event_device *cd; in ds1287_clockevent_init()
Dcevt-gt641xx.c49 struct clock_event_device *evt) in gt641xx_timer0_set_next_event()
68 struct clock_event_device *evt) in gt641xx_timer0_set_mode()
93 static void gt641xx_timer0_event_handler(struct clock_event_device *dev) in gt641xx_timer0_event_handler()
97 static struct clock_event_device gt641xx_timer0_clockevent = {
108 struct clock_event_device *cd = &gt641xx_timer0_clockevent; in gt641xx_timer0_interrupt()
123 struct clock_event_device *cd; in gt641xx_timer0_clockevent_init()
Dcevt-r4k.c19 struct clock_event_device *evt) in mips_next_event()
32 struct clock_event_device *evt) in mips_set_clock_mode()
37 DEFINE_PER_CPU(struct clock_event_device, mips_clockevent_device);
61 struct clock_event_device *cd; in c0_compare_interrupt()
101 void mips_event_handler(struct clock_event_device *dev) in mips_event_handler()
180 struct clock_event_device *cd; in r4k_clockevent_init()
Dcevt-sb1250.c42 struct clock_event_device *evt) in sibyte_set_mode()
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 sb1250_clockevent_init()
Dcevt-bcm1480.c44 struct clock_event_device *evt) in sibyte_set_mode()
72 static int sibyte_next_event(unsigned long delta, struct clock_event_device *cd) in sibyte_next_event()
90 struct clock_event_device *cd = dev_id; in sibyte_counter_handler()
108 static DEFINE_PER_CPU(struct clock_event_device, sibyte_hpt_clockevent);
117 struct clock_event_device *cd = &per_cpu(sibyte_hpt_clockevent, cpu); in sb1480_clockevent_init()
Dcevt-txx9.c76 struct clock_event_device cd;
89 struct clock_event_device *evt) in txx9tmr_set_mode()
121 struct clock_event_device *evt) in txx9tmr_set_next_event()
148 struct clock_event_device *cd = &txx9_cd->cd; in txx9tmr_interrupt()
166 struct clock_event_device *cd = &txx9_clock_event_device.cd; in txx9_clockevent_init()
/linux-4.1.27/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_mode(enum clock_event_mode mode, struct clock_event_device *ce) in rtc_ce_set_mode()
115 rtc_ce_set_next_event(unsigned long evt, struct clock_event_device *ce) in rtc_ce_set_next_event()
125 struct clock_event_device *ce = &per_cpu(cpu_ce, cpu); in init_rtc_clockevent()
127 *ce = (struct clock_event_device){ in init_rtc_clockevent()
165 qemu_ce_set_mode(enum clock_event_mode mode, struct clock_event_device *ce) in qemu_ce_set_mode()
173 qemu_ce_set_next_event(unsigned long evt, struct clock_event_device *ce) in qemu_ce_set_next_event()
183 struct clock_event_device *ce = &per_cpu(cpu_ce, cpu); in qemu_timer_interrupt()
193 struct clock_event_device *ce = &per_cpu(cpu_ce, cpu); in init_qemu_clockevent()
[all …]
/linux-4.1.27/arch/mips/ralink/
Dcevt-rt3352.c34 struct clock_event_device dev;
40 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 struct clock_event_device *evt) in systick_set_clock_mode()
/linux-4.1.27/arch/xtensa/kernel/
Dtime.c54 struct clock_event_device *dev);
56 struct clock_event_device *evt);
58 struct clock_event_device evt;
65 struct clock_event_device *dev) in ccount_timer_set_next_event()
81 struct clock_event_device *evt) in ccount_timer_set_mode()
121 struct clock_event_device *clockevent = &timer->evt; in local_timer_setup()
161 struct clock_event_device *evt = &this_cpu_ptr(&ccount_timer)->evt; in timer_interrupt()
/linux-4.1.27/arch/blackfin/kernel/
Dtime-ts.c129 struct clock_event_device *evt) in bfin_gptmr0_set_next_event()
140 struct clock_event_device *evt) in bfin_gptmr0_set_mode()
194 struct clock_event_device *evt = dev_id; in bfin_gptmr0_interrupt()
213 static struct clock_event_device clockevent_gptmr0 = {
223 static void __init bfin_gptmr0_clockevent_init(struct clock_event_device *evt) in bfin_gptmr0_clockevent_init()
240 DEFINE_PER_CPU(struct clock_event_device, coretmr_events);
243 struct clock_event_device *evt) in bfin_coretmr_set_next_event()
254 struct clock_event_device *evt) in bfin_coretmr_set_mode()
306 struct clock_event_device *evt = &per_cpu(coretmr_events, cpu); in bfin_coretmr_interrupt()
326 struct clock_event_device *evt = &per_cpu(coretmr_events, cpu); in bfin_coretmr_clockevent_init()
/linux-4.1.27/arch/mn10300/kernel/
Dcevt-mn10300.c30 struct clock_event_device *evt) in next_event()
45 struct clock_event_device *evt) in set_clock_mode()
50 static DEFINE_PER_CPU(struct clock_event_device, mn10300_clockevent_device);
55 struct clock_event_device *cd; in timer_interrupt()
69 static void event_handler(struct clock_event_device *dev) in event_handler()
85 struct clock_event_device *cd; in init_clockevents()
Dinternal.h15 struct clock_event_device;
/linux-4.1.27/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()
43 struct clock_event_device *clk) in dummy_timer_set_mode()
49 struct clock_event_device *clk = &per_cpu(local_clockevent, cpu); in local_timer_setup()
/linux-4.1.27/arch/arm/mach-footbridge/
Ddc21285-timer.c51 struct clock_event_device *c) in ckevt_dc21285_set_next_event()
61 struct clock_event_device *c) in ckevt_dc21285_set_mode()
80 static struct clock_event_device ckevt_dc21285 = {
92 struct clock_event_device *ce = dev_id; in timer1_interrupt()
117 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.1.27/arch/mips/alchemy/common/
Dtime.c61 struct clock_event_device *cd) in au1x_rtcmatch2_set_next_event()
73 struct clock_event_device *cd) in au1x_rtcmatch2_set_mode()
79 struct clock_event_device *cd = dev_id; in au1x_rtcmatch2_irq()
84 static struct clock_event_device au1x_rtcmatch2_clockdev = {
102 struct clock_event_device *cd = &au1x_rtcmatch2_clockdev; in alchemy_time_init()
/linux-4.1.27/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);
24 void mips_set_clock_mode(enum clock_event_mode, struct clock_event_device *);
Dtime.h80 static inline void clockevent_set_clock(struct clock_event_device *cd, in clockevent_set_clock()
/linux-4.1.27/arch/x86/xen/
Dtime.c278 struct clock_event_device *evt) in xen_timerop_set_mode()
298 struct clock_event_device *evt) in xen_timerop_set_next_event()
312 static const struct clock_event_device xen_timerop_clockevent = {
330 struct clock_event_device *evt) in xen_vcpuop_set_mode()
356 struct clock_event_device *evt) in xen_vcpuop_set_next_event()
374 static const struct clock_event_device xen_vcpuop_clockevent = {
389 static const struct clock_event_device *xen_clockevent =
393 struct clock_event_device evt;
400 struct clock_event_device *evt = this_cpu_ptr(&xen_clock_events.evt); in xen_timer_interrupt()
416 struct clock_event_device *evt; in xen_teardown_timer()
[all …]
/linux-4.1.27/arch/arc/kernel/
Dtime.c160 struct clock_event_device *dev) in arc_clkevent_set_next_event()
167 struct clock_event_device *dev) in arc_clkevent_set_mode()
186 static DEFINE_PER_CPU(struct clock_event_device, arc_clockevent_device) = {
202 struct clock_event_device *evt = this_cpu_ptr(&arc_clockevent_device); in timer_irq_handler()
222 struct clock_event_device *evt = this_cpu_ptr(&arc_clockevent_device); in arc_local_timer_setup()
/linux-4.1.27/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()
59 struct clock_event_device *evdev) in score_timer_set_mode()
77 static struct clock_event_device score_clockevent = {
/linux-4.1.27/arch/arm/mach-imx/
Depit.c59 static struct clock_event_device clockevent_epit;
98 struct clock_event_device *unused) in epit_set_next_event()
110 struct clock_event_device *evt) in epit_set_mode()
163 struct clock_event_device *evt = &clockevent_epit; in epit_timer_interrupt()
178 static struct clock_event_device clockevent_epit = {
Dtime.c82 static struct clock_event_device clockevent_mxc;
154 struct clock_event_device *unused) in mx1_2_set_next_event()
167 struct clock_event_device *unused) in v2_set_next_event()
191 struct clock_event_device *evt) in mxc_set_mode()
256 struct clock_event_device *evt = &clockevent_mxc; in mxc_timer_interrupt()
277 static struct clock_event_device clockevent_mxc = {
/linux-4.1.27/arch/arm/mach-omap1/
Dtimer32k.c110 struct clock_event_device *dev) in omap_32k_timer_set_next_event()
118 struct clock_event_device *evt) in omap_32k_timer_set_mode()
135 static struct clock_event_device clockevent_32k_timer = {
144 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()
128 struct clock_event_device *evt) in omap_mpu_set_mode()
145 static struct clock_event_device clockevent_mpu_timer1 = {
154 struct clock_event_device *evt = &clockevent_mpu_timer1; in omap_mpu_timer1_interrupt()
/linux-4.1.27/arch/arm/mach-spear/
Dtime.c70 struct clock_event_device *clk_event_dev);
72 struct clock_event_device *clk_event_dev);
98 static struct clock_event_device clkevt = {
107 struct clock_event_device *clk_event_dev) in clockevent_set_mode()
147 struct clock_event_device *clk_event_dev) in clockevent_next_event()
164 struct clock_event_device *evt = &clkevt; in spear_timer_interrupt()
/linux-4.1.27/arch/arm/mach-netx/
Dtime.c38 struct clock_event_device *clk) in netx_set_mode()
74 struct clock_event_device *clk) in netx_set_next_event()
80 static struct clock_event_device netx_clockevent = {
93 struct clock_event_device *evt = &netx_clockevent; in netx_timer_interrupt()
/linux-4.1.27/arch/arm/mach-lpc32xx/
Dtimer.c35 struct clock_event_device *dev) in lpc32xx_clkevt_next_event()
47 struct clock_event_device *dev) in lpc32xx_clkevt_mode()
70 static struct clock_event_device lpc32xx_clkevt = {
80 struct clock_event_device *evt = &lpc32xx_clkevt; in lpc32xx_timer_interrupt()
/linux-4.1.27/arch/openrisc/kernel/
Dtime.c31 struct clock_event_device *dev) in openrisc_timer_set_next_event()
52 struct clock_event_device *evt) in openrisc_timer_set_mode()
80 static struct clock_event_device clockevent_openrisc_timer = {
110 struct clock_event_device *evt = &clockevent_openrisc_timer; in timer_interrupt()
/linux-4.1.27/arch/arm/kernel/
Dsmp_twd.c36 static struct clock_event_device __percpu *twd_evt;
40 struct clock_event_device *clk) in twd_set_mode()
65 struct clock_event_device *unused) in twd_set_next_event()
95 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_stop()
233 struct clock_event_device *evt = dev_id; in twd_handler()
272 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_setup()
332 twd_evt = alloc_percpu(struct clock_event_device); in twd_local_timer_common_register()
/linux-4.1.27/arch/tile/kernel/
Dtime.c131 struct clock_event_device *evt) in tile_timer_set_next_event()
144 struct clock_event_device *evt) in tile_timer_set_mode()
153 static DEFINE_PER_CPU(struct clock_event_device, tile_timer) = {
165 struct clock_event_device *evt = this_cpu_ptr(&tile_timer); in setup_tile_timer()
185 struct clock_event_device *evt = this_cpu_ptr(&tile_timer); in do_timer_interrupt()
238 struct clock_event_device *dev = raw_cpu_ptr(&tile_timer); in ns2cycles()
/linux-4.1.27/arch/sparc/kernel/
Dtime_32.c58 static struct clock_event_device timer_ce;
62 DEFINE_PER_CPU(struct clock_event_device, sparc32_clockevent);
113 struct clock_event_device *evt) in timer_ce_set_mode()
131 struct clock_event_device *ce = &timer_ce; in setup_timer_ce()
195 struct clock_event_device *evt) in percpu_ce_setup()
215 struct clock_event_device *evt) in percpu_ce_set_next_event()
226 struct clock_event_device *ce = &per_cpu(sparc32_clockevent, cpu); in register_percpu_ce()
Dtime_64.c686 struct clock_event_device *evt) in sparc64_next_event()
692 struct clock_event_device *evt) in sparc64_timer_setup()
710 static struct clock_event_device sparc64_clockevent = {
718 static DEFINE_PER_CPU(struct clock_event_device, sparc64_events);
725 struct clock_event_device *evt = &per_cpu(sparc64_events, cpu); in timer_interrupt()
747 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.1.27/arch/avr32/kernel/
Dtime.c44 struct clock_event_device *evdev = dev_id; in timer_interrupt()
67 struct clock_event_device *evdev) in comparator_next_event()
84 struct clock_event_device *evdev) in comparator_mode()
115 static struct clock_event_device comparator = {
/linux-4.1.27/arch/mips/jz4740/
Dtime.c54 struct clock_event_device *cd = devid; in jz4740_clockevent_irq()
67 struct clock_event_device *cd) in jz4740_clockevent_set_mode()
87 struct clock_event_device *cd) in jz4740_clockevent_set_next()
96 static struct clock_event_device jz4740_clockevent = {
/linux-4.1.27/arch/m68k/coldfire/
Dpit.c46 struct clock_event_device *evt) in init_cf_pit_timer()
84 struct clock_event_device *evt) in cf_pit_next_event()
90 struct clock_event_device cf_pit_clockevent = {
105 struct clock_event_device *evt = &cf_pit_clockevent; in pit_tick()
/linux-4.1.27/arch/arm/mach-w90x900/
Dtime.c52 struct clock_event_device *clk) in nuc900_clockevent_setmode()
79 struct clock_event_device *clk) in nuc900_clockevent_setnextevent()
92 static struct clock_event_device nuc900_clockevent_device = {
104 struct clock_event_device *evt = &nuc900_clockevent_device; in nuc900_timer0_interrupt()
/linux-4.1.27/arch/arm/plat-iop/
Dtime.c66 struct clock_event_device *unused) in iop_set_next_event()
81 struct clock_event_device *unused) in iop_set_mode()
109 static struct clock_event_device iop_clockevent = {
120 struct clock_event_device *evt = dev_id; in iop_timer_interrupt()
/linux-4.1.27/arch/x86/platform/uv/
Duv_time.c34 static int uv_rtc_next_event(unsigned long, struct clock_event_device *);
36 struct clock_event_device *);
46 static struct clock_event_device clock_event_device_uv = {
57 static DEFINE_PER_CPU(struct clock_event_device, cpu_ced);
316 struct clock_event_device *ced) in uv_rtc_next_event()
327 struct clock_event_device *evt) in uv_rtc_timer_setup()
347 struct clock_event_device *ced = &per_cpu(cpu_ced, cpu); in uv_rtc_interrupt()
368 struct clock_event_device *ced = this_cpu_ptr(&cpu_ced); in uv_rtc_register_clockevents()
/linux-4.1.27/arch/mips/loongson1/common/
Dtime.c121 struct clock_event_device *cd = devid; in ls1x_clockevent_isr()
130 struct clock_event_device *cd) in ls1x_clockevent_set_mode()
152 struct clock_event_device *cd) in ls1x_clockevent_set_next()
162 static struct clock_event_device ls1x_clockevent = {
180 struct clock_event_device *cd = &ls1x_clockevent; in ls1x_time_init()
/linux-4.1.27/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()
50 puv3_osmr0_set_mode(enum clock_event_mode mode, struct clock_event_device *c) in puv3_osmr0_set_mode()
66 static struct clock_event_device ckevt_puv3_osmr0 = {
/linux-4.1.27/arch/arm/mach-ks8695/
Dtime.c58 struct clock_event_device *evt) in ks8695_set_mode()
82 struct clock_event_device *evt) in ks8695_set_next_event()
104 static struct clock_event_device clockevent_ks8695 = {
117 struct clock_event_device *evt = &clockevent_ks8695; in ks8695_timer_interrupt()
/linux-4.1.27/arch/mips/sni/
Dtime.c18 struct clock_event_device *evt) in a20r_set_mode()
46 static struct clock_event_device a20r_clockevent_device = {
59 struct clock_event_device *cd = dev_id; in a20r_interrupt()
81 struct clock_event_device *cd = &a20r_clockevent_device; in sni_a20r_timer_setup()
/linux-4.1.27/arch/mips/jazz/
Dirq.c114 struct clock_event_device *evt) in r4030_set_mode()
119 struct clock_event_device r4030_clockevent = {
129 struct clock_event_device *cd = dev_id; in r4030_timer_interrupt()
143 struct clock_event_device *cd = &r4030_clockevent; in plat_time_init()
/linux-4.1.27/arch/mips/sgi-ip27/
Dip27-timer.c54 static int rt_next_event(unsigned long delta, struct clock_event_device *evt) in rt_next_event()
68 struct clock_event_device *evt) in rt_set_mode()
75 static DEFINE_PER_CPU(struct clock_event_device, hub_rt_clockevent);
81 struct clock_event_device *cd = &per_cpu(hub_rt_clockevent, cpu); in hub_rt_counter_handler()
113 struct clock_event_device *cd = &per_cpu(hub_rt_clockevent, cpu); in hub_rt_clock_event_init()
/linux-4.1.27/arch/c6x/platforms/
Dtimer64.c123 struct clock_event_device *evt) in next_event()
130 struct clock_event_device *evt) in set_clock_mode()
152 static struct clock_event_device t64_clockevent_device = {
162 struct clock_event_device *cd = &t64_clockevent_device; in timer_interrupt()
178 struct clock_event_device *cd = &t64_clockevent_device; in timer64_init()
/linux-4.1.27/arch/mips/loongson/loongson-3/
Dhpet.c17 DEFINE_PER_CPU(struct clock_event_device, hpet_clockevent_device);
82 struct clock_event_device *evt) in hpet_set_mode()
133 struct clock_event_device *evt) in hpet_next_event()
149 struct clock_event_device *cd; in hpet_irq_handler()
201 struct clock_event_device *cd; in setup_hpet_timer()
/linux-4.1.27/arch/arm/mach-gemini/
Dtime.c41 struct clock_event_device *evt) in gemini_timer_set_next_event()
63 struct clock_event_device *evt) in gemini_timer_set_mode()
99 static struct clock_event_device gemini_clockevent = {
112 struct clock_event_device *evt = &gemini_clockevent; in gemini_timer_interrupt()
/linux-4.1.27/arch/nios2/kernel/
Dtime.c40 struct clock_event_device ced;
49 to_nios2_clkevent(struct clock_event_device *evt) in to_nios2_clkevent()
155 struct clock_event_device *evt) in nios2_timer_set_next_event()
165 struct clock_event_device *evt) in nios2_timer_set_mode()
189 struct clock_event_device *evt = (struct clock_event_device *) dev_id; in timer_interrupt()
/linux-4.1.27/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()
128 struct clock_event_device *dev) in timer_set_mode()
147 static struct clock_event_device ckevt = {
/linux-4.1.27/arch/um/kernel/
Dtime.c26 struct clock_event_device *evt) in itimer_set_mode()
45 struct clock_event_device *evt) in itimer_next_event()
50 static struct clock_event_device itimer_clockevent = {
/linux-4.1.27/arch/arm/common/
Dtimer-sp.c120 struct clock_event_device *evt = dev_id; in sp804_timer_interrupt()
131 struct clock_event_device *evt) in sp804_set_mode()
158 struct clock_event_device *evt) in sp804_set_next_event()
168 static struct clock_event_device sp804_clockevent = {
185 struct clock_event_device *evt = &sp804_clockevent; in __sp804_clockevents_init()
/linux-4.1.27/arch/mips/loongson/common/cs5536/
Dcs5536_mfgpt.c55 struct clock_event_device *evt) in init_mfgpt_timer()
84 static struct clock_event_device mfgpt_clockevent = {
124 struct clock_event_device *cd = &mfgpt_clockevent; in setup_mfgpt0_timer()
/linux-4.1.27/arch/x86/kernel/
Dhpet.c47 struct clock_event_device evt;
55 inline struct hpet_dev *EVT_TO_HPET_DEV(struct clock_event_device *evtdev) in EVT_TO_HPET_DEV()
229 struct clock_event_device *evt);
231 struct clock_event_device *evt);
236 static struct clock_event_device hpet_clockevent = {
311 struct clock_event_device *evt, int timer) in hpet_set_mode()
371 struct clock_event_device *evt, int timer) in hpet_next_event()
408 struct clock_event_device *evt) in hpet_legacy_set_mode()
414 struct clock_event_device *evt) in hpet_legacy_next_event()
463 struct clock_event_device *evt) in hpet_msi_set_mode()
[all …]
Di8253.c18 struct clock_event_device *global_clock_event;
/linux-4.1.27/arch/cris/arch-v32/kernel/
Dtime.c176 struct clock_event_device *dev) in crisv32_clkevt_mode()
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.1.27/arch/microblaze/kernel/
Dtimer.c118 struct clock_event_device *dev) in xilinx_timer_set_next_event()
126 struct clock_event_device *evt) in xilinx_timer_set_mode()
149 static struct clock_event_device clockevent_xilinx_timer = {
165 struct clock_event_device *evt = &clockevent_xilinx_timer; in timer_interrupt()
/linux-4.1.27/arch/arm/plat-orion/
Dtime.c73 orion_clkevt_next_event(unsigned long delta, struct clock_event_device *dev) in orion_clkevt_next_event()
110 orion_clkevt_mode(enum clock_event_mode mode, struct clock_event_device *dev) in orion_clkevt_mode()
157 static struct clock_event_device orion_clkevt = {
/linux-4.1.27/arch/arm/mach-cns3xxx/
Dcore.c117 struct clock_event_device *clk) in cns3xxx_timer_set_mode()
143 struct clock_event_device *unused) in cns3xxx_timer_set_next_event()
153 static struct clock_event_device cns3xxx_tmr1_clockevent = {
175 struct clock_event_device *evt = &cns3xxx_tmr1_clockevent; in cns3xxx_timer_interrupt()
/linux-4.1.27/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()
307 struct clock_event_device *evt) in davinci_set_mode()
332 static struct clock_event_device clockevent_davinci = {
/linux-4.1.27/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()
525 struct clock_event_device *evt) in ixp4xx_set_mode()
555 static struct clock_event_device clockevent_ixp4xx = {
/linux-4.1.27/arch/powerpc/kernel/
Dtime.c101 struct clock_event_device *dev);
103 struct clock_event_device *dev);
105 struct clock_event_device decrementer_clockevent = {
116 static DEFINE_PER_CPU(struct clock_event_device, decrementers);
487 struct clock_event_device *evt = this_cpu_ptr(&decrementers); in __timer_interrupt()
853 struct clock_event_device *dev) in decrementer_set_next_event()
866 struct clock_event_device *dev) in decrementer_set_mode()
883 struct clock_event_device *dec = &per_cpu(decrementers, cpu); in register_decrementer_clockevent()
/linux-4.1.27/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()
106 struct clock_event_device *evt) in omap2_gp_timer_set_mode()
132 static struct clock_event_device clockevent_gpt = {
/linux-4.1.27/arch/x86/include/asm/
Dtime.h10 extern struct clock_event_device *global_clock_event;
/linux-4.1.27/drivers/hv/
Dhv.c270 struct clock_event_device *evt) in hv_ce_set_next_event()
283 struct clock_event_device *evt) in hv_ce_setmode()
309 static void hv_init_clockevent_device(struct clock_event_device *dev, int cpu) in hv_init_clockevent_device()
329 size_t ced_size = sizeof(struct clock_event_device); in hv_synic_alloc()
Dhyperv_vmbus.h553 struct clock_event_device *clk_evt[NR_CPUS];
Dvmbus_drv.c628 struct clock_event_device *dev = hv_context.clk_evt[cpu]; in hv_process_timer_expiration()
/linux-4.1.27/arch/sparc/include/asm/
Dtimer_32.h40 DECLARE_PER_CPU(struct clock_event_device, sparc32_clockevent);
/linux-4.1.27/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()
476 struct clock_event_device *evt) in lapic_timer_setup()
522 static struct clock_event_device lapic_clockevent = {
533 static DEFINE_PER_CPU(struct clock_event_device, lapic_events);
541 struct clock_event_device *levt = this_cpu_ptr(&lapic_events); in setup_APIC_timer()
595 static void __init lapic_cal_handler(struct clock_event_device *dev) in lapic_cal_handler()
676 struct clock_event_device *levt = this_cpu_ptr(&lapic_events); in calibrate_APIC_clock()
677 void (*real_handler)(struct clock_event_device *dev); in calibrate_APIC_clock()
872 struct clock_event_device *evt = &per_cpu(lapic_events, cpu); in local_apic_timer_interrupt()
/linux-4.1.27/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.1.27/arch/powerpc/include/asm/
Dtime.h26 extern struct clock_event_device decrementer_clockevent;
/linux-4.1.27/arch/s390/kernel/
Dtime.c59 static DEFINE_PER_CPU(struct clock_event_device, comparators);
93 struct clock_event_device *cd; in clock_comparator_work()
113 struct clock_event_device *evt) in s390_next_event()
121 struct clock_event_device *evt) in s390_set_mode()
131 struct clock_event_device *cd; in init_cpu_timer()
/linux-4.1.27/arch/x86/lguest/
Dboot.c972 struct clock_event_device *evt) in lguest_clockevent_set_next_event()
989 struct clock_event_device *evt) in lguest_clockevent_set_mode()
1008 static struct clock_event_device lguest_clockevent = {