/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-mxc.c | 90 * This function is used to obtain the RTC time or the alarm value in 120 * This function sets the RTC alarm value or the time value. 122 static void set_alarm_or_time(struct device *dev, int time_alarm, u32 time) argument 129 day = time / 86400; 130 time -= day * 86400; 132 /* time is within a day now */ 133 hr = time / 3600; 134 time -= hr * 3600; 136 /* time is within an hour now */ 137 min = time / 6 163 unsigned long now, time; local 303 mxc_rtc_set_mmss(struct device *dev, unsigned long time) argument [all...] |
H A D | interface.c | 140 * creating invalid alarm->time values, for reasons like: 143 * many alarms match only on time-of-day fields, not 197 if (rtc_valid_tm(&alarm->time) == 0) 212 * know there's at least one since alarm->time is invalid. 214 if (alarm->time.tm_sec == -1) 215 alarm->time.tm_sec = now.tm_sec; 216 if (alarm->time.tm_min == -1) 217 alarm->time.tm_min = now.tm_min; 218 if (alarm->time.tm_hour == -1) 219 alarm->time [all...] |
H A D | rtc-pl030.c | 47 rtc_time_to_tm(readl(rtc->base + RTC_MR), &alrm->time); 54 unsigned long time; local 60 ret = rtc_valid_tm(&alrm->time); 62 ret = rtc_tm_to_time(&alrm->time, &time); 64 writel(time, rtc->base + RTC_MR); 78 * Set the RTC time. Unfortunately, we can't accurately set 82 * edge of the 1Hz clock, we must write the time one second 88 unsigned long time; local 91 ret = rtc_tm_to_time(tm, &time); [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 | interface.c | 140 * creating invalid alarm->time values, for reasons like: 143 * many alarms match only on time-of-day fields, not 197 if (rtc_valid_tm(&alarm->time) == 0) 212 * know there's at least one since alarm->time is invalid. 214 if (alarm->time.tm_sec == -1) 215 alarm->time.tm_sec = now.tm_sec; 216 if (alarm->time.tm_min == -1) 217 alarm->time.tm_min = now.tm_min; 218 if (alarm->time.tm_hour == -1) 219 alarm->time [all...] |
H A D | rtc-pl030.c | 47 rtc_time_to_tm(readl(rtc->base + RTC_MR), &alrm->time); 54 unsigned long time; local 60 ret = rtc_valid_tm(&alrm->time); 62 ret = rtc_tm_to_time(&alrm->time, &time); 64 writel(time, rtc->base + RTC_MR); 78 * Set the RTC time. Unfortunately, we can't accurately set 82 * edge of the 1Hz clock, we must write the time one second 88 unsigned long time; local 91 ret = rtc_tm_to_time(tm, &time); [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/wireless/iwlwifi/ |
H A D | iwl-devtrace.h | 96 TP_PROTO(struct iwl_priv *priv, u32 time, u32 data, u32 ev), 97 TP_ARGS(priv, time, data, ev), 101 __field(u32, time) 107 __entry->time = time; 112 __entry->priv, __entry->time, __entry->data, __entry->ev) 205 TP_PROTO(struct iwl_priv *priv, u32 desc, u32 time, 208 TP_ARGS(priv, desc, time, data1, data2, line, 213 __field(u32, time) 225 __entry->time [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/wireless/iwlwifi/ |
H A D | iwl-devtrace.h | 96 TP_PROTO(struct iwl_priv *priv, u32 time, u32 data, u32 ev), 97 TP_ARGS(priv, time, data, ev), 101 __field(u32, time) 107 __entry->time = time; 112 __entry->priv, __entry->time, __entry->data, __entry->ev) 205 TP_PROTO(struct iwl_priv *priv, u32 desc, u32 time, 208 TP_ARGS(priv, desc, time, data1, data2, line, 213 __field(u32, time) 225 __entry->time [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/iptables/extensions/ |
H A D | libip6t_time.c | 12 #include <time.h> 25 " Note: daylight savings time changes are not tracked\n" 123 parse_time_string(int *hour, int *minute, const char *time) argument 132 if (split_time((char **)&hours, (char **)&minutes, time) == 1) 150 "invalid time `%s' specified, should be HH:MM format", time); 475 struct ipt_time_info *time = ((struct ipt_time_info *)match->data); local 478 divide_time(time->time_start, &hour_start, &minute_start); 479 divide_time(time->time_stop, &hour_stop, &minute_stop); 481 if (time 506 struct ipt_time_info *time = ((struct ipt_time_info *)match->data); local [all...] |
H A D | libipt_time.c | 11 #include <time.h> 24 " Note: daylight savings time changes are not tracked\n" 122 parse_time_string(int *hour, int *minute, const char *time) argument 131 if (split_time((char **)&hours, (char **)&minutes, time) == 1) 149 "invalid time `%s' specified, should be HH:MM format", time); 474 struct ipt_time_info *time = ((struct ipt_time_info *)match->data); local 477 divide_time(time->time_start, &hour_start, &minute_start); 478 divide_time(time->time_stop, &hour_stop, &minute_stop); 480 if (time 505 struct ipt_time_info *time = ((struct ipt_time_info *)match->data); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/um/os-Linux/ |
H A D | time.c | 9 #include <time.h> 10 #include <sys/time.h> 51 * Ripped from linux/time.h because it's a kernel header, and thus 62 struct itimerval time = ((struct itimerval) { { 0, 0 }, { 0, 0 } }); local 65 if (setitimer(ITIMER_VIRTUAL, &time, &time) < 0) 69 remain = timeval_to_ns(&time.it_value); 109 /* Protection against the host's time going backwards */ 146 * setitimer to larger than the one passed in. Over time, 147 * this will cause the remaining time t [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/um/os-Linux/ |
H A D | time.c | 9 #include <time.h> 10 #include <sys/time.h> 51 * Ripped from linux/time.h because it's a kernel header, and thus 62 struct itimerval time = ((struct itimerval) { { 0, 0 }, { 0, 0 } }); local 65 if (setitimer(ITIMER_VIRTUAL, &time, &time) < 0) 69 remain = timeval_to_ns(&time.it_value); 109 /* Protection against the host's time going backwards */ 146 * setitimer to larger than the one passed in. Over time, 147 * this will cause the remaining time t [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/Documentation/laptops/ |
H A D | dslm.c | 12 #include <time.h> 58 static char *myctime(time_t time) argument 60 char *ts = ctime(&time); 84 start_time = last_time = time(0); 93 curr_time = time(0); 109 total_time = time(0) - start_time; 110 printf("\nTotal running time: %lus\n", curr_time - start_time); 128 puts("usage: dslm [-w <time>] <disk>");
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/Documentation/laptops/ |
H A D | dslm.c | 12 #include <time.h> 58 static char *myctime(time_t time) argument 60 char *ts = ctime(&time); 84 start_time = last_time = time(0); 93 curr_time = time(0); 109 total_time = time(0) - start_time; 110 printf("\nTotal running time: %lus\n", curr_time - start_time); 128 puts("usage: dslm [-w <time>] <disk>");
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/iptables/extensions/ |
H A D | libip6t_time.c | 12 #include <time.h> 25 " Note: daylight savings time changes are not tracked\n" 123 parse_time_string(int *hour, int *minute, const char *time) argument 132 if (split_time((char **)&hours, (char **)&minutes, time) == 1) 150 "invalid time `%s' specified, should be HH:MM format", time); 475 struct ipt_time_info *time = ((struct ipt_time_info *)match->data); local 478 divide_time(time->time_start, &hour_start, &minute_start); 479 divide_time(time->time_stop, &hour_stop, &minute_stop); 481 if (time 506 struct ipt_time_info *time = ((struct ipt_time_info *)match->data); local [all...] |
H A D | libipt_time.c | 11 #include <time.h> 24 " Note: daylight savings time changes are not tracked\n" 122 parse_time_string(int *hour, int *minute, const char *time) argument 131 if (split_time((char **)&hours, (char **)&minutes, time) == 1) 149 "invalid time `%s' specified, should be HH:MM format", time); 474 struct ipt_time_info *time = ((struct ipt_time_info *)match->data); local 477 divide_time(time->time_start, &hour_start, &minute_start); 478 divide_time(time->time_stop, &hour_stop, &minute_stop); 480 if (time 505 struct ipt_time_info *time = ((struct ipt_time_info *)match->data); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/iptables/extensions/ |
H A D | libip6t_time.c | 12 #include <time.h> 25 " Note: daylight savings time changes are not tracked\n" 123 parse_time_string(int *hour, int *minute, const char *time) argument 132 if (split_time((char **)&hours, (char **)&minutes, time) == 1) 150 "invalid time `%s' specified, should be HH:MM format", time); 475 struct ipt_time_info *time = ((struct ipt_time_info *)match->data); local 478 divide_time(time->time_start, &hour_start, &minute_start); 479 divide_time(time->time_stop, &hour_stop, &minute_stop); 481 if (time 506 struct ipt_time_info *time = ((struct ipt_time_info *)match->data); local [all...] |
H A D | libipt_time.c | 11 #include <time.h> 24 " Note: daylight savings time changes are not tracked\n" 122 parse_time_string(int *hour, int *minute, const char *time) argument 131 if (split_time((char **)&hours, (char **)&minutes, time) == 1) 149 "invalid time `%s' specified, should be HH:MM format", time); 474 struct ipt_time_info *time = ((struct ipt_time_info *)match->data); local 477 divide_time(time->time_start, &hour_start, &minute_start); 478 divide_time(time->time_stop, &hour_stop, &minute_stop); 480 if (time 505 struct ipt_time_info *time = ((struct ipt_time_info *)match->data); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/ |
H A D | profile-arm.mak | 6 EXTRACFLAGS += -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/ |
H A D | profile.mak | 6 EXTRACFLAGS += -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/oss/ |
H A D | sound_timer.c | 125 long time; local 127 if (parm <= curr_ticks) /* It's the time */ 129 time = parm; 130 next_event_time = prev_event_time = time; 256 static void timer_arm(int dev, long time) argument 258 if (time < 0) 259 time = curr_ticks + 1; 260 else if (time <= curr_ticks) /* It's the time */ 263 next_event_time = prev_event_time = time; [all...] |
H A D | sys_timer.c | 131 long time; local 133 if (parm <= curr_ticks) /* It's the time */ 136 time = parm; 137 next_event_time = prev_event_time = time; 261 def_tmr_arm(int dev, long time) argument 263 if (time < 0) 264 time = curr_ticks + 1; 265 else if (time <= curr_ticks) /* It's the time */ 268 next_event_time = prev_event_time = 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 | smttimer.c | 62 void smt_timer_start(struct s_smc *smc, struct smt_timer *timer, u_long time, argument 69 time /= 16 ; /* input is uS, clock ticks are 16uS */ 70 if (!time) 71 time = 1 ; 79 timer->tm_delta = time ; 80 hwt_start(smc,time) ; 93 if (delta + tm->tm_delta > time) { 101 timer->tm_delta = time - delta ;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/oss/ |
H A D | sound_timer.c | 125 long time; local 127 if (parm <= curr_ticks) /* It's the time */ 129 time = parm; 130 next_event_time = prev_event_time = time; 256 static void timer_arm(int dev, long time) argument 258 if (time < 0) 259 time = curr_ticks + 1; 260 else if (time <= curr_ticks) /* It's the time */ 263 next_event_time = prev_event_time = time; [all...] |
H A D | sys_timer.c | 131 long time; local 133 if (parm <= curr_ticks) /* It's the time */ 136 time = parm; 137 next_event_time = prev_event_time = time; 261 def_tmr_arm(int dev, long time) argument 263 if (time < 0) 264 time = curr_ticks + 1; 265 else if (time <= curr_ticks) /* It's the time */ 268 next_event_time = prev_event_time = time; [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 | smttimer.c | 62 void smt_timer_start(struct s_smc *smc, struct smt_timer *timer, u_long time, argument 69 time /= 16 ; /* input is uS, clock ticks are 16uS */ 70 if (!time) 71 time = 1 ; 79 timer->tm_delta = time ; 80 hwt_start(smc,time) ; 93 if (delta + tm->tm_delta > time) { 101 timer->tm_delta = time - delta ;
|