/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 mktime64(year, mon, day, hour, min, sec); in mc146818_get_cmos_time()
|
D | m48t37.h | 26 volatile u8 day; member
|
D | sgiarcs.h | 136 unsigned short day; member
|
/arch/sh/boards/mach-sh03/ |
D | rtc.c | 44 unsigned int year, mon, day, hour, min, sec; in sh03_rtc_gettimeofday() local 52 day = (__raw_readb(RTC_DAY1) & 0xf) + (__raw_readb(RTC_DAY10) & 0xf) * 10; in sh03_rtc_gettimeofday() 58 if (year == 0 || mon < 1 || mon > 12 || day > 31 || day < 1 || in sh03_rtc_gettimeofday() 63 year, mon, day, hour, min, sec); in sh03_rtc_gettimeofday() 83 tm->tm_mday = day; in sh03_rtc_gettimeofday()
|
/arch/mips/dec/ |
D | time.c | 24 unsigned int year, mon, day, hour, min, sec, real_year; in read_persistent_clock64() local 33 day = CMOS_READ(RTC_DAY_OF_MONTH); in read_persistent_clock64() 50 day = bcd2bin(day); in read_persistent_clock64() 57 ts->tv_sec = mktime64(year, mon, day, hour, min, sec); in read_persistent_clock64()
|
/arch/m68k/mvme16x/ |
D | rtc.c | 69 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local 82 day = rtc_tm.tm_mday; in rtc_ioctl() 89 if ((mon > 12) || (day == 0)) in rtc_ioctl() 92 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl() 107 rtc->bcd_dom = bin2bcd(day); in rtc_ioctl()
|
D | config.c | 294 p->rev & 0xf, p->yr, p->mth, p->day); in config_mvme16x()
|
/arch/powerpc/platforms/chrp/ |
D | time.c | 134 unsigned int year, mon, day, hour, min, sec; in chrp_get_rtc_time() local 140 day = chrp_cmos_clock_read(RTC_DAY_OF_MONTH); in chrp_get_rtc_time() 149 day = bcd2bin(day); in chrp_get_rtc_time() 158 tm->tm_mday = day; in chrp_get_rtc_time()
|
/arch/m68k/atari/ |
D | time.c | 200 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; in atari_tt_hwclk() local 214 day = t->tm_mday; in atari_tt_hwclk() 233 day = bin2bcd(day); in atari_tt_hwclk() 266 day = RTC_READ( RTC_DAY_OF_MONTH ); in atari_tt_hwclk() 275 RTC_WRITE( RTC_DAY_OF_MONTH, day ); in atari_tt_hwclk() 295 day = bcd2bin(day); in atari_tt_hwclk() 311 t->tm_mday = day; in atari_tt_hwclk()
|
/arch/m68k/bvme6000/ |
D | rtc.c | 74 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local 87 day = rtc_tm.tm_mday; in rtc_ioctl() 94 if ((mon > 12) || (mon < 1) || (day == 0)) in rtc_ioctl() 97 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl() 116 rtc->bcd_dom = bin2bcd(day); in rtc_ioctl()
|
/arch/x86/kernel/ |
D | rtc.c | 65 unsigned int status, year, mon, day, hour, min, sec, century = 0; in mach_get_cmos_time() local 91 day = CMOS_READ(RTC_DAY_OF_MONTH); in mach_get_cmos_time() 110 day = bcd2bin(day); in mach_get_cmos_time() 121 now->tv_sec = mktime64(year, mon, day, hour, min, sec); in mach_get_cmos_time()
|
/arch/mips/sibyte/swarm/ |
D | rtc_xicor1241.c | 169 unsigned int year, mon, day, hour, min, sec, y2k; in xicor_get_time() local 184 day = xicor_read(X1241REG_DT); in xicor_get_time() 193 day = bcd2bin(day); in xicor_get_time() 200 return mktime64(year, mon, day, hour, min, sec); in xicor_get_time()
|
D | rtc_m41t81.c | 188 unsigned int year, mon, day, hour, min, sec; in m41t81_get_time() local 202 day = m41t81_read(M41T81REG_DT); in m41t81_get_time() 210 day = bcd2bin(day); in m41t81_get_time() 216 return mktime64(year, mon, day, hour, min, sec); in m41t81_get_time()
|
/arch/m68k/sun3/ |
D | intersil.c | 45 todintersil->day = t->tm_mday; in sun3_hwclk() 55 t->tm_mday = todintersil->day; in sun3_hwclk()
|
/arch/m68k/include/asm/ |
D | intersil.h | 34 unsigned char day; member
|
/arch/m68k/include/uapi/asm/ |
D | bootinfo-vme.h | 50 __u8 rev, mth, day, yr; member
|
/arch/alpha/include/asm/ |
D | err_common.h | 74 u8 day; member
|
/arch/powerpc/kernel/ |
D | rtas-proc.c | 377 unsigned int year, mon, day, hour, min, sec; in ppc_rtas_clock_show() local 378 year = ret[0]; mon = ret[1]; day = ret[2]; in ppc_rtas_clock_show() 381 mktime64(year, mon, day, hour, min, sec)); in ppc_rtas_clock_show()
|
/arch/s390/include/uapi/asm/ |
D | vtoc.h | 38 __u16 day; member
|
/arch/alpha/kernel/ |
D | err_common.c | 174 timestamp->b.month, timestamp->b.day, in el_print_timestamp()
|
/arch/sparc/lib/ |
D | checksum_32.S | 445 add %o1, 4, %o1 ! is worthy). Maybe some day - with the sll/srl
|
/arch/ia64/kernel/ |
D | efi.c | 252 ts->tv_sec = mktime64(tm.year, tm.month, tm.day, in STUB_GET_TIME()
|
/arch/x86/ |
D | Kconfig | 809 timing infrastructure such as time of day, and system time
|