Searched refs:tm (Results 1 - 25 of 147) sorted by relevance

123456

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/cris/drivers/
H A Dpcf8563.c63 get_rtc_time(struct rtc_time *tm) argument
67 tm->tm_sec = rtc_read(RTC_SECONDS);
68 tm->tm_min = rtc_read(RTC_MINUTES);
69 tm->tm_hour = rtc_read(RTC_HOURS);
70 tm->tm_mday = rtc_read(RTC_DAY_OF_MONTH);
71 tm->tm_mon = rtc_read(RTC_MONTH);
72 tm->tm_year = rtc_read(RTC_YEAR);
74 if (tm->tm_sec & 0x80)
77 tm->tm_year = BCD_TO_BIN(tm
96 struct rtc_time tm; local
175 struct rtc_time tm; local
191 struct rtc_time tm; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/skfp/
H A Dsmttimer.c53 struct smt_timer *tm ; local
62 for (prev = &smc->t.st_queue ; (tm = *prev) ; prev = &tm->tm_next ) {
63 if (tm == timer) {
64 *prev = tm->tm_next ;
65 if (tm->tm_next) {
66 tm->tm_next->tm_delta += tm->tm_delta ;
80 struct smt_timer *tm ; local
106 for (prev = &smc->t.st_queue ; (tm
141 struct smt_timer *tm ; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/platforms/
H A Dprep_time.c61 struct rtc_time tm; local
64 to_tm(nowtime, &tm);
76 tm.tm_year = (tm.tm_year - 1900) % 100;
78 BIN_TO_BCD(tm.tm_sec);
79 BIN_TO_BCD(tm.tm_min);
80 BIN_TO_BCD(tm.tm_hour);
81 BIN_TO_BCD(tm.tm_mon);
82 BIN_TO_BCD(tm.tm_mday);
83 BIN_TO_BCD(tm
157 struct rtc_time tm; local
[all...]
H A Dchrp_time.c80 struct rtc_time tm; local
83 to_tm(nowtime, &tm);
93 tm.tm_year -= 1900;
95 BIN_TO_BCD(tm.tm_sec);
96 BIN_TO_BCD(tm.tm_min);
97 BIN_TO_BCD(tm.tm_hour);
98 BIN_TO_BCD(tm.tm_mon);
99 BIN_TO_BCD(tm.tm_mday);
100 BIN_TO_BCD(tm.tm_year);
102 chrp_cmos_clock_write(tm
[all...]
H A Dgemini_setup.c405 struct rtc_time tm; local
407 to_tm( now, &tm );
416 printk("set rtc: tm vals - sec=%x, min=%x, hour=%x, mon=%x, mday=%x, year=%x\n",
417 tm.tm_sec, tm.tm_min, tm.tm_hour, tm.tm_mon, tm.tm_mday, tm.tm_year);
420 tm
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/sibyte/swarm/
H A Drtc_xicor1241.c116 struct rtc_time tm; local
119 to_tm(t, &tm);
126 BIN_TO_BCD(tm.tm_sec);
127 xicor_write(X1241REG_SC, tm.tm_sec);
129 BIN_TO_BCD(tm.tm_min);
130 xicor_write(X1241REG_MN, tm.tm_min);
132 BIN_TO_BCD(tm.tm_mday);
133 xicor_write(X1241REG_DT, tm.tm_mday);
136 tm.tm_mon ++;
137 BIN_TO_BCD(tm
[all...]
/asus-wl-520gu-7.0.1.45/src/router/library/libupnp-1.2.1/upnp/src/inc/
H A Dgmtdate.h66 char* DateToString( const struct tm* date );
81 OUT struct tm* dateTime, OUT int* numCharsParsed );
84 OUT struct tm* dateTime, OUT int* numCharsParsed );
87 OUT struct tm* dateTime, OUT int* numCharsParsed );
91 OUT struct tm* dateTime, OUT int* numCharsParsed );
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/
H A Drtc.c224 struct rtc_time tm; local
228 ppc_md.get_rtc_time(&tm);
238 tm.tm_hour, tm.tm_min, tm.tm_sec,
239 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, epoch);
304 int pSeries_set_rtc_time(struct rtc_time *tm) argument
316 tm
332 iSeries_set_rtc_time(struct rtc_time *tm) argument
338 iSeries_get_boot_time(struct rtc_time *tm) argument
[all...]
H A Dtime.c152 struct rtc_time tm; local
153 to_tm(xtime.tv_sec+1, &tm);
154 tm.tm_year -= 1900;
155 tm.tm_mon -= 1;
156 if (ppc_md.set_rtc_time(&tm) == 0)
490 struct rtc_time tm; local
495 ppc_md.get_boot_time(&tm);
498 xtime.tv_sec = mktime(tm.tm_year + 1900, tm.tm_mon + 1, tm
663 GregorianDay(struct rtc_time * tm) argument
703 to_tm(int tim, struct rtc_time * tm) argument
[all...]
H A DiSeries_setup.h37 extern void iSeries_get_boot_time(struct rtc_time *tm);
/asus-wl-520gu-7.0.1.45/src/router/samba/source/utils/
H A Dnet_time.c75 struct tm *tm; local
77 tm = localtime(&t);
80 tm->tm_mon+1, tm->tm_mday, tm->tm_hour,
81 tm->tm_min, tm->tm_year + 1900, tm->tm_sec);
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Ddate.c45 static struct tm *date_conv_time(struct tm *tm_time, const char *t_string)
72 static struct tm *date_conv_ftime(struct tm *tm_time, const char *t_string)
74 struct tm t;
138 time_t tm; local
139 struct tm tm_time;
178 time(&tm);
179 memcpy(&tm_time, localtime(&tm), sizeof(tm_time));
197 tm
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/sgi-ip22/
H A Dip22-time.c64 struct rtc_time tm; local
67 to_tm(tim, &tm);
69 tm.tm_mon += 1; /* tm_mon starts at zero */
70 tm.tm_year -= 1940;
71 if (tm.tm_year >= 100)
72 tm.tm_year -= 100;
74 BIN_TO_BCD(tm.tm_sec);
75 BIN_TO_BCD(tm.tm_min);
76 BIN_TO_BCD(tm.tm_hour);
77 BIN_TO_BCD(tm
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/jmr3927/common/
H A Drtc_ds1742.c83 extern void to_tm(unsigned long tim, struct rtc_time * tm);
88 struct rtc_time tm; local
105 to_tm(t, &tm);
108 year = BIN_TO_BCD(tm.tm_year - EPOCH);
113 month = BIN_TO_BCD(tm.tm_mon);
118 day = BIN_TO_BCD(tm.tm_mday);
127 if (tm.tm_hour > 12) {
130 hour |= BIN_TO_BCD(tm.tm_hour);
134 hour = BIN_TO_BCD(tm.tm_hour) & 0x3f;
138 minute = BIN_TO_BCD(tm
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/ddb5xxx/common/
H A Drtc_ds1386.c85 struct rtc_time tm; local
96 to_tm(t, &tm);
100 year = BIN_TO_BCD(tm.tm_year - EPOCH);
106 month = BIN_TO_BCD(tm.tm_mon+1); /* tm_mon starts from 0 to 11 */
112 day = BIN_TO_BCD(tm.tm_mday);
121 if (tm.tm_hour > 12) {
124 hour |= BIN_TO_BCD(tm.tm_hour);
128 hour = BIN_TO_BCD(tm.tm_hour) & 0x3f;
132 minute = BIN_TO_BCD(tm.tm_min);
137 second = BIN_TO_BCD(tm
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ppc64/iSeries/
H A Dmf.h79 extern int mf_getRtc( struct rtc_time * tm );
81 extern int mf_setRtc( struct rtc_time * tm );
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ppc64/iSeries/
H A Dmf.h79 extern int mf_getRtc( struct rtc_time * tm );
81 extern int mf_setRtc( struct rtc_time * tm );
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/kernel/
H A Dtodc_time.c360 struct rtc_time tm; local
364 to_tm(nowtime, &tm);
380 tm.tm_year = (tm.tm_year - 1900) % 100;
386 BIN_TO_BCD(tm.tm_sec);
387 BIN_TO_BCD(tm.tm_min);
388 BIN_TO_BCD(tm.tm_hour);
389 BIN_TO_BCD(tm.tm_mon);
390 BIN_TO_BCD(tm.tm_mday);
391 BIN_TO_BCD(tm
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/momentum/ocelot_c/
H A Dsetup.c147 struct rtc_time tm; local
150 to_tm(sec, &tm);
151 tm.tm_mon += 1;
157 rtc_base[0x7fff] = CONV_BIN_TO_BCD(tm.tm_year % 100);
158 rtc_base[0x7ff1] = CONV_BIN_TO_BCD(tm.tm_year / 100);
161 rtc_base[0x7ffe] = CONV_BIN_TO_BCD(tm.tm_mon);
164 rtc_base[0x7ffd] = CONV_BIN_TO_BCD(tm.tm_mday);
167 rtc_base[0x7ffb] = CONV_BIN_TO_BCD(tm.tm_hour);
168 rtc_base[0x7ffa] = CONV_BIN_TO_BCD(tm.tm_min);
169 rtc_base[0x7ff9] = CONV_BIN_TO_BCD(tm
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/
H A Dtime.c75 static int tm_diff(struct tm *a, struct tm *b)
95 struct tm *tm = gmtime(&t); local
96 struct tm tm_utc;
97 if (!tm)
99 tm_utc = *tm;
100 tm = localtime(&t);
101 if (!tm)
103 return tm_diff(&tm_utc,tm);
660 struct tm *tm = LocalTime(&t); local
686 struct tm *tm; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sgi/char/
H A Dds1286.c316 struct rtc_time tm; local
321 ds1286_get_time(&tm);
328 tm.tm_hour, tm.tm_min, tm.tm_sec, hundredth,
329 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday);
336 ds1286_get_alm_time(&tm);
337 p += sprintf(p, "alarm\t\t: %s ", days[tm
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/
H A Dipt_time.c25 struct tm struct
42 localtime(const time_t *timepr, struct tm *r);
55 struct tm currenttime; /* time human readable */
152 localtime(const time_t *timepr, struct tm *r) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/
H A Dipt_time.c25 struct tm struct
42 localtime(const time_t *timepr, struct tm *r);
55 struct tm currenttime; /* time human readable */
150 localtime(const time_t *timepr, struct tm *r) {
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips/
H A Dtime.h39 extern void to_tm(unsigned long tim, struct rtc_time * tm);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips64/
H A Dtime.h39 extern void to_tm(unsigned long tim, struct rtc_time * tm);

Completed in 132 milliseconds

123456