Home
last modified time | relevance | path

Searched refs:day (Results 1 – 23 of 23) sorted by relevance

/arch/mips/include/asm/
Dmc146818-time.h91 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()
Dm48t37.h26 volatile u8 day; member
Dsgiarcs.h136 unsigned short day; member
/arch/sh/boards/mach-sh03/
Drtc.c44 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/
Dtime.c24 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/
Drtc.c69 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()
Dconfig.c294 p->rev & 0xf, p->yr, p->mth, p->day); in config_mvme16x()
/arch/powerpc/platforms/chrp/
Dtime.c134 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/
Dtime.c200 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/
Drtc.c74 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/
Drtc.c65 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/
Drtc_xicor1241.c169 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()
Drtc_m41t81.c188 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/
Dintersil.c45 todintersil->day = t->tm_mday; in sun3_hwclk()
55 t->tm_mday = todintersil->day; in sun3_hwclk()
/arch/m68k/include/asm/
Dintersil.h34 unsigned char day; member
/arch/m68k/include/uapi/asm/
Dbootinfo-vme.h50 __u8 rev, mth, day, yr; member
/arch/alpha/include/asm/
Derr_common.h74 u8 day; member
/arch/powerpc/kernel/
Drtas-proc.c377 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/
Dvtoc.h38 __u16 day; member
/arch/alpha/kernel/
Derr_common.c174 timestamp->b.month, timestamp->b.day, in el_print_timestamp()
/arch/sparc/lib/
Dchecksum_32.S445 add %o1, 4, %o1 ! is worthy). Maybe some day - with the sll/srl
/arch/ia64/kernel/
Defi.c252 ts->tv_sec = mktime64(tm.year, tm.month, tm.day, in STUB_GET_TIME()
/arch/x86/
DKconfig809 timing infrastructure such as time of day, and system time