/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/ |
H A D | rtc.h | 47 static inline unsigned int get_rtc_time(struct rtc_time *wtime) argument 66 wtime->tm_hour = rem / SECS_PER_HOUR; 68 wtime->tm_min = rem / 60; 69 wtime->tm_sec = rem % 60; 87 wtime->tm_year = y - 1900; 93 wtime->tm_mon = y; 94 wtime->tm_mday = days + 1; 99 static int set_rtc_time(struct rtc_time *wtime) argument 103 secs = mktime(wtime->tm_year + 1900, wtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/ |
H A D | efirtc.c | 104 convert_to_efi_time(struct rtc_time *wtime, efi_time_t *eft) argument 107 eft->year = wtime->tm_year + 1900; 108 eft->month = wtime->tm_mon + 1; 109 eft->day = wtime->tm_mday; 110 eft->hour = wtime->tm_hour; 111 eft->minute = wtime->tm_min; 112 eft->second = wtime->tm_sec; 114 eft->daylight = wtime->tm_isdst ? EFI_ISDST: 0; 119 convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime) argument 121 memset(wtime, 157 struct rtc_time wtime; local [all...] |
H A D | genrtc.c | 278 struct rtc_time wtime; local 306 memset(&wtime, 0, sizeof(wtime)); 307 get_rtc_time(&wtime); 309 return copy_to_user(argp, &wtime, sizeof(wtime)) ? -EFAULT : 0; 319 if (copy_from_user(&wtime, argp, sizeof(wtime))) 322 year = wtime.tm_year + 1900; 326 if ((wtime [all...] |
H A D | ds1286.c | 102 struct rtc_time wtime; local 177 memset(&wtime, 0, sizeof(wtime)); 178 ds1286_get_alm_time(&wtime); 223 memset(&wtime, 0, sizeof(wtime)); 224 ds1286_get_time(&wtime); 243 return copy_to_user((void *)arg, &wtime, sizeof wtime) ? -EFAULT : 0;
|
H A D | ip27-rtc.c | 82 struct rtc_time wtime; local 87 get_rtc_time(&wtime); 156 return copy_to_user((void *)arg, &wtime, sizeof wtime) ? -EFAULT : 0;
|
H A D | rtc.c | 391 struct rtc_time wtime; local 472 memset(&wtime, 0, sizeof(struct rtc_time)); 473 get_rtc_alm_time(&wtime); 522 memset(&wtime, 0, sizeof(struct rtc_time)); 523 rtc_get_rtc_time(&wtime); 690 return copy_to_user((void __user *)arg, &wtime, sizeof wtime) ? -EFAULT : 0;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/bvme6000/ |
H A D | rtc.c | 47 struct rtc_time wtime; local 57 memset(&wtime, 0, sizeof(struct rtc_time)); 59 wtime.tm_sec = BCD2BIN(rtc->bcd_sec); 60 wtime.tm_min = BCD2BIN(rtc->bcd_min); 61 wtime.tm_hour = BCD2BIN(rtc->bcd_hr); 62 wtime.tm_mday = BCD2BIN(rtc->bcd_dom); 63 wtime.tm_mon = BCD2BIN(rtc->bcd_mth)-1; 64 wtime.tm_year = BCD2BIN(rtc->bcd_year); 65 if (wtime.tm_year < 70) 66 wtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/mvme16x/ |
H A D | rtc.c | 44 struct rtc_time wtime; local 53 memset(&wtime, 0, sizeof(struct rtc_time)); 54 wtime.tm_sec = BCD2BIN(rtc->bcd_sec); 55 wtime.tm_min = BCD2BIN(rtc->bcd_min); 56 wtime.tm_hour = BCD2BIN(rtc->bcd_hr); 57 wtime.tm_mday = BCD2BIN(rtc->bcd_dom); 58 wtime.tm_mon = BCD2BIN(rtc->bcd_mth)-1; 59 wtime.tm_year = BCD2BIN(rtc->bcd_year); 60 if (wtime.tm_year < 70) 61 wtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/ |
H A D | time.c | 1455 struct rtc_time wtime; local 1474 memset(&wtime, 0, sizeof(wtime)); 1475 mini_get_rtc_time(&wtime); 1477 return copy_to_user(argp, &wtime, sizeof(wtime)) ? -EFAULT : 0; 1486 if (copy_from_user(&wtime, argp, sizeof(wtime))) 1489 year = wtime.tm_year + 1900; 1490 days = month_days[wtime [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/qla4xxx/ |
H A D | ql4_init.c | 702 unsigned long wtime; local 711 wtime = jiffies + (2 * HZ); 721 } while (!time_after_eq(jiffies, wtime));
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/qla2xxx/ |
H A D | qla_init.c | 1155 unsigned long wtime, mtime; local 1177 wtime = jiffies + (wait_time * HZ); 1224 if (time_after_eq(jiffies, wtime))
|