/arch/frv/kernel/ |
D | time.c | 90 unsigned int year, mon, day, hour, min, sec; in read_persistent_clock() local 92 extern void arch_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec); in read_persistent_clock() 98 mon = day = 1; in read_persistent_clock() 100 arch_gettod (&year, &mon, &day, &hour, &min, &sec); in read_persistent_clock() 104 ts->tv_sec = mktime(year, mon, day, hour, min, sec); in read_persistent_clock()
|
D | setup.c | 1121 void arch_gettod(int *year, int *mon, int *day, int *hour, in arch_gettod() argument 1124 *year = *mon = *day = *hour = *min = *sec = 0; in arch_gettod()
|
/arch/mips/include/asm/ |
D | mc146818-time.h | 91 unsigned int year, mon, day, hour, min, sec; in mc146818_get_cmos_time() local 100 day = CMOS_READ(RTC_DAY_OF_MONTH); in mc146818_get_cmos_time() 109 day = bcd2bin(day); in mc146818_get_cmos_time() 116 return mktime(year, mon, day, hour, min, sec); in mc146818_get_cmos_time()
|
D | m48t37.h | 25 volatile u8 day; member
|
/arch/sh/boards/mach-sh03/ |
D | rtc.c | 42 unsigned int year, mon, day, hour, min, sec; in get_cmos_time() local 50 day = (__raw_readb(RTC_DAY1) & 0xf) + (__raw_readb(RTC_DAY10) & 0xf) * 10; in get_cmos_time() 56 if (year == 0 || mon < 1 || mon > 12 || day > 31 || day < 1 || in get_cmos_time() 61 year, mon, day, hour, min, sec); in get_cmos_time() 77 return mktime(year, mon, day, hour, min, sec); in get_cmos_time()
|
/arch/mips/dec/ |
D | time.c | 23 unsigned int year, mon, day, hour, min, sec, real_year; in read_persistent_clock() local 32 day = CMOS_READ(RTC_DAY_OF_MONTH); in read_persistent_clock() 49 day = bcd2bin(day); in read_persistent_clock() 56 ts->tv_sec = mktime(year, mon, day, hour, min, sec); in read_persistent_clock()
|
/arch/m68k/mvme16x/ |
D | rtc.c | 68 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local 81 day = rtc_tm.tm_mday; in rtc_ioctl() 88 if ((mon > 12) || (day == 0)) in rtc_ioctl() 91 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl() 106 rtc->bcd_dom = bin2bcd(day); in rtc_ioctl()
|
D | config.c | 303 p->rev&0xf, p->yr, p->mth, p->day); in config_mvme16x()
|
/arch/powerpc/platforms/chrp/ |
D | time.c | 131 unsigned int year, mon, day, hour, min, sec; in chrp_get_rtc_time() local 137 day = chrp_cmos_clock_read(RTC_DAY_OF_MONTH); in chrp_get_rtc_time() 146 day = bcd2bin(day); in chrp_get_rtc_time() 155 tm->tm_mday = day; in chrp_get_rtc_time()
|
/arch/m68k/bvme6000/ |
D | rtc.c | 73 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local 86 day = rtc_tm.tm_mday; in rtc_ioctl() 93 if ((mon > 12) || (mon < 1) || (day == 0)) in rtc_ioctl() 96 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl() 115 rtc->bcd_dom = bin2bcd(day); in rtc_ioctl()
|
/arch/x86/kernel/ |
D | rtc.c | 64 unsigned int status, year, mon, day, hour, min, sec, century = 0; in mach_get_cmos_time() local 81 day = CMOS_READ(RTC_DAY_OF_MONTH); in mach_get_cmos_time() 100 day = bcd2bin(day); in mach_get_cmos_time() 111 now->tv_sec = mktime(year, mon, day, hour, min, sec); in mach_get_cmos_time()
|
/arch/m68k/atari/ |
D | time.c | 169 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; in atari_tt_hwclk() local 183 day = t->tm_mday; in atari_tt_hwclk() 202 day = bin2bcd(day); in atari_tt_hwclk() 235 day = RTC_READ( RTC_DAY_OF_MONTH ); in atari_tt_hwclk() 244 RTC_WRITE( RTC_DAY_OF_MONTH, day ); in atari_tt_hwclk() 264 day = bcd2bin(day); in atari_tt_hwclk() 280 t->tm_mday = day; in atari_tt_hwclk()
|
D | atakeyb.c | 506 void ikbd_clock_set(int year, int month, int day, int hour, int minute, int second) in ikbd_clock_set() argument 508 char cmd[7] = { 0x1B, year, month, day, hour, minute, second }; in ikbd_clock_set() 514 void ikbd_clock_get(int *year, int *month, int *day, int *hour, int *minute, int second) in ikbd_clock_get() argument
|
/arch/m32r/kernel/ |
D | time.c | 142 unsigned int epoch, year, mon, day, hour, min, sec; in read_persistent_clock() local 144 sec = min = hour = day = mon = year = 0; in read_persistent_clock() 149 day = 17; in read_persistent_clock() 160 ts->tv_sec = mktime(year, mon, day, hour, min, sec); in read_persistent_clock()
|
/arch/mips/sibyte/swarm/ |
D | rtc_m41t81.c | 193 unsigned int year, mon, day, hour, min, sec; in m41t81_get_time() local 207 day = m41t81_read(M41T81REG_DT); in m41t81_get_time() 215 day = bcd2bin(day); in m41t81_get_time() 221 return mktime(year, mon, day, hour, min, sec); in m41t81_get_time()
|
D | rtc_xicor1241.c | 173 unsigned int year, mon, day, hour, min, sec, y2k; in xicor_get_time() local 188 day = xicor_read(X1241REG_DT); in xicor_get_time() 197 day = bcd2bin(day); in xicor_get_time() 204 return mktime(year, mon, day, hour, min, sec); in xicor_get_time()
|
/arch/m68k/sun3/ |
D | intersil.c | 52 todintersil->day = t->tm_mday; in sun3_hwclk() 62 t->tm_mday = todintersil->day; in sun3_hwclk()
|
/arch/powerpc/kernel/ |
D | time.c | 969 int day; in GregorianDay() local 985 day = tm->tm_mon > 2 && leapyear(tm->tm_year); in GregorianDay() 987 day += lastYear*365 + leapsToDate + MonthOffset[tm->tm_mon-1] + in GregorianDay() 990 tm->tm_wday = day % 7; in GregorianDay() 996 register long hms, day; in to_tm() local 998 day = tim / SECDAY; in to_tm() 1007 for (i = STARTOFTIME; day >= days_in_year(i); i++) in to_tm() 1008 day -= days_in_year(i); in to_tm() 1014 for (i = 1; day >= days_in_month(i); i++) in to_tm() 1015 day -= days_in_month(i); in to_tm() [all …]
|
D | rtas-proc.c | 402 unsigned int year, mon, day, hour, min, sec; in ppc_rtas_clock_show() local 403 year = ret[0]; mon = ret[1]; day = ret[2]; in ppc_rtas_clock_show() 406 mktime(year, mon, day, hour, min, sec)); in ppc_rtas_clock_show()
|
/arch/m68k/include/asm/ |
D | intersil.h | 33 unsigned char day; member
|
/arch/m68k/include/uapi/asm/ |
D | bootinfo-vme.h | 49 __u8 rev, mth, day, yr; member
|
/arch/alpha/include/asm/ |
D | err_common.h | 73 u8 day; member
|
/arch/s390/include/uapi/asm/ |
D | vtoc.h | 37 __u16 day; member
|
/arch/alpha/kernel/ |
D | err_common.c | 173 timestamp->b.month, timestamp->b.day, in el_print_timestamp()
|
/arch/ia64/hp/sim/boot/ |
D | fw-emu.c | 96 tp->day = days + 1; in offtime()
|