/asus-wl-520gu-7.0.1.45/src/router/rcamdmips/ |
H A D | gtimer.h | 43 void g_timer_destroy (GTimer *timer); 44 void g_timer_start (GTimer *timer); 45 void g_timer_stop (GTimer *timer); 46 void g_timer_reset (GTimer *timer); 47 void g_timer_continue (GTimer *timer); 48 gdouble g_timer_elapsed (GTimer *timer,
|
H A D | gtimer.c | 65 GRealTimer *timer; local 67 timer = g_new (GRealTimer, 1); 68 timer->active = TRUE; 71 timer->start = GetTickCount (); 73 gettimeofday (&timer->start, NULL); 76 return ((GTimer*) timer); 80 g_timer_destroy (GTimer *timer) argument 82 g_return_if_fail (timer != NULL); 84 g_free (timer); 88 g_timer_start (GTimer *timer) argument 105 g_timer_stop(GTimer *timer) argument 122 g_timer_reset(GTimer *timer) argument 138 g_timer_elapsed(GTimer *timer, gulong *microseconds) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/library/libupnp-1.2.1/threadutil/src/ |
H A D | TimerThread.c | 46 FreeTimerEvent( TimerThread * timer, argument 50 assert( timer != NULL ); 52 FreeListFree( &timer->freeEvents, event ); 59 * Implements timer thread. 69 TimerThread *timer = ( TimerThread * ) arg; local 80 assert( timer != NULL ); 82 ithread_mutex_lock( &timer->mutex ); 91 if( timer->shutdown ) 94 timer->shutdown = 0; 95 ithread_cond_signal( &timer 198 CreateTimerEvent( TimerThread * timer, ThreadPoolJob * job, Duration persistent, time_t eventTime, int id ) argument 237 TimerThreadInit( TimerThread * timer, ThreadPool * tp ) argument 320 TimerThreadSchedule( TimerThread * timer, time_t timeout, TimeoutType type, ThreadPoolJob * job, Duration duration, int *id ) argument 413 TimerThreadRemove( TimerThread * timer, int id, ThreadPoolJob * out ) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/ |
H A 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); 36 * active timer (if the timer is inactive it will be activated) 38 * If the timer is known to be not pending (ie, in the handler), mod_timer 41 int mod_timer(struct timer_list *timer, unsigned long expires); 45 static inline void init_timer(struct timer_list * timer) argument 47 timer->list.next = timer 50 timer_pending(const struct timer_list * timer) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/ |
H A 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); 36 * active timer (if the timer is inactive it will be activated) 38 * If the timer is known to be not pending (ie, in the handler), mod_timer 41 int mod_timer(struct timer_list *timer, unsigned long expires); 45 static inline void init_timer(struct timer_list * timer) argument 47 timer->list.next = timer 50 timer_pending(const struct timer_list * timer) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/sunrpc/ |
H A D | timer.c | 7 #include <linux/sunrpc/timer.h> 29 rpc_update_rtt(struct rpc_rtt *rt, int timer, long m) argument 33 if (timer-- == 0) 38 srtt = &rt->srtt[timer]; 43 sdrtt = &rt->sdrtt[timer]; 56 * happen so infrequently that timer est. would probably be stale. 65 rpc_calc_rto(struct rpc_rtt *rt, int timer) argument 68 if (timer-- == 0) 70 res = (rt->srtt[timer] >> 3) + rt->sdrtt[timer]; [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/x25/ |
H A D | x25_timer.c | 17 * X.25 002 Jonathan Naylor New timer architecture. 27 #include <linux/timer.h> 47 del_timer(&sk->timer); 49 sk->timer.data = (unsigned long)sk; 50 sk->timer.function = &x25_heartbeat_expiry; 51 sk->timer.expires = jiffies + 5 * HZ; 53 add_timer(&sk->timer); 58 del_timer(&sk->timer); 63 del_timer(&sk->protinfo.x25->timer); 65 sk->protinfo.x25->timer [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/skfp/ |
H A D | smttimer.c | 18 SMT timer 48 void smt_timer_stop(smc,timer) 50 struct smt_timer *timer ; 56 * remove timer from queue 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) 75 struct smt_timer *timer ; [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/rose/ |
H A D | rose_timer.c | 14 * ROSE 003 Jonathan(G4KLX) New timer architecture. 15 * Implemented idle timer. 24 #include <linux/timer.h> 46 del_timer(&sk->timer); 48 sk->timer.data = (unsigned long)sk; 49 sk->timer.function = &rose_heartbeat_expiry; 50 sk->timer.expires = jiffies + 5 * HZ; 52 add_timer(&sk->timer); 57 del_timer(&sk->protinfo.rose->timer); 59 sk->protinfo.rose->timer [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/emu10k1/ |
H A D | timer.c | 4 * timer.c 27 /* 3/6/2000 Improved support for different timer delays Rui Sousa */ 29 /* 4/3/2000 Implemented timer list using list.h Rui Sousa */ 34 #include "timer.h" 62 void emu10k1_timer_install(struct emu10k1_card *card, struct emu_timer *timer, u16 delay) argument 71 timer->delay = delay; 72 timer->state = TIMER_STATE_INSTALLED; 76 timer->count_max = timer->delay / (card->timer_delay < 1024 ? card->timer_delay : 1024); 77 timer 107 emu10k1_timer_uninstall(struct emu10k1_card *card, struct emu_timer *timer) argument 156 emu10k1_timer_enable(struct emu10k1_card *card, struct emu_timer *timer) argument 167 emu10k1_timer_disable(struct emu10k1_card *card, struct emu_timer *timer) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/sunrpc/ |
H A D | types.h | 12 #include <linux/timer.h>
|
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, int timer, long m); 24 extern long rpc_calc_rto(struct rpc_rtt *rt, int timer);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/sunrpc/ |
H A D | types.h | 12 #include <linux/timer.h>
|
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, int timer, long m); 24 extern long rpc_calc_rto(struct rpc_rtt *rt, int timer);
|
/asus-wl-520gu-7.0.1.45/src/router/library/libupnp-1.2.1/threadutil/inc/ |
H A D | TimerThread.h | 56 * A timer thread similar to the one in the Upnp SDK that allows 58 * Because the timer thread uses the thread pool there is no 81 * Struct to contain information for a timer event. 100 * Initializes and starts timer thread. 103 * timer - valid timer thread pointer. 106 * of timer. Timer must be shutdown 113 int TimerThreadInit(TimerThread *timer, 124 * timer - valid timer threa [all...] |
/asus-wl-520gu-7.0.1.45/src/router/library/libupnp-1.2.1/upnp/inc/ |
H A D | TimerThread.h | 56 * A timer thread similar to the one in the Upnp SDK that allows 58 * Because the timer thread uses the thread pool there is no 81 * Struct to contain information for a timer event. 100 * Initializes and starts timer thread. 103 * timer - valid timer thread pointer. 106 * of timer. Timer must be shutdown 113 int TimerThreadInit(TimerThread *timer, 124 * timer - valid timer threa [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/decnet/ |
H A D | dn_timer.c | 12 * Steve Whitehouse : Made keepalive timer part of the same 13 * timer idea. 22 #include <linux/timer.h> 29 * Fast timer is for delayed acks (200mS max) 30 * Slow timer is for everything else (n * 500mS) 40 sk->timer.expires = jiffies + SLOW_INTERVAL; 41 sk->timer.function = dn_slow_timer; 42 sk->timer.data = (unsigned long)sk; 44 add_timer(&sk->timer); 49 del_timer(&sk->timer); [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ |
H A D | sbc60xxwdt.c | 63 #include <linux/timer.h> 107 static struct timer_list timer; variable in typeref:struct:timer_list 125 /* Re-set the timer interval */ 126 timer.expires = jiffies + WDT_INTERVAL; 127 add_timer(&timer); 141 /* Start the timer */ 142 timer.expires = jiffies + WDT_INTERVAL; 143 add_timer(&timer); 144 printk(OUR_NAME ": Watchdog timer is now enabled.\n"); 149 /* Stop the timer */ [all...] |
/asus-wl-520gu-7.0.1.45/src/tools/upnp/upnp/ |
H A D | upnp.c | 68 struct itimerspec timer; local 101 memset(&timer, 0, sizeof(timer)); 102 timer.it_interval.tv_sec = 30; 103 timer.it_value.tv_sec = 30; 104 td1 = enqueue_event(&timer, (event_callback_t)connection_reaper, NULL); 106 memset(&timer, 0, sizeof(timer)); 107 timer.it_interval.tv_sec = 30; 108 timer 397 struct itimerspec timer; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/tulip/ |
H A D | Makefile | 13 timer.o tulip_core.o \
|
/asus-wl-520gu-7.0.1.45/src/include/ |
H A D | sbhndmips.h | 42 uint32 timer; member in struct:__anon240
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/lasat/ |
H A D | picvue_proc.c | 15 #include <linux/timer.h> 26 static struct timer_list timer; variable in typeref:struct:timer_list 92 del_timer(&timer); 105 add_timer(&timer); 119 timer.expires = jiffies + scroll_interval; 120 add_timer(&timer); 131 del_timer(&timer); 160 init_timer(&timer); 161 timer.function = pvc_proc_timerfunc;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/kernel/ |
H A D | timer.c | 2 * linux/kernel/timer.c 32 long tick = (1000000 + HZ/2) / HZ; /* timer interrupt period */ 71 * Event timer code 120 static inline void internal_add_timer(struct timer_list *timer) argument 125 unsigned long expires = timer->expires; 144 /* can happen if you add a timer with expires == jiffies, 145 * or you set a timer to go off in the past 153 INIT_LIST_HEAD(&timer->list); 159 list_add(&timer->list, vec->prev); 176 void add_timer(struct timer_list *timer) argument 192 detach_timer(struct timer_list *timer) argument 200 mod_timer(struct timer_list *timer, unsigned long expires) argument 213 del_timer(struct timer_list * timer) argument 239 del_timer_sync(struct timer_list * timer) argument 305 struct timer_list *timer; local 328 struct timer_list *timer; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/galileo-boards/ev64120/ |
H A D | irq-handler.c | 106 * It could be timer interrupt, built in ethernet ports etc... 131 /* Check for timer interrupt */ 195 * Initializes timer using galileo's built in timer. 199 * irq - number of irq to be used by the timer 215 * This will ignore the standard MIPS timer interrupt handler that is passed 216 * in as *irq (=irq0 in ../kernel/time.c). We will do our own timer interrupt 222 static struct irqaction timer; local 224 /* Disable timer first */ 226 /* Load timer valu [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/gt64120/common/ |
H A D | gt_irq.c | 7 * Interrupt routines for gt64120. Currently it only handles timer irq. 102 * It could be timer interrupt, built in ethernet ports etc... 120 /* Check for timer interrupt */ 181 * Initializes timer using galileo's built in timer. 194 * This will ignore the standard MIPS timer interrupt handler 196 * We will do our own timer interrupt handling. 201 static struct irqaction timer; local 203 /* Disable timer first */ 205 /* Load timer valu [all...] |