/include/linux/ |
H A D | hrtimer.h | 24 #include <linux/timer.h> 50 * Values to track state of the timer 57 * 0x04 timer is migrated to another cpu 62 * 0x05 timer was migrated on CPU hotunplug 65 * SMP. It happens for example when a posix timer expired and the callback 66 * queued a signal. Between dropping the lock which protects the posix timer 68 * signal and rearm the timer. We have to preserve the callback running state, 69 * as otherwise the timer could be removed before the softirq code finishes the 70 * the handling of the timer. 75 * necessary. HRTIMER_STATE_MIGRATE is cleared after the timer i 129 struct hrtimer timer; member in struct:hrtimer_sleeper 193 hrtimer_set_expires(struct hrtimer *timer, ktime_t time) argument 199 hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) argument 205 hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, unsigned long delta) argument 211 hrtimer_set_expires_tv64(struct hrtimer *timer, s64 tv64) argument 217 hrtimer_add_expires(struct hrtimer *timer, ktime_t time) argument 223 hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) argument 229 hrtimer_get_expires(const struct hrtimer *timer) argument 234 hrtimer_get_softexpires(const struct hrtimer *timer) argument 239 hrtimer_get_expires_tv64(const struct hrtimer *timer) argument 243 hrtimer_get_softexpires_tv64(const struct hrtimer *timer) argument 248 hrtimer_get_expires_ns(const struct hrtimer *timer) argument 253 hrtimer_expires_remaining(const struct hrtimer *timer) argument 266 hrtimer_cb_get_time(struct hrtimer *timer) argument 271 hrtimer_is_hres_active(struct hrtimer *timer) argument 300 hrtimer_cb_get_time(struct hrtimer *timer) argument 305 hrtimer_is_hres_active(struct hrtimer *timer) argument 339 hrtimer_init_on_stack(struct hrtimer *timer, clockid_t which_clock, enum hrtimer_mode mode) argument 345 destroy_hrtimer_on_stack(struct hrtimer *timer) argument 361 hrtimer_start_expires(struct hrtimer *timer, enum hrtimer_mode mode) argument 372 hrtimer_restart(struct hrtimer *timer) argument 388 hrtimer_active(const struct hrtimer *timer) argument 396 hrtimer_is_queued(struct hrtimer *timer) argument 405 hrtimer_callback_running(struct hrtimer *timer) argument 415 hrtimer_forward_now(struct hrtimer *timer, ktime_t interval) argument [all...] |
H A D | timer.h | 54 * indicate whether the timer is deferrable. 56 * A deferrable timer will work normally when the system is busy, but 58 * the timer will be serviced when the CPU eventually wakes up with a 59 * subsequent non-deferrable timer. 91 void init_timer_key(struct timer_list *timer, 94 void init_timer_deferrable_key(struct timer_list *timer, 99 #define init_timer(timer) \ 102 init_timer_key((timer), #timer, &__key); \ 105 #define init_timer_deferrable(timer) \ 157 destroy_timer_on_stack(struct timer_list *timer) argument 158 init_timer_on_stack_key(struct timer_list *timer, const char *name, struct lock_class_key *key) argument 166 setup_timer_key(struct timer_list * timer, const char *name, struct lock_class_key *key, void (*function)(unsigned long), unsigned long data) argument 177 setup_timer_on_stack_key(struct timer_list *timer, const char *name, struct lock_class_key *key, void (*function)(unsigned long), unsigned long data) argument 204 timer_pending(const struct timer_list * timer) argument 250 timer_stats_timer_set_start_info(struct timer_list *timer) argument 257 timer_stats_timer_clear_start_info(struct timer_list *timer) argument 266 timer_stats_timer_set_start_info(struct timer_list *timer) argument 270 timer_stats_timer_clear_start_info(struct timer_list *timer) argument [all...] |
H A D | alarmtimer.h | 27 * struct alarm - Alarm timer structure 31 * @function: Function pointer to be executed when the timer fires. 56 static inline int alarmtimer_active(const struct alarm *timer) argument 58 return timer->state != ALARMTIMER_STATE_INACTIVE; 62 * Helper function to check, whether the timer is on one of the queues 64 static inline int alarmtimer_is_queued(struct alarm *timer) argument 66 return timer->state & ALARMTIMER_STATE_ENQUEUED; 70 * Helper function to check, whether the timer is running the callback 73 static inline int alarmtimer_callback_running(struct alarm *timer) argument 75 return timer [all...] |
H A D | i2c-pnx.h | 22 struct timer_list timer; /* Timeout */ member in struct:i2c_pnx_mif
|
H A D | cs5535.h | 213 extern uint16_t cs5535_mfgpt_read(struct cs5535_mfgpt_timer *timer, 215 extern void cs5535_mfgpt_write(struct cs5535_mfgpt_timer *timer, uint16_t reg, 218 extern int cs5535_mfgpt_toggle_event(struct cs5535_mfgpt_timer *timer, int cmp, 220 extern int cs5535_mfgpt_set_irq(struct cs5535_mfgpt_timer *timer, int cmp, 222 extern struct cs5535_mfgpt_timer *cs5535_mfgpt_alloc_timer(int timer, 224 extern void cs5535_mfgpt_free_timer(struct cs5535_mfgpt_timer *timer); 226 static inline int cs5535_mfgpt_setup_irq(struct cs5535_mfgpt_timer *timer, argument 229 return cs5535_mfgpt_set_irq(timer, cmp, irq, 1); 232 static inline int cs5535_mfgpt_release_irq(struct cs5535_mfgpt_timer *timer, argument 235 return cs5535_mfgpt_set_irq(timer, cm [all...] |
H A D | dw_apb_timer.h | 30 struct dw_apb_timer timer; member in struct:dw_apb_clock_event_device 36 struct dw_apb_timer timer; member in struct:dw_apb_clocksource
|
H A D | if_eql.h | 38 #include <linux/timer.h> 61 struct timer_list timer; member in struct:equalizer
|
H A D | workqueue.h | 8 #include <linux/timer.h> 94 struct timer_list timer; member in struct:delayed_work 127 .timer = TIMER_INITIALIZER(NULL, 0, 0), \ 132 .timer = TIMER_DEFERRED_INITIALIZER(NULL, 0, 0), \ 209 init_timer(&(_work)->timer); \ 215 init_timer_on_stack(&(_work)->timer); \ 221 init_timer_deferrable(&(_work)->timer); \ 414 ret = del_timer_sync(&work->timer); 422 * if it returns 0 the timer function may be running and the queueing is in 429 ret = del_timer(&work->timer); [all...] |
H A D | mISDNhw.h | 23 #include <linux/timer.h> 94 struct timer_list timer; member in struct:dchannel 151 struct timer_list timer; member in struct:bchannel
|
H A D | posix-timers.h | 55 /* POSIX.1b interval timer structure. */ 59 clockid_t it_clock; /* which timer type */ 60 timer_t it_id; /* timer id */ 63 int it_requeue_pending; /* waiting to requeue this timer */ 74 struct hrtimer timer; member in struct:k_itimer::__anon1109::__anon1110 98 int (*timer_create) (struct k_itimer *timer); 116 /* function to call to trigger timer event */ 119 void posix_cpu_timer_schedule(struct k_itimer *timer);
|
H A D | hpet.h | 27 union { /* timer compare register */ 99 unsigned int hd_state; /* timer allocated */ 103 static inline void hpet_reserve_timer(struct hpet_data *hd, int timer) argument 105 hd->hd_state |= (1 << timer); 129 #define MAX_HPET_TBS 8 /* maximum hpet timer blocks */
|
H A D | padata.h | 27 #include <linux/timer.h> 124 * @timer: Reorder timer. 137 struct timer_list timer; member in struct:parallel_data
|
H A D | rtc.h | 259 enum hrtimer_restart rtc_pie_update_irq(struct hrtimer *timer); 265 void rtc_timer_init(struct rtc_timer *timer, void (*f)(void* p), void* data); 266 int rtc_timer_start(struct rtc_device *rtc, struct rtc_timer* timer, 268 int rtc_timer_cancel(struct rtc_device *rtc, struct rtc_timer* timer);
|
H A D | serial_pnx8xxx.h | 28 struct timer_list timer; member in struct:pnx8xxx_port
|
/include/linux/sunrpc/ |
H A D | timer.h | 2 * linux/include/linux/sunrpc/timer.h 4 * Declarations for the RPC transport timer. 23 extern void rpc_update_rtt(struct rpc_rtt *rt, unsigned timer, long m); 24 extern unsigned long rpc_calc_rto(struct rpc_rtt *rt, unsigned timer); 26 static inline void rpc_set_timeo(struct rpc_rtt *rt, int timer, int ntimeo) argument 29 if (!timer) 31 t = &rt->ntimeouts[timer-1]; 42 static inline int rpc_ntimeo(struct rpc_rtt *rt, int timer) argument 44 if (!timer) 46 return rt->ntimeouts[timer [all...] |
H A D | types.h | 12 #include <linux/timer.h>
|
/include/sound/ |
H A D | timer.h | 29 #define snd_timer_chip(timer) ((timer)->private_data) 37 #define SNDRV_TIMER_HW_SLAVE 0x00000004 /* only slave timer (variable resolution) */ 39 #define SNDRV_TIMER_HW_TASKLET 0x00000010 /* timer is called from tasklet */ 46 #define SNDRV_TIMER_IFLG_CALLBACK 0x00000020 /* timer callback is active */ 58 unsigned long resolution; /* average timer resolution for one tick in nsec */ 61 unsigned long ticks; /* max timer ticks per interrupt */ 63 int (*open) (struct snd_timer * timer); 64 int (*close) (struct snd_timer * timer); 65 unsigned long (*c_resolution) (struct snd_timer * timer); 96 struct snd_timer *timer; member in struct:snd_timer_instance [all...] |
/include/trace/events/ |
H A D | timer.h | 2 #define TRACE_SYSTEM timer 9 #include <linux/timer.h> 13 TP_PROTO(struct timer_list *timer), 15 TP_ARGS(timer), 18 __field( void *, timer ) 22 __entry->timer = timer; 25 TP_printk("timer=%p", __entry->timer) 29 * timer_init - called when the timer i [all...] |
/include/linux/netfilter/ |
H A D | xt_IDLETIMER.h | 4 * Header file for Xtables timer target module. 50 struct idletimer_tg *timer __attribute__((aligned(8))); member in struct:idletimer_tg_info
|
/include/net/ |
H A D | dn_dev.h | 55 * t2 - Rate limit timer, min time between routing and hello messages 56 * t3 - Hello timer, send hello messages when it expires 62 * timer3() - Called once for each ifaddr when timer 3 goes off 91 struct timer_list timer; member in struct:dn_dev 132 __le16 timer; member in struct:endnode_hello_message 146 __le16 timer; member in struct:rtnode_hello_message
|
H A D | llc_conn.h | 14 #include <linux/timer.h> 28 struct timer_list timer; member in struct:llc_timer 29 unsigned long expire; /* timer expire time */
|
H A D | inet_frag.h | 21 struct timer_list timer; /* when will this queue expire? */ member in struct:inet_frag_queue
|
/include/net/irda/ |
H A D | ircomm_tty.h | 36 #include <linux/timer.h>
|
H A D | iriap.h | 35 #include <net/irda/timer.h> /* struct timer_list */
|
H A D | timer.h | 3 * Filename: timer.h 30 #include <linux/timer.h> 50 * Normally twice of p-timer. Note 3, IrLAP 6.3.11.2 - p. 60 suggests 51 * at least twice duration of the P-timer. 59 * Slot timer must never exceed 85 ms, and must always be at least 25 ms, 83 /* Set new value for timer (update or add timer).
|