/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/rtc/ |
H A D | rtc-wm8350.c | 18 #include <linux/time.h> 36 * Read current time and date in RTC 45 * Read the time twice and compare. 46 * If time1 == time2, then time is valid else retry. 90 dev_err(dev, "timed out reading RTC time\n"); 95 * Set current time and date in RTC 100 u16 time[4]; local 104 time[0] = tm->tm_sec; 105 time[0] |= tm->tm_min << WM8350_RTC_MINS_SHIFT; 106 time[ 150 u16 time[4]; local 254 u16 time[3]; local [all...] |
H A D | rtc-ds3232.c | 76 "time unreliable\n"); 99 static int ds3232_read_time(struct device *dev, struct rtc_time *time) argument 131 time->tm_sec = bcd2bin(second); 132 time->tm_min = bcd2bin(minute); 136 time->tm_hour = bcd2bin(hour & 0x1F) + 12; 138 time->tm_hour = bcd2bin(hour & 0x1F); 140 time->tm_hour = bcd2bin(hour); 143 time->tm_wday = bcd2bin(week); 144 time->tm_mday = bcd2bin(day); 145 time 154 ds3232_set_time(struct device *dev, struct rtc_time *time) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/core/seq/oss/ |
H A D | seq_oss_writeq.c | 97 abstime_t time; local 99 time = snd_seq_oss_timer_cur_tick(dp->timer); 100 if (q->sync_time >= time) 111 ev.time.tick = time; 116 rec->t.time = time; 125 if (! q->sync_event_put || q->sync_time >= time) 134 snd_seq_oss_writeq_wakeup(struct seq_oss_writeq *q, abstime_t time) argument 139 q->sync_time = time; [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/core/seq/oss/ |
H A D | seq_oss_writeq.c | 97 abstime_t time; local 99 time = snd_seq_oss_timer_cur_tick(dp->timer); 100 if (q->sync_time >= time) 111 ev.time.tick = time; 116 rec->t.time = time; 125 if (! q->sync_event_put || q->sync_time >= time) 134 snd_seq_oss_writeq_wakeup(struct seq_oss_writeq *q, abstime_t time) argument 139 q->sync_time = time; [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openvpn/src/openvpn/ |
H A D | packet_id.c | 123 * If time value increases, start a new 127 || pin->time > p->time 131 p->time = pin->time; 155 p->time = pin->time; 212 if (pin->time == p->time) 246 else if (pin->time < [all...] |
H A D | packet_id.h | 137 time_t time; /* highest time stamp received */ member in struct:packet_id_rec 150 * of time/id 156 time_t time; /* time stamp */ member in struct:packet_id_persist 164 time_t time; /* time stamp */ member in struct:packet_id_persist_file_image 175 time_t time; member in struct:packet_id_send 194 * In addition, time is converted to 204 time_t time; /* converte member in struct:packet_id_net [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openvpn/src/openvpn/ |
H A D | packet_id.c | 123 * If time value increases, start a new 127 || pin->time > p->time 131 p->time = pin->time; 155 p->time = pin->time; 212 if (pin->time == p->time) 246 else if (pin->time < [all...] |
H A D | packet_id.h | 137 time_t time; /* highest time stamp received */ member in struct:packet_id_rec 150 * of time/id 156 time_t time; /* time stamp */ member in struct:packet_id_persist 164 time_t time; /* time stamp */ member in struct:packet_id_persist_file_image 175 time_t time; member in struct:packet_id_send 194 * In addition, time is converted to 204 time_t time; /* converte member in struct:packet_id_net [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openvpn/src/openvpn/ |
H A D | packet_id.c | 123 * If time value increases, start a new 127 || pin->time > p->time 131 p->time = pin->time; 155 p->time = pin->time; 212 if (pin->time == p->time) 246 else if (pin->time < [all...] |
H A D | packet_id.h | 137 time_t time; /* highest time stamp received */ member in struct:packet_id_rec 150 * of time/id 156 time_t time; /* time stamp */ member in struct:packet_id_persist 164 time_t time; /* time stamp */ member in struct:packet_id_persist_file_image 175 time_t time; member in struct:packet_id_send 194 * In addition, time is converted to 204 time_t time; /* converte member in struct:packet_id_net [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/rtc/ |
H A D | rtc-ds3232.c | 76 "time unreliable\n"); 99 static int ds3232_read_time(struct device *dev, struct rtc_time *time) argument 131 time->tm_sec = bcd2bin(second); 132 time->tm_min = bcd2bin(minute); 136 time->tm_hour = bcd2bin(hour & 0x1F) + 12; 138 time->tm_hour = bcd2bin(hour & 0x1F); 140 time->tm_hour = bcd2bin(hour); 143 time->tm_wday = bcd2bin(week); 144 time->tm_mday = bcd2bin(day); 145 time 154 ds3232_set_time(struct device *dev, struct rtc_time *time) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/gpu/drm/radeon/ |
H A D | radeon_benchmark.c | 38 unsigned long time; local 92 time = end_jiffies - start_jiffies; 93 time = jiffies_to_msecs(time); 94 if (time > 0) { 95 i = ((n * size) >> 10) / time; 99 sdomain, ddomain, time, 121 time = end_jiffies - start_jiffies; 122 time = jiffies_to_msecs(time); [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/gpu/drm/radeon/ |
H A D | radeon_benchmark.c | 38 unsigned long time; local 92 time = end_jiffies - start_jiffies; 93 time = jiffies_to_msecs(time); 94 if (time > 0) { 95 i = ((n * size) >> 10) / time; 99 sdomain, ddomain, time, 121 time = end_jiffies - start_jiffies; 122 time = jiffies_to_msecs(time); [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/skfp/ |
H A D | hwt.c | 52 * u_long time) ; 56 * time - The time in units of 16us to load the timer with. 63 void hwt_start(struct s_smc *smc, u_long time) argument 67 if (time > HWT_MAX) 68 time = HWT_MAX ; 70 smc->hw.t_start = time ; 73 cnt = (u_short)time ; 75 * if time < 16 us 76 * time 202 u_long time ; local 207 outpd(ADDR(B2_TI_INI),time) ; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/skfp/ |
H A D | hwt.c | 52 * u_long time) ; 56 * time - The time in units of 16us to load the timer with. 63 void hwt_start(struct s_smc *smc, u_long time) argument 67 if (time > HWT_MAX) 68 time = HWT_MAX ; 70 smc->hw.t_start = time ; 73 cnt = (u_short)time ; 75 * if time < 16 us 76 * time 202 u_long time ; local 207 outpd(ADDR(B2_TI_INI),time) ; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/snooper/ |
H A D | timer.c | 27 #include <time.h> 28 #include <sys/time.h> 45 unsigned long time; member in struct:__anon10238 53 inline void time_to_timeval(unsigned long time, struct timeval *tv) argument 55 tv->tv_sec = time / TIMER_HZ; 56 tv->tv_usec = (time % TIMER_HZ) * 1000000L / TIMER_HZ; 67 unsigned long time; local 74 time = (unsigned long) tp.tv_sec * TIMER_HZ + tp.tv_nsec / (1000000000 / TIMER_HZ); 77 time = (unsigned long) times(&dummy); 80 return time; [all...] |
H A D | cache.c | 50 unsigned long time; member in struct:host_entry 65 unsigned long time; member in struct:member_entry 77 unsigned long time; member in struct:group_entry 98 static struct host_entry *get_host(unsigned char *ea, unsigned long time) argument 120 if (time_before(host->time, time)) 143 unsigned long time = now(); local 146 host = get_host(haddr, time); 147 if (host && time_after_eq(host->time, time)) { 326 unsigned long expires, time = now(); local 426 unsigned long time = now(); local 510 unsigned long time = now() + timeout; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/snooper/ |
H A D | timer.c | 27 #include <time.h> 28 #include <sys/time.h> 45 unsigned long time; member in struct:__anon146 53 inline void time_to_timeval(unsigned long time, struct timeval *tv) argument 55 tv->tv_sec = time / TIMER_HZ; 56 tv->tv_usec = (time % TIMER_HZ) * 1000000L / TIMER_HZ; 67 unsigned long time; local 74 time = (unsigned long) tp.tv_sec * TIMER_HZ + tp.tv_nsec / (1000000000 / TIMER_HZ); 77 time = (unsigned long) times(&dummy); 80 return time; [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/snooper/ |
H A D | timer.c | 27 #include <time.h> 28 #include <sys/time.h> 45 unsigned long time; member in struct:__anon44263 53 inline void time_to_timeval(unsigned long time, struct timeval *tv) argument 55 tv->tv_sec = time / TIMER_HZ; 56 tv->tv_usec = (time % TIMER_HZ) * 1000000L / TIMER_HZ; 67 unsigned long time; local 74 time = (unsigned long) tp.tv_sec * TIMER_HZ + tp.tv_nsec / (1000000000 / TIMER_HZ); 77 time = (unsigned long) times(&dummy); 80 return time; [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/libiberty/ |
H A D | pex-unix.c | 52 #include <sys/time.h> 84 time that it took. This is simple if we have wait4, slightly 93 struct pex_time *time) 99 if (time == NULL) 105 if (time != NULL) 107 time->user_seconds = r.ru_utime.tv_sec; 108 time->user_microseconds= r.ru_utime.tv_usec; 109 time->system_seconds = r.ru_stime.tv_sec; 110 time->system_microseconds= r.ru_stime.tv_usec; 124 struct pex_time *time) 92 pex_wait(struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, struct pex_time *time) argument 123 pex_wait(struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, struct pex_time *time) argument 134 pex_wait(struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, struct pex_time *time) argument 179 struct pex_time time; member in struct:status_list 183 pex_wait(struct pex_obj *obj, pid_t pid, int *status, struct pex_time *time) argument 477 pex_unix_wait(struct pex_obj *obj, pid_t pid, int *status, struct pex_time *time, int done, const char **errmsg, int *err) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/libiberty/ |
H A D | pex-unix.c | 52 #include <sys/time.h> 84 time that it took. This is simple if we have wait4, slightly 93 struct pex_time *time) 99 if (time == NULL) 105 if (time != NULL) 107 time->user_seconds = r.ru_utime.tv_sec; 108 time->user_microseconds= r.ru_utime.tv_usec; 109 time->system_seconds = r.ru_stime.tv_sec; 110 time->system_microseconds= r.ru_stime.tv_usec; 124 struct pex_time *time) 92 pex_wait(struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, struct pex_time *time) argument 123 pex_wait(struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, struct pex_time *time) argument 134 pex_wait(struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, struct pex_time *time) argument 179 struct pex_time time; member in struct:status_list 183 pex_wait(struct pex_obj *obj, pid_t pid, int *status, struct pex_time *time) argument 477 pex_unix_wait(struct pex_obj *obj, pid_t pid, int *status, struct pex_time *time, int done, const char **errmsg, int *err) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/libiberty/ |
H A D | pex-unix.c | 52 #include <sys/time.h> 84 time that it took. This is simple if we have wait4, slightly 93 struct pex_time *time) 99 if (time == NULL) 105 if (time != NULL) 107 time->user_seconds = r.ru_utime.tv_sec; 108 time->user_microseconds= r.ru_utime.tv_usec; 109 time->system_seconds = r.ru_stime.tv_sec; 110 time->system_microseconds= r.ru_stime.tv_usec; 124 struct pex_time *time) 92 pex_wait(struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, struct pex_time *time) argument 123 pex_wait(struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, struct pex_time *time) argument 134 pex_wait(struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, struct pex_time *time) argument 179 struct pex_time time; member in struct:status_list 183 pex_wait(struct pex_obj *obj, pid_t pid, int *status, struct pex_time *time) argument 477 pex_unix_wait(struct pex_obj *obj, pid_t pid, int *status, struct pex_time *time, int done, const char **errmsg, int *err) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/examples/libsmbclient/ |
H A D | testread.c | 5 #include <time.h> 44 t0 = time(NULL); 70 t1 = time(NULL); 72 printf("Elapsed time: %d seconds\n", t1 - t0);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/examples/libsmbclient/ |
H A D | testread.c | 5 #include <time.h> 44 t0 = time(NULL); 70 t1 = time(NULL); 72 printf("Elapsed time: %d seconds\n", t1 - t0);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/sim/testsuite/sim/cris/c/ |
H A D | time1.c | 1 /* Basic time functionality test: check that milliseconds are 4 #include <time.h> 5 #include <sys/time.h> 38 if (time (NULL) != t_m1.tv_sec) 40 fprintf (stderr, "time != gettod\n");
|