Home
last modified time | relevance | path

Searched refs:timer (Results 1 – 25 of 63) sorted by relevance

123

/include/linux/
Dhrtimer.h140 struct hrtimer timer; member
243 static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) in hrtimer_set_expires() argument
245 timer->node.expires = time; in hrtimer_set_expires()
246 timer->_softexpires = time; in hrtimer_set_expires()
249 static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) in hrtimer_set_expires_range() argument
251 timer->_softexpires = time; in hrtimer_set_expires_range()
252 timer->node.expires = ktime_add_safe(time, delta); in hrtimer_set_expires_range()
255 static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, u64 delta) in hrtimer_set_expires_range_ns() argument
257 timer->_softexpires = time; in hrtimer_set_expires_range_ns()
258 timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta)); in hrtimer_set_expires_range_ns()
[all …]
Dtimer.h95 void init_timer_key(struct timer_list *timer,
100 extern void init_timer_on_stack_key(struct timer_list *timer,
105 static inline void init_timer_on_stack_key(struct timer_list *timer, in init_timer_on_stack_key() argument
111 init_timer_key(timer, func, flags, name, key); in init_timer_on_stack_key()
145 #define timer_setup(timer, callback, flags) \ argument
146 __init_timer((timer), (callback), (flags))
148 #define timer_setup_on_stack(timer, callback, flags) \ argument
149 __init_timer_on_stack((timer), (callback), (flags))
152 extern void destroy_timer_on_stack(struct timer_list *timer);
154 static inline void destroy_timer_on_stack(struct timer_list *timer) { } in destroy_timer_on_stack() argument
[all …]
Dcs5535.h211 extern uint16_t cs5535_mfgpt_read(struct cs5535_mfgpt_timer *timer,
213 extern void cs5535_mfgpt_write(struct cs5535_mfgpt_timer *timer, uint16_t reg,
216 extern int cs5535_mfgpt_toggle_event(struct cs5535_mfgpt_timer *timer, int cmp,
218 extern int cs5535_mfgpt_set_irq(struct cs5535_mfgpt_timer *timer, int cmp,
220 extern struct cs5535_mfgpt_timer *cs5535_mfgpt_alloc_timer(int timer,
222 extern void cs5535_mfgpt_free_timer(struct cs5535_mfgpt_timer *timer);
224 static inline int cs5535_mfgpt_setup_irq(struct cs5535_mfgpt_timer *timer, in cs5535_mfgpt_setup_irq() argument
227 return cs5535_mfgpt_set_irq(timer, cmp, irq, 1); in cs5535_mfgpt_setup_irq()
230 static inline int cs5535_mfgpt_release_irq(struct cs5535_mfgpt_timer *timer, in cs5535_mfgpt_release_irq() argument
233 return cs5535_mfgpt_set_irq(timer, cmp, irq, 0); in cs5535_mfgpt_release_irq()
Ddw_apb_timer.h27 struct dw_apb_timer timer; member
32 struct dw_apb_timer timer; member
Dhpet.h103 static inline void hpet_reserve_timer(struct hpet_data *hd, int timer) in hpet_reserve_timer() argument
105 hd->hd_state |= (1 << timer); in hpet_reserve_timer()
Drtc.h215 enum hrtimer_restart rtc_pie_update_irq(struct hrtimer *timer);
217 void rtc_timer_init(struct rtc_timer *timer, void (*f)(struct rtc_device *r),
219 int rtc_timer_start(struct rtc_device *rtc, struct rtc_timer *timer,
221 void rtc_timer_cancel(struct rtc_device *rtc, struct rtc_timer *timer);
Dif_eql.h46 struct timer_list timer; member
Dkthread.h139 struct timer_list timer; member
155 .timer = __TIMER_INITIALIZER(kthread_delayed_work_timer_fn,\
201 timer_setup(&(dwork)->timer, \
DmISDNhw.h87 struct timer_list timer; member
148 struct timer_list timer; member
Dalarmtimer.h44 struct hrtimer timer; member
Dworkqueue.h116 struct timer_list timer; member
195 .timer = __TIMER_INITIALIZER(delayed_work_timer_fn,\
260 __init_timer(&(_work)->timer, \
268 __init_timer_on_stack(&(_work)->timer, \
Dclocksource.h283 OF_DECLARE_1_RET(timer, name, compat, fn)
292 ACPI_DECLARE_PROBE_ENTRY(timer, name, table_id, 0, NULL, 0, fn)
/include/clocksource/
Dtimer-ti-dm.h125 int omap_dm_timer_get_irq(struct omap_dm_timer *timer);
129 int omap_dm_timer_trigger(struct omap_dm_timer *timer);
255 static inline u32 __omap_dm_timer_read(struct omap_dm_timer *timer, u32 reg, in __omap_dm_timer_read() argument
259 while (readl_relaxed(timer->pend) & (reg >> WPSHIFT)) in __omap_dm_timer_read()
262 return readl_relaxed(timer->func_base + (reg & 0xff)); in __omap_dm_timer_read()
265 static inline void __omap_dm_timer_write(struct omap_dm_timer *timer, in __omap_dm_timer_write() argument
269 while (readl_relaxed(timer->pend) & (reg >> WPSHIFT)) in __omap_dm_timer_write()
272 writel_relaxed(val, timer->func_base + (reg & 0xff)); in __omap_dm_timer_write()
275 static inline void __omap_dm_timer_init_regs(struct omap_dm_timer *timer) in __omap_dm_timer_init_regs() argument
280 tidr = readl_relaxed(timer->io_base); in __omap_dm_timer_init_regs()
[all …]
/include/linux/platform_data/
Ddmtimer-omap.h17 int (*free)(struct omap_dm_timer *timer);
19 void (*enable)(struct omap_dm_timer *timer);
20 void (*disable)(struct omap_dm_timer *timer);
22 int (*get_irq)(struct omap_dm_timer *timer);
23 int (*set_int_enable)(struct omap_dm_timer *timer,
25 int (*set_int_disable)(struct omap_dm_timer *timer, u32 mask);
27 struct clk *(*get_fclk)(struct omap_dm_timer *timer);
29 int (*start)(struct omap_dm_timer *timer);
30 int (*stop)(struct omap_dm_timer *timer);
31 int (*set_source)(struct omap_dm_timer *timer, int source);
[all …]
/include/linux/sunrpc/
Dtimer.h24 extern void rpc_update_rtt(struct rpc_rtt *rt, unsigned timer, long m);
25 extern unsigned long rpc_calc_rto(struct rpc_rtt *rt, unsigned timer);
27 static inline void rpc_set_timeo(struct rpc_rtt *rt, int timer, int ntimeo) in rpc_set_timeo() argument
30 if (!timer) in rpc_set_timeo()
32 t = &rt->ntimeouts[timer-1]; in rpc_set_timeo()
43 static inline int rpc_ntimeo(struct rpc_rtt *rt, int timer) in rpc_ntimeo() argument
45 if (!timer) in rpc_ntimeo()
47 return rt->ntimeouts[timer-1]; in rpc_ntimeo()
/include/sound/
Dtimer.h15 #define snd_timer_chip(timer) ((timer)->private_data) argument
49 int (*open) (struct snd_timer * timer);
50 int (*close) (struct snd_timer * timer);
51 unsigned long (*c_resolution) (struct snd_timer * timer);
52 int (*start) (struct snd_timer * timer);
53 int (*stop) (struct snd_timer * timer);
54 int (*set_period) (struct snd_timer * timer, unsigned long period_num, unsigned long period_den);
55 int (*precise_resolution) (struct snd_timer * timer, unsigned long *num, unsigned long *den);
72 void (*private_free) (struct snd_timer *timer);
88 struct snd_timer *timer; member
[all …]
Dmpu401.h82 struct timer_list timer; member
/include/trace/events/
Dtimer.h3 #define TRACE_SYSTEM timer
14 TP_PROTO(struct timer_list *timer),
16 TP_ARGS(timer),
19 __field( void *, timer )
23 __entry->timer = timer;
26 TP_printk("timer=%p", __entry->timer)
35 TP_PROTO(struct timer_list *timer),
37 TP_ARGS(timer)
54 TP_PROTO(struct timer_list *timer,
58 TP_ARGS(timer, expires, flags),
[all …]
Drtc.h161 TP_PROTO(struct rtc_timer *timer),
163 TP_ARGS(timer),
166 __field(struct rtc_timer *, timer)
172 __entry->timer = timer;
173 __entry->expires = timer->node.expires;
174 __entry->period = timer->period;
178 __entry->timer, __entry->expires, __entry->period
184 TP_PROTO(struct rtc_timer *timer),
186 TP_ARGS(timer)
191 TP_PROTO(struct rtc_timer *timer),
[all …]
/include/uapi/linux/netfilter/
Dxt_IDLETIMER.h28 struct idletimer_tg *timer __attribute__((aligned(8))); member
40 struct idletimer_tg *timer __attribute__((aligned(8))); member
/include/linux/usb/
Dotg-fsm.h211 void (*add_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer);
212 void (*del_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer);
293 static inline int otg_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer) in otg_add_timer() argument
297 fsm->ops->add_timer(fsm, timer); in otg_add_timer()
301 static inline int otg_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer) in otg_del_timer() argument
305 fsm->ops->del_timer(fsm, timer); in otg_del_timer()
/include/trace/hooks/
Dtimer.h3 #define TRACE_SYSTEM timer
/include/media/
Ddmxdev.h150 struct timer_list timer; member
/include/acpi/
Dghes.h27 struct timer_list timer; member
/include/scsi/
Dlibfcoe.h129 struct timer_list timer; member
356 struct timer_list timer; member

123