/include/linux/ |
A D | hrtimer.h | 93 struct hrtimer timer; member 99 timer->node.expires = time; in hrtimer_set_expires() 100 timer->_softexpires = time; in hrtimer_set_expires() 105 timer->_softexpires = time; in hrtimer_set_expires_range() 123 timer->node.expires = ktime_add_safe(timer->node.expires, time); in hrtimer_add_expires() 124 timer->_softexpires = ktime_add_safe(timer->_softexpires, time); in hrtimer_add_expires() 129 timer->node.expires = ktime_add_ns(timer->node.expires, ns); in hrtimer_add_expires_ns() 130 timer->_softexpires = ktime_add_ns(timer->_softexpires, ns); in hrtimer_add_expires_ns() 159 return ktime_sub(timer->node.expires, timer->base->get_time()); in hrtimer_expires_remaining() 325 return timer->base->running == timer; in hrtimer_callback_running() [all …]
|
A D | timer.h | 70 void timer_init_key(struct timer_list *timer, 86 timer_init_key(timer, func, flags, name, key); in timer_init_key_on_stack() 120 #define timer_setup(timer, callback, flags) \ argument 121 __timer_init((timer), (callback), (flags)) 123 #define timer_setup_on_stack(timer, callback, flags) \ argument 124 __timer_init_on_stack((timer), (callback), (flags)) 147 return !hlist_unhashed_lockless(&timer->entry); in timer_pending() 161 extern void add_timer(struct timer_list *timer); 162 extern void add_timer_local(struct timer_list *timer); 167 extern int timer_delete(struct timer_list *timer); [all …]
|
A D | cs5535.h | 211 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()
|
A D | dw_apb_timer.h | 27 struct dw_apb_timer timer; member 32 struct dw_apb_timer timer; member
|
A D | posix-timers.h | 121 void posixtimer_free_timer(struct k_itimer *timer); 148 static inline void posixtimer_free_timer(struct k_itimer *timer) { } in posixtimer_free_timer() argument 215 struct hrtimer timer; member 254 static inline bool posixtimer_valid(const struct k_itimer *timer) in posixtimer_valid() argument 256 unsigned long val = (unsigned long)timer->it_signal; in posixtimer_valid()
|
A D | hpet.h | 103 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()
|
A D | if_eql.h | 48 struct timer_list timer; member
|
A D | rtc.h | 213 enum hrtimer_restart rtc_pie_update_irq(struct hrtimer *timer); 215 void rtc_timer_init(struct rtc_timer *timer, void (*f)(struct rtc_device *r), 217 int rtc_timer_start(struct rtc_device *rtc, struct rtc_timer *timer, 219 void rtc_timer_cancel(struct rtc_device *rtc, struct rtc_timer *timer);
|
A D | mISDNhw.h | 87 struct timer_list timer; member 148 struct timer_list timer; member
|
A D | kthread.h | 143 struct timer_list timer; member 153 .timer = __TIMER_INITIALIZER(kthread_delayed_work_timer_fn,\ 183 timer_setup(&(dwork)->timer, \
|
A D | alarmtimer.h | 38 struct hrtimer timer; member
|
A D | clocksource.h | 290 OF_DECLARE_1_RET(timer, name, compat, fn) 299 ACPI_DECLARE_PROBE_ENTRY(timer, name, table_id, 0, NULL, 0, fn)
|
A D | workqueue.h | 116 struct timer_list timer; member 247 .timer = __TIMER_INITIALIZER(delayed_work_timer_fn,\ 320 __timer_init(&(_work)->timer, \ 328 __timer_init_on_stack(&(_work)->timer, \
|
/include/linux/platform_data/ |
A D | dmtimer-omap.h | 17 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, 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); 38 int (*get_pwm_status)(struct omap_dm_timer *timer); 42 int (*write_counter)(struct omap_dm_timer *timer, [all …]
|
/include/linux/sunrpc/ |
A D | timer.h | 24 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/ |
A D | timer.h | 14 #define snd_timer_chip(timer) ((timer)->private_data) argument 48 int (*open) (struct snd_timer * timer); 49 int (*close) (struct snd_timer * timer); 50 unsigned long (*c_resolution) (struct snd_timer * timer); 51 int (*start) (struct snd_timer * timer); 52 int (*stop) (struct snd_timer * timer); 69 void (*private_free) (struct snd_timer *timer); 83 struct snd_timer *timer; member 118 int snd_timer_global_free(struct snd_timer *timer); 119 int snd_timer_global_register(struct snd_timer *timer); [all …]
|
A D | mpu401.h | 82 struct timer_list timer; member
|
/include/trace/events/ |
A D | timer.h | 3 #define TRACE_SYSTEM timer 16 TP_ARGS(timer), 19 __field( void *, timer ) 23 __entry->timer = timer; 37 TP_ARGS(timer) 60 __field( void *, timer ) 69 __entry->timer = timer; 96 TP_ARGS(timer, baseclk), 106 __entry->timer = timer; 131 TP_ARGS(timer) [all …]
|
A D | rtc.h | 161 TP_PROTO(struct rtc_timer *timer), 163 TP_ARGS(timer), 166 __field(struct rtc_timer *, timer) 172 __entry->timer = timer; 174 __entry->period = timer->period; 184 TP_PROTO(struct rtc_timer *timer), 186 TP_ARGS(timer) 191 TP_PROTO(struct rtc_timer *timer), 193 TP_ARGS(timer) 198 TP_PROTO(struct rtc_timer *timer), [all …]
|
/include/uapi/linux/netfilter/ |
A D | xt_IDLETIMER.h | 28 struct idletimer_tg *timer __attribute__((aligned(8))); member 40 struct idletimer_tg *timer __attribute__((aligned(8))); member
|
/include/linux/usb/ |
A D | otg-fsm.h | 198 void (*add_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer); 199 void (*del_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer); 280 static inline int otg_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer) in otg_add_timer() argument 284 fsm->ops->add_timer(fsm, timer); in otg_add_timer() 288 static inline int otg_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer) in otg_del_timer() argument 292 fsm->ops->del_timer(fsm, timer); in otg_del_timer()
|
/include/media/ |
A D | dmxdev.h | 149 struct timer_list timer; member
|
/include/acpi/ |
A D | ghes.h | 27 struct timer_list timer; member
|
/include/net/libeth/ |
A D | xdp.h | 219 void libeth_xdpsq_init_timer(struct libeth_xdpsq_timer *timer, void *xdpsq, 229 static inline void libeth_xdpsq_deinit_timer(struct libeth_xdpsq_timer *timer) in libeth_xdpsq_deinit_timer() argument 231 cancel_delayed_work_sync(&timer->dwork); in libeth_xdpsq_deinit_timer() 244 static inline void libeth_xdpsq_queue_timer(struct libeth_xdpsq_timer *timer) in libeth_xdpsq_queue_timer() argument 247 &timer->dwork, HZ); in libeth_xdpsq_queue_timer() 263 struct libeth_xdpsq_timer *timer = container_of(work, typeof(*timer), in libeth_xdpsq_run_timer() local 266 libeth_xdpsq_lock(timer->lock); in libeth_xdpsq_run_timer() 268 if (poll(timer->xdpsq, U32_MAX)) in libeth_xdpsq_run_timer() 269 libeth_xdpsq_queue_timer(timer); in libeth_xdpsq_run_timer() 271 libeth_xdpsq_unlock(timer->lock); in libeth_xdpsq_run_timer()
|
/include/scsi/ |
A D | libfcoe.h | 130 struct timer_list timer; member 365 struct timer_list timer; member
|