Home
last modified time | relevance | path

Searched refs:tm_mday (Results 1 – 25 of 34) sorted by relevance

12

/arch/cris/arch-v10/drivers/
Dpcf8563.c116 tm->tm_mday = rtc_read(RTC_DAY_OF_MONTH); in get_rtc_time()
131 tm->tm_mday &= 0x3F; in get_rtc_time()
138 tm->tm_mday = bcd2bin(tm->tm_mday); in get_rtc_time()
274 (tm.tm_mday == 0) || in pcf8563_ioctl()
275 (tm.tm_mday > days_in_month[tm.tm_mon] + leap) || in pcf8563_ioctl()
287 tm.tm_mday = bin2bcd(tm.tm_mday); in pcf8563_ioctl()
298 rtc_write(RTC_DAY_OF_MONTH, tm.tm_mday); in pcf8563_ioctl()
Dds1302.c213 rtc_tm->tm_mday = CMOS_READ(RTC_DAY_OF_MONTH); in get_rtc_time()
222 rtc_tm->tm_mday = bcd2bin(rtc_tm->tm_mday); in get_rtc_time()
272 day = rtc_tm.tm_mday; in rtc_ioctl()
382 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday); in print_rtc_status()
/arch/powerpc/platforms/maple/
Dtime.c63 tm->tm_mday = maple_clock_read(RTC_DAY_OF_MONTH); in maple_get_rtc_time()
73 tm->tm_mday = bcd2bin(tm->tm_mday); in maple_get_rtc_time()
102 mday = tm->tm_mday; in maple_set_rtc_time()
173 return mktime(tm.tm_year+1900, tm.tm_mon+1, tm.tm_mday, in maple_get_boot_time()
/arch/powerpc/platforms/chrp/
Dtime.c105 tm.tm_mday = bin2bcd(tm.tm_mday); in chrp_set_rtc_time()
112 chrp_cmos_clock_write(tm.tm_mday,RTC_DAY_OF_MONTH); in chrp_set_rtc_time()
155 tm->tm_mday = day; in chrp_get_rtc_time()
/arch/powerpc/platforms/powernv/
Dopal-rtc.c27 tm->tm_mday = bcd2bin(y_m_d & 0xff); in opal_to_tm()
52 return mktime(tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, in opal_get_boot_time()
83 y_m_d |= ((u32)bin2bcd(tm->tm_mday)); in opal_set_rtc_time()
/arch/m68k/sun3/
Dintersil.c52 todintersil->day = t->tm_mday; in sun3_hwclk()
62 t->tm_mday = todintersil->day; in sun3_hwclk()
/arch/powerpc/kernel/
Drtas-rtc.c81 rtc_tm->tm_mday = ret[2]; in rtas_get_rtc_time()
95 tm->tm_mday, tm->tm_hour, tm->tm_min, in rtas_set_rtc_time()
/arch/m68k/sun3x/
Dtime.c53 h->mday = bin2bcd(t->tm_mday); in sun3x_hwclk()
63 t->tm_mday = bcd2bin(h->mday); in sun3x_hwclk()
/arch/parisc/include/asm/
Drtc.h94 wtime->tm_mday = days + 1; in get_rtc_time()
103 secs = mktime(wtime->tm_year + 1900, wtime->tm_mon + 1, wtime->tm_mday, in set_rtc_time()
/arch/mips/sibyte/swarm/
Drtc_xicor1241.c133 tm.tm_mday = bin2bcd(tm.tm_mday); in xicor_set_time()
134 xicor_write(X1241REG_DT, tm.tm_mday); in xicor_set_time()
Drtc_m41t81.c174 tm.tm_mday = bin2bcd(tm.tm_mday); in m41t81_set_time()
175 m41t81_write(M41T81REG_DT, tm.tm_mday); in m41t81_set_time()
/arch/m68k/atari/
Dtime.c134 val.day_ones = t->tm_mday % 10; in atari_mste_hwclk()
135 val.day_tens = t->tm_mday / 10; in atari_mste_hwclk()
159 t->tm_mday = val.day_ones + val.day_tens * 10; in atari_mste_hwclk()
183 day = t->tm_mday; in atari_tt_hwclk()
280 t->tm_mday = day; in atari_tt_hwclk()
/arch/m68k/hp300/
Dconfig.c210 t->tm_mday = hp300_rtc_read(RTC_REG_DAY1) * 10 + in hp300_hwclk()
226 hp300_rtc_write(RTC_REG_DAY1, t->tm_mday / 10); in hp300_hwclk()
227 hp300_rtc_write(RTC_REG_DAY2, t->tm_mday % 10); in hp300_hwclk()
/arch/m68k/mvme16x/
Drtc.c54 wtime.tm_mday = bcd2bin(rtc->bcd_dom); in rtc_ioctl()
81 day = rtc_tm.tm_mday; in rtc_ioctl()
/arch/m32r/include/asm/
Drtc.h50 int tm_mday; member
/arch/m68k/bvme6000/
Drtc.c58 wtime.tm_mday = bcd2bin(rtc->bcd_dom); in rtc_ioctl()
86 day = rtc_tm.tm_mday; in rtc_ioctl()
Dconfig.c281 rtc->bcd_dom = bin2bcd(t->tm_mday); in bvme6000_hwclk()
294 t->tm_mday = bcd2bin(rtc->bcd_dom); in bvme6000_hwclk()
/arch/m68k/kernel/
Dtime.c78 ts->tv_sec = mktime(time.tm_year, time.tm_mon, time.tm_mday, in read_persistent_clock()
/arch/m68k/apollo/
Dconfig.c219 t->tm_mday=rtc->day_of_month; in dn_dummy_hwclk()
227 rtc->day_of_month=t->tm_mday; in dn_dummy_hwclk()
/arch/m68k/platform/68328/
Dtimers.c126 t->tm_year = t->tm_mon = t->tm_mday = 1; in m68328_hwclk()
/arch/m68k/q40/
Dconfig.c237 Q40_RTC_DATE = bin2bcd(t->tm_mday); in q40_hwclk()
250 t->tm_mday = bcd2bin (Q40_RTC_DATE); in q40_hwclk()
/arch/cris/include/asm/
Drtc.h86 int tm_mday; member
/arch/powerpc/platforms/ps3/
Dtime.c37 pr_debug("%s:%d tm_mday %d\n", func, line, tm->tm_mday); in _dump_tm()
/arch/m68k/mac/
Dmisc.c721 &t->tm_year, &t->tm_mon, &t->tm_mday, in mac_hwclk()
725 t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, in mac_hwclk()
731 t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, in mac_hwclk()
735 now = mktime(t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, in mac_hwclk()
/arch/mn10300/kernel/
Drtc.c33 ts->tv_sec = mktime(tm.tm_year, tm.tm_mon, tm.tm_mday, in read_persistent_clock()

12