/linux-2.4.37.9/net/x25/ |
D | x25_timer.c | 47 del_timer(&sk->timer); in x25_start_heartbeat() 49 sk->timer.data = (unsigned long)sk; in x25_start_heartbeat() 50 sk->timer.function = &x25_heartbeat_expiry; in x25_start_heartbeat() 51 sk->timer.expires = jiffies + 5 * HZ; in x25_start_heartbeat() 53 add_timer(&sk->timer); in x25_start_heartbeat() 58 del_timer(&sk->timer); in x25_stop_heartbeat() 63 del_timer(&sk->protinfo.x25->timer); in x25_start_t2timer() 65 sk->protinfo.x25->timer.data = (unsigned long)sk; in x25_start_t2timer() 66 sk->protinfo.x25->timer.function = &x25_timer_expiry; in x25_start_t2timer() 67 sk->protinfo.x25->timer.expires = jiffies + sk->protinfo.x25->t2; in x25_start_t2timer() [all …]
|
/linux-2.4.37.9/net/rose/ |
D | rose_timer.c | 46 del_timer(&sk->timer); in rose_start_heartbeat() 48 sk->timer.data = (unsigned long)sk; in rose_start_heartbeat() 49 sk->timer.function = &rose_heartbeat_expiry; in rose_start_heartbeat() 50 sk->timer.expires = jiffies + 5 * HZ; in rose_start_heartbeat() 52 add_timer(&sk->timer); in rose_start_heartbeat() 57 del_timer(&sk->protinfo.rose->timer); in rose_start_t1timer() 59 sk->protinfo.rose->timer.data = (unsigned long)sk; in rose_start_t1timer() 60 sk->protinfo.rose->timer.function = &rose_timer_expiry; in rose_start_t1timer() 61 sk->protinfo.rose->timer.expires = jiffies + sk->protinfo.rose->t1; in rose_start_t1timer() 63 add_timer(&sk->protinfo.rose->timer); in rose_start_t1timer() [all …]
|
/linux-2.4.37.9/drivers/net/skfp/ |
D | smttimer.c | 48 void smt_timer_stop(smc,timer) in smt_timer_stop() argument 50 struct smt_timer *timer ; 58 timer->tm_active = FALSE ; 59 if (smc->t.st_queue == timer && !timer->tm_next) { 63 if (tm == timer) { 73 void smt_timer_start(smc,timer,time,token) in smt_timer_start() argument 75 struct smt_timer *timer ; 86 smt_timer_stop(smc,timer) ; 87 timer->tm_smc = smc ; 88 timer->tm_token = token ; [all …]
|
/linux-2.4.37.9/drivers/sound/emu10k1/ |
D | timer.c | 62 void emu10k1_timer_install(struct emu10k1_card *card, struct emu_timer *timer, u16 delay) in emu10k1_timer_install() argument 71 timer->delay = delay; in emu10k1_timer_install() 72 timer->state = TIMER_STATE_INSTALLED; in emu10k1_timer_install() 76 timer->count_max = timer->delay / (card->timer_delay < 1024 ? card->timer_delay : 1024); in emu10k1_timer_install() 77 timer->count = timer->count_max - 1; in emu10k1_timer_install() 79 list_add(&timer->list, &card->timers); in emu10k1_timer_install() 107 void emu10k1_timer_uninstall(struct emu10k1_card *card, struct emu_timer *timer) in emu10k1_timer_uninstall() argument 114 if (timer->state == TIMER_STATE_UNINSTALLED) in emu10k1_timer_uninstall() 119 list_del(&timer->list); in emu10k1_timer_uninstall() 151 timer->state = TIMER_STATE_UNINSTALLED; in emu10k1_timer_uninstall() [all …]
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | geode-mfgpt.c | 43 int geode_mfgpt_toggle_event(int timer, int cmp, int event, int setup) in geode_mfgpt_toggle_event() argument 48 if (timer < 0 || timer >= MFGPT_MAX_TIMERS) in geode_mfgpt_toggle_event() 54 mask = 1 << (timer + 24); in geode_mfgpt_toggle_event() 59 mask = 1 << (timer + shift); in geode_mfgpt_toggle_event() 64 mask = 1 << (timer + shift); in geode_mfgpt_toggle_event() 184 static int mfgpt_get(int timer) in mfgpt_get() argument 186 mfgpt_timers[timer].avail = 0; in mfgpt_get() 187 printk(KERN_INFO "geode-mfgpt: Registered timer %d\n", timer); in mfgpt_get() 188 return timer; in mfgpt_get() 191 int geode_mfgpt_alloc_timer(int timer, int domain) in geode_mfgpt_alloc_timer() argument [all …]
|
/linux-2.4.37.9/include/linux/ |
D | timer.h | 23 extern void add_timer(struct timer_list * timer); 24 extern int del_timer(struct timer_list * timer); 27 extern int del_timer_sync(struct timer_list * timer); 41 int mod_timer(struct timer_list *timer, unsigned long expires); 45 static inline void init_timer(struct timer_list * timer) in init_timer() argument 47 timer->list.next = timer->list.prev = NULL; in init_timer() 50 static inline int timer_pending (const struct timer_list * timer) in timer_pending() argument 52 return timer->list.next != NULL; in timer_pending()
|
/linux-2.4.37.9/include/linux/sunrpc/ |
D | timer.h | 23 extern void rpc_update_rtt(struct rpc_rtt *rt, int timer, long m); 24 extern long rpc_calc_rto(struct rpc_rtt *rt, int timer); 26 static inline void rpc_set_timeo(struct rpc_rtt *rt, int timer, int ntimeo) in rpc_set_timeo() argument 29 if (!timer) in rpc_set_timeo() 31 t = &rt->ntimeouts[timer-1]; in rpc_set_timeo() 42 static inline int rpc_ntimeo(struct rpc_rtt *rt, int timer) in rpc_ntimeo() argument 44 if (!timer) in rpc_ntimeo() 46 return rt->ntimeouts[timer-1]; in rpc_ntimeo()
|
/linux-2.4.37.9/kernel/ |
D | timer.c | 124 static inline void internal_add_timer(struct timer_list *timer) in internal_add_timer() argument 129 unsigned long expires = timer->expires; in internal_add_timer() 157 INIT_LIST_HEAD(&timer->list); in internal_add_timer() 163 list_add(&timer->list, vec->prev); in internal_add_timer() 180 void add_timer(struct timer_list *timer) in add_timer() argument 185 if (timer_pending(timer)) in add_timer() 187 internal_add_timer(timer); in add_timer() 196 static inline int detach_timer (struct timer_list *timer) in detach_timer() argument 198 if (!timer_pending(timer)) in detach_timer() 200 list_del(&timer->list); in detach_timer() [all …]
|
/linux-2.4.37.9/arch/mips/tx4927/toshiba_rbtx4927/ |
D | toshiba_rbtx4927_led.c | 36 struct timer_list timer; member 51 l->timer.expires = jiffies + HZ; in led_toggle() 52 add_timer(&l->timer); in led_toggle() 64 led_state.timer.data = (unsigned long) &led_state; in led_setup() 65 led_state.timer.expires = jiffies + HZ; in led_setup() 66 init_timer(&led_state.timer); in led_setup() 67 led_state.timer.function = led_toggle; in led_setup() 68 add_timer(&led_state.timer); in led_setup()
|
/linux-2.4.37.9/drivers/char/ |
D | geode-rng.c | 28 static struct timer_list timer; variable 60 timer.expires = jiffies + RNG_INTERVAL; in geode_rng_timer() 61 add_timer(&timer); in geode_rng_timer() 94 init_timer(&timer); in geode_rng_init() 95 timer.function = geode_rng_timer; in geode_rng_init() 96 timer.data = 0; in geode_rng_init() 97 timer.expires = jiffies + RNG_INTERVAL; in geode_rng_init() 98 add_timer(&timer); in geode_rng_init() 106 del_timer_sync(&timer); in geode_rng_exit()
|
D | sbc60xxwdt.c | 107 static struct timer_list timer; variable 126 timer.expires = jiffies + WDT_INTERVAL; in wdt_timer_ping() 127 add_timer(&timer); in wdt_timer_ping() 142 timer.expires = jiffies + WDT_INTERVAL; in wdt_startup() 143 add_timer(&timer); in wdt_startup() 150 del_timer(&timer); in wdt_turnoff() 223 del_timer(&timer); in fop_close() 316 init_timer(&timer); in sbc60xxwdt_init() 317 timer.function = wdt_timer_ping; in sbc60xxwdt_init() 318 timer.data = 0; in sbc60xxwdt_init()
|
D | w83877f_wdt.c | 90 static struct timer_list timer; variable 114 timer.expires = jiffies + WDT_INTERVAL; in wdt_timer_ping() 115 add_timer(&timer); in wdt_timer_ping() 155 timer.expires = jiffies + WDT_INTERVAL; in wdt_startup() 156 add_timer(&timer); in wdt_startup() 166 del_timer(&timer); in wdt_turnoff() 242 del_timer(&timer); in fop_close() 334 init_timer(&timer); in w83877f_wdt_init() 335 timer.function = wdt_timer_ping; in w83877f_wdt_init() 336 timer.data = 0; in w83877f_wdt_init()
|
D | sc520_wdt.c | 108 static struct timer_list timer; variable 141 timer.expires = jiffies + WDT_INTERVAL; in wdt_timer_ping() 142 add_timer(&timer); in wdt_timer_ping() 175 timer.expires = jiffies + WDT_INTERVAL; in wdt_startup() 176 add_timer(&timer); in wdt_startup() 186 del_timer(&timer); in wdt_turnoff() 254 del_timer(&timer); in fop_close() 345 init_timer(&timer); in sc520_wdt_init() 346 timer.function = wdt_timer_ping; in sc520_wdt_init() 347 timer.data = 0; in sc520_wdt_init()
|
D | alim7101_wdt.c | 76 static struct timer_list timer; variable 112 timer.expires = jiffies + WDT_INTERVAL; in wdt_timer_ping() 113 add_timer(&timer); in wdt_timer_ping() 141 timer.expires = jiffies + WDT_INTERVAL; in wdt_startup() 142 add_timer(&timer); in wdt_startup() 151 del_timer_sync(&timer); in wdt_turnoff() 324 init_timer(&timer); in alim7101_wdt_init() 325 timer.function = wdt_timer_ping; in alim7101_wdt_init() 326 timer.data = 1; in alim7101_wdt_init()
|
/linux-2.4.37.9/arch/mips/gt64120/common/ |
D | time.c | 66 static struct irqaction timer; in gt64120_time_init() local 78 timer.handler = gt64120_irq; in gt64120_time_init() 79 timer.flags = SA_SHIRQ | SA_INTERRUPT; in gt64120_time_init() 80 timer.name = "timer"; in gt64120_time_init() 81 timer.dev_id = NULL; in gt64120_time_init() 82 timer.next = NULL; in gt64120_time_init() 83 timer.mask = 0; in gt64120_time_init() 84 irq_desc[GT_TIMER].action = &timer; in gt64120_time_init()
|
/linux-2.4.37.9/net/sunrpc/ |
D | timer.c | 29 rpc_update_rtt(struct rpc_rtt *rt, int timer, long m) in rpc_update_rtt() argument 33 if (timer-- == 0) in rpc_update_rtt() 38 srtt = &rt->srtt[timer]; in rpc_update_rtt() 43 sdrtt = &rt->sdrtt[timer]; in rpc_update_rtt() 65 rpc_calc_rto(struct rpc_rtt *rt, int timer) in rpc_calc_rto() argument 68 if (timer-- == 0) in rpc_calc_rto() 70 res = (rt->srtt[timer] >> 3) + rt->sdrtt[timer]; in rpc_calc_rto()
|
/linux-2.4.37.9/net/decnet/ |
D | dn_timer.c | 40 sk->timer.expires = jiffies + SLOW_INTERVAL; in dn_start_slow_timer() 41 sk->timer.function = dn_slow_timer; in dn_start_slow_timer() 42 sk->timer.data = (unsigned long)sk; in dn_start_slow_timer() 44 add_timer(&sk->timer); in dn_start_slow_timer() 49 del_timer(&sk->timer); in dn_stop_slow_timer() 61 sk->timer.expires = jiffies + HZ / 10; in dn_slow_timer() 62 add_timer(&sk->timer); in dn_slow_timer() 104 sk->timer.expires = jiffies + SLOW_INTERVAL; in dn_slow_timer() 106 add_timer(&sk->timer); in dn_slow_timer()
|
/linux-2.4.37.9/drivers/isdn/divert/ |
D | isdn_divert.c | 24 struct timer_list timer; /* timer control structure */ member 59 del_timer(&cs->timer); /* delete active timer */ in deflect_timer_expire() 69 cs->timer.expires = jiffies + (HZ * AUTODEL_TIME); in deflect_timer_expire() 70 add_timer(&cs->timer); in deflect_timer_expire() 82 cs->timer.expires = jiffies + (HZ * AUTODEL_TIME); in deflect_timer_expire() 83 add_timer(&cs->timer); in deflect_timer_expire() 157 init_timer(&cs->timer); in cf_command() 159 cs->timer.function = deflect_timer_expire; in cf_command() 160 cs->timer.data = (ulong) cs; /* pointer to own structure */ in cf_command() 225 del_timer(&cs->timer); in deflect_extern_action() [all …]
|
/linux-2.4.37.9/Documentation/mips/ |
D | time.README | 52 d) high-level and low-level timer interrupt routines where the timer 53 interrupt source may or may not be the CPU timer. The high-level 71 2. set up the irqaction for timer interrupt. 72 3. enable the timer interrupt 77 is using CPU counter for timer interrupt or it is using fixed rate 90 If the answer is no, you need a timer to provide the timer interrupt 104 Do you plan to use the CPU counter register as the timer interrupt 105 or use an exnternal timer? 107 In order to use CPU counter register as the timer interrupt source, you 111 d) decide on whether you want to use high-level or low-level timer [all …]
|
/linux-2.4.37.9/arch/mips/momentum/ocelot_g/ |
D | gt-irq.c | 243 static struct irqaction timer; in gt64240_time_init() local 256 timer.handler = >64240_p0int_irq; in gt64240_time_init() 257 timer.flags = SA_SHIRQ | SA_INTERRUPT; in gt64240_time_init() 258 timer.name = "timer"; in gt64240_time_init() 259 timer.dev_id = NULL; in gt64240_time_init() 260 timer.next = NULL; in gt64240_time_init() 261 timer.mask = 0; in gt64240_time_init() 262 irq_desc[6].action = &timer; in gt64240_time_init()
|
/linux-2.4.37.9/net/ax25/ |
D | ax25_timer.c | 58 del_timer(&ax25->timer); in ax25_start_heartbeat() 60 ax25->timer.data = (unsigned long)ax25; in ax25_start_heartbeat() 61 ax25->timer.function = &ax25_heartbeat_expiry; in ax25_start_heartbeat() 62 ax25->timer.expires = jiffies + 5 * HZ; in ax25_start_heartbeat() 64 add_timer(&ax25->timer); in ax25_start_heartbeat() 117 del_timer(&ax25->timer); in ax25_stop_heartbeat() 145 unsigned long ax25_display_timer(struct timer_list *timer) in ax25_display_timer() argument 147 if (!timer_pending(timer)) in ax25_display_timer() 150 return timer->expires - jiffies; in ax25_display_timer()
|
/linux-2.4.37.9/arch/mips/lasat/ |
D | picvue_proc.c | 26 static struct timer_list timer; variable 92 del_timer(&timer); in pvc_proc_write_scroll() 105 add_timer(&timer); in pvc_proc_write_scroll() 133 timer.expires = jiffies + scroll_interval; in pvc_proc_timerfunc() 134 add_timer(&timer); in pvc_proc_timerfunc() 145 del_timer(&timer); in pvc_proc_cleanup() 175 init_timer(&timer); in pvc_proc_init() 176 timer.function = pvc_proc_timerfunc; in pvc_proc_init()
|
/linux-2.4.37.9/drivers/net/tulip/ |
D | pnic2.c | 96 mod_timer(&tp->timer, RUN_AT(next_tick)); in pnic2_timer() 330 del_timer_sync(&tp->timer); in pnic2_lnk_change() 332 tp->timer.expires = RUN_AT(3*HZ); in pnic2_lnk_change() 333 add_timer(&tp->timer); in pnic2_lnk_change() 355 del_timer_sync(&tp->timer); in pnic2_lnk_change() 357 tp->timer.expires = RUN_AT(3*HZ); in pnic2_lnk_change() 358 add_timer(&tp->timer); in pnic2_lnk_change() 379 del_timer_sync(&tp->timer); in pnic2_lnk_change() 381 tp->timer.expires = RUN_AT(3*HZ); in pnic2_lnk_change() 382 add_timer(&tp->timer); in pnic2_lnk_change()
|
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ipt_ULOG.c | 88 struct timer_list timer; /* the timer function */ member 101 if (timer_pending(&ub->timer)) { in ulog_send() 103 del_timer(&ub->timer); in ulog_send() 253 if (!timer_pending(&ub->timer)) { in ipt_ulog_target() 254 ub->timer.expires = jiffies + flushtimeout; in ipt_ulog_target() 255 add_timer(&ub->timer); in ipt_ulog_target() 327 init_timer(&ulog_buffers[i].timer); in init() 328 ulog_buffers[i].timer.function = ulog_timer; in init() 329 ulog_buffers[i].timer.data = i; in init() 357 if (timer_pending(&ub->timer)) { in fini() [all …]
|
/linux-2.4.37.9/net/sched/ |
D | estimator.c | 90 struct timer_list timer; member 126 mod_timer(&elist[idx].timer, jiffies + ((HZ<<idx)/4)); in est_timer() 156 init_timer(&elist[est->interval].timer); in qdisc_new_estimator() 157 elist[est->interval].timer.data = est->interval; in qdisc_new_estimator() 158 elist[est->interval].timer.expires = jiffies + ((HZ<<est->interval)/4); in qdisc_new_estimator() 159 elist[est->interval].timer.function = est_timer; in qdisc_new_estimator() 160 add_timer(&elist[est->interval].timer); in qdisc_new_estimator() 190 del_timer(&elist[idx].timer); in qdisc_kill_estimator()
|