/arch/cris/arch-v10/drivers/ |
D | pcf8563.c | 116 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()
|
D | ds1302.c | 213 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/ |
D | time.c | 63 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/ |
D | time.c | 105 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/ |
D | opal-rtc.c | 27 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/ |
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 | rtas-rtc.c | 81 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/ |
D | time.c | 53 h->mday = bin2bcd(t->tm_mday); in sun3x_hwclk() 63 t->tm_mday = bcd2bin(h->mday); in sun3x_hwclk()
|
/arch/parisc/include/asm/ |
D | rtc.h | 94 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/ |
D | rtc_xicor1241.c | 133 tm.tm_mday = bin2bcd(tm.tm_mday); in xicor_set_time() 134 xicor_write(X1241REG_DT, tm.tm_mday); in xicor_set_time()
|
D | rtc_m41t81.c | 174 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/ |
D | time.c | 134 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/ |
D | config.c | 210 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/ |
D | rtc.c | 54 wtime.tm_mday = bcd2bin(rtc->bcd_dom); in rtc_ioctl() 81 day = rtc_tm.tm_mday; in rtc_ioctl()
|
/arch/m32r/include/asm/ |
D | rtc.h | 50 int tm_mday; member
|
/arch/m68k/bvme6000/ |
D | rtc.c | 58 wtime.tm_mday = bcd2bin(rtc->bcd_dom); in rtc_ioctl() 86 day = rtc_tm.tm_mday; in rtc_ioctl()
|
D | config.c | 281 rtc->bcd_dom = bin2bcd(t->tm_mday); in bvme6000_hwclk() 294 t->tm_mday = bcd2bin(rtc->bcd_dom); in bvme6000_hwclk()
|
/arch/m68k/kernel/ |
D | time.c | 78 ts->tv_sec = mktime(time.tm_year, time.tm_mon, time.tm_mday, in read_persistent_clock()
|
/arch/m68k/apollo/ |
D | config.c | 219 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/ |
D | timers.c | 126 t->tm_year = t->tm_mon = t->tm_mday = 1; in m68328_hwclk()
|
/arch/m68k/q40/ |
D | config.c | 237 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/ |
D | rtc.h | 86 int tm_mday; member
|
/arch/powerpc/platforms/ps3/ |
D | time.c | 37 pr_debug("%s:%d tm_mday %d\n", func, line, tm->tm_mday); in _dump_tm()
|
/arch/m68k/mac/ |
D | misc.c | 721 &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/ |
D | rtc.c | 33 ts->tv_sec = mktime(tm.tm_year, tm.tm_mon, tm.tm_mday, in read_persistent_clock()
|