/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/rtc/ |
H A D | rtc-s3c.c | 153 static int s3c_rtc_settime(struct device *dev, struct rtc_time *tm) argument 156 int year = tm->tm_year - 100; 159 tm->tm_year, tm->tm_mon, tm->tm_mday, 160 tm->tm_hour, tm->tm_min, tm->tm_sec); 169 writeb(BIN2BCD(tm->tm_sec), base + S3C2410_RTCSEC); 170 writeb(BIN2BCD(tm 241 struct rtc_time *tm = &alrm->time; local [all...] |
H A D | class.c | 48 struct rtc_time tm; local 55 rtc_read_time(rtc, &tm); 56 rtc_tm_to_time(&tm, &oldtime); 69 struct rtc_time tm; local 78 rtc_read_time(rtc, &tm); 79 if (rtc_valid_tm(&tm) != 0) { 83 rtc_tm_to_time(&tm, &newtime);
|
H A D | rtc-ds1553.c | 74 static int ds1553_rtc_set_time(struct device *dev, struct rtc_time *tm) argument 81 century = BIN2BCD((tm->tm_year + 1900) / 100); 85 writeb(BIN2BCD(tm->tm_year % 100), ioaddr + RTC_YEAR); 86 writeb(BIN2BCD(tm->tm_mon + 1), ioaddr + RTC_MONTH); 87 writeb(BIN2BCD(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); 88 writeb(BIN2BCD(tm->tm_mday), ioaddr + RTC_DATE); 89 writeb(BIN2BCD(tm->tm_hour), ioaddr + RTC_HOURS); 90 writeb(BIN2BCD(tm->tm_min), ioaddr + RTC_MINUTES); 91 writeb(BIN2BCD(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); 99 static int ds1553_rtc_read_time(struct device *dev, struct rtc_time *tm) argument [all...] |
H A D | rtc-ep93xx.c | 38 static int ep93xx_rtc_read_time(struct device *dev, struct rtc_time *tm) argument 42 rtc_time_to_tm(time, tm); 52 static int ep93xx_rtc_set_time(struct device *dev, struct rtc_time *tm) argument 57 err = rtc_tm_to_time(tm, &secs);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/8xx/ |
H A D | m8xx_setup.c | 203 int mpc8xx_set_rtc_time(struct rtc_time *tm) argument 211 time = mktime(tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday, 212 tm->tm_hour, tm->tm_min, tm->tm_sec); 223 void mpc8xx_get_rtc_time(struct rtc_time *tm) argument 230 to_tm(data, tm); 231 tm [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/iseries/ |
H A D | mf.c | 709 static int mf_set_rtc(struct rtc_time *tm) argument 715 year = 1900 + tm->tm_year; 719 sec = tm->tm_sec; 720 min = tm->tm_min; 721 hour = tm->tm_hour; 722 day = tm->tm_mday; 723 mon = tm->tm_mon + 1; 746 static int rtc_set_tm(int rc, u8 *ce_msg, struct rtc_time *tm) argument 748 tm->tm_wday = 0; 749 tm 801 mf_get_rtc(struct rtc_time *tm) argument 834 mf_get_boot_rtc(struct rtc_time *tm) argument 1192 iSeries_set_rtc_time(struct rtc_time *tm) argument 1200 struct rtc_time tm; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/momentum/ocelot_3/ |
H A D | setup.c | 163 struct rtc_time tm; local 167 to_tm(sec, &tm); 168 tm.tm_mon += 1; 175 rtc_base[0x7fff] = BIN2BCD(tm.tm_year % 100); 176 rtc_base[0x7ff1] = BIN2BCD(tm.tm_year / 100); 179 rtc_base[0x7ffe] = BIN2BCD(tm.tm_mon); 182 rtc_base[0x7ffd] = BIN2BCD(tm.tm_mday); 185 rtc_base[0x7ffb] = BIN2BCD(tm.tm_hour); 186 rtc_base[0x7ffa] = BIN2BCD(tm.tm_min); 187 rtc_base[0x7ff9] = BIN2BCD(tm [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/momentum/ocelot_c/ |
H A D | setup.c | 172 struct rtc_time tm; local 176 to_tm(sec, &tm); 177 tm.tm_mon += 1; 184 rtc_base[0x7fff] = BIN2BCD(tm.tm_year % 100); 185 rtc_base[0x7ff1] = BIN2BCD(tm.tm_year / 100); 188 rtc_base[0x7ffe] = BIN2BCD(tm.tm_mon); 191 rtc_base[0x7ffd] = BIN2BCD(tm.tm_mday); 194 rtc_base[0x7ffb] = BIN2BCD(tm.tm_hour); 195 rtc_base[0x7ffa] = BIN2BCD(tm.tm_min); 196 rtc_base[0x7ff9] = BIN2BCD(tm [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/ |
H A D | time.c | 77 static int tm_diff(struct tm *a, struct tm *b) 97 struct tm *tm = gmtime(&t); local 98 struct tm tm_utc; 99 if (!tm) 101 tm_utc = *tm; 102 tm = localtime(&t); 103 if (!tm) 105 return tm_diff(&tm_utc,tm); 667 struct tm *tm = LocalTime(&t); local 691 struct tm *tm; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/bn/ |
H A D | bnspeed.c | 186 double tm; local 200 tm=Time_F(STOP); 201 printf("mul %4d x %4d -> %8.3fms\n",sizes[i],sizes[j],tm*1000.0/num); 213 tm=Time_F(STOP); 214 printf("sqr %4d x %4d -> %8.3fms\n",sizes[i],sizes[i],tm*1000.0/num); 228 tm=Time_F(STOP); 229 printf("div %4d / %4d -> %8.3fms\n",sizes[j],sizes[i]-1,tm*1000.0/num);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/bn/ |
H A D | bnspeed.c | 186 double tm; local 200 tm=Time_F(STOP); 201 printf("mul %4d x %4d -> %8.3fms\n",sizes[i],sizes[j],tm*1000.0/num); 213 tm=Time_F(STOP); 214 printf("sqr %4d x %4d -> %8.3fms\n",sizes[i],sizes[i],tm*1000.0/num); 228 tm=Time_F(STOP); 229 printf("div %4d / %4d -> %8.3fms\n",sizes[j],sizes[i]-1,tm*1000.0/num);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/ |
H A D | tmdiff.c | 168 void ms_time_get(MS_TM *tm) argument 175 times(&tm->ms_tms); 178 GetThreadTimes(tm->thread_id,&tmpa,&tmpb,&tmpc,&(tm->ms_win32)); 180 tm->ms_clock = clock(); 183 tm->ticks = tickGet(); 185 ftime(&tm->ms_timeb);
|
H A D | o_time.c | 72 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result) 74 struct tm *ts = NULL; 86 memcpy(result, ts, sizeof(struct tm)); 192 /* Fill in the struct tm with the result */
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/ |
H A D | tmdiff.c | 163 MS_TM *tm=(MS_TM *)a; local 169 times(&tm->ms_tms); 172 GetThreadTimes(tm->thread_id,&tmpa,&tmpb,&tmpc,&(tm->ms_win32)); 175 tm->ticks = tickGet(); 177 ftime(&tm->ms_timeb);
|
H A D | o_time.c | 72 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result) 74 struct tm *ts = NULL; 86 memcpy(result, ts, sizeof(struct tm)); 192 /* Fill in the struct tm with the result */
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/udhcpd/ |
H A D | arpping.c | 44 struct timeval tm;
local 87 tm.tv_usec = timeout*1000;
88 tm.tv_sec = 0;
90 if (select(s + 1, &fdset, (fd_set *) NULL, (fd_set *) NULL, &tm) < 0) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/ |
H A D | time.h | 58 extern void to_tm(unsigned long tim, struct rtc_time *tm);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/udhcp/ |
H A D | arpping.c | 46 struct timeval tm; local 86 tm.tv_sec = timeout; 87 tm.tv_usec = 0; 88 r = select(s + 1, &fdset, NULL, NULL, &tm);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/ |
H A D | time.h | 58 extern void to_tm(unsigned long tim, struct rtc_time *tm);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/netfilter/ |
H A D | ipt_time.c | 27 struct tm struct 44 localtime(const u32 time, struct tm *r); 57 struct tm currenttime; /* time human readable */ 141 localtime(const u32 time, struct tm *r) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/modules/ |
H A D | getdate.y | 452 struct tm *gmtime (); 455 struct tm *localtime (); 696 tm_diff (struct tm const *a, struct tm const *b) 880 struct tm *tmp = localtime (&Start); 881 struct tm tm; 882 struct tm tm0; 896 tm.tm_isdst = tmp->tm_isdst; 925 struct tm *probe_t [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/kernel/ |
H A D | time.c | 361 void to_tm(int tim, struct rtc_time * tm) argument 370 tm->tm_hour = hms / 3600; 371 tm->tm_min = (hms % 3600) / 60; 372 tm->tm_sec = (hms % 3600) % 60; 377 tm->tm_year = i; 380 if (leapyear(tm->tm_year)) 385 tm->tm_mon = i; 388 tm->tm_mday = day + 1; 393 tm->tm_wday = (gday + 4) % 7;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/vfp/ |
H A D | vfpdouble.c | 211 int tn, tm = 0; local 216 tm = vfp_double_type(vdm); 229 if (tn == VFP_SNAN || (tm != VFP_SNAN && tn == VFP_QNAN)) 244 return tn == VFP_SNAN || tm == VFP_SNAN ? FPSCR_IOC : VFP_NAN_FLAG; 271 int ret, tm; local 274 tm = vfp_double_type(&vdm); 275 if (tm & (VFP_NAN|VFP_INFINITY)) { 278 if (tm & VFP_NAN) 296 if (tm & VFP_ZERO) 302 if (tm 443 int tm; local 511 int tm; local 590 int tm; local 688 int tn, tm; local 1009 int tm, tn; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/kernel/ |
H A D | time.c | 489 void to_tm(unsigned long tim, struct rtc_time *tm) argument 498 tm->tm_hour = hms / 3600; 499 tm->tm_min = (hms % 3600) / 60; 500 tm->tm_sec = (hms % 3600) % 60; 505 tm->tm_year = i; 508 if (leapyear(tm->tm_year)) 513 tm->tm_mon = i - 1; /* tm_mon starts from 0 to 11 */ 516 tm->tm_mday = day + 1; 521 tm->tm_wday = (gday + 4) % 7; /* 1970/1/1 was Thursday */
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/e2p/ |
H A D | ls.c | 145 time_t tm; local 212 tm = sb->s_mkfs_time; 213 fprintf(f, "Filesystem created: %s", ctime(&tm)); 215 tm = sb->s_mtime; 217 sb->s_mtime ? ctime(&tm) : "n/a\n"); 218 tm = sb->s_wtime; 223 ctime(&tm), sb->s_mnt_count, sb->s_max_mnt_count); 224 tm = sb->s_lastcheck; 228 ctime(&tm),
|