/arch/powerpc/platforms/maple/ |
D | time.c | 64 tm->tm_mon = maple_clock_read(RTC_MONTH); in maple_get_rtc_time() 74 tm->tm_mon = bcd2bin(tm->tm_mon); in maple_get_rtc_time() 101 mon = tm->tm_mon; 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 | 104 tm.tm_mon = bin2bcd(tm.tm_mon); in chrp_set_rtc_time() 111 chrp_cmos_clock_write(tm.tm_mon,RTC_MONTH); in chrp_set_rtc_time() 156 tm->tm_mon = mon; in chrp_get_rtc_time()
|
/arch/mips/sibyte/swarm/ |
D | rtc_m41t81.c | 178 tm.tm_mon ++; in m41t81_set_time() 179 tm.tm_mon = bin2bcd(tm.tm_mon); in m41t81_set_time() 180 m41t81_write(M41T81REG_MO, tm.tm_mon); in m41t81_set_time()
|
D | rtc_xicor1241.c | 137 tm.tm_mon ++; in xicor_set_time() 138 tm.tm_mon = bin2bcd(tm.tm_mon); in xicor_set_time() 139 xicor_write(X1241REG_MO, tm.tm_mon); in xicor_set_time()
|
/arch/powerpc/platforms/powernv/ |
D | opal-rtc.c | 27 tm->tm_mon = bcd2bin((y_m_d >> 8) & 0xff) - 1; in opal_to_tm() 61 return mktime(tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, in opal_get_boot_time() 99 y_m_d |= ((u32)bin2bcd((tm->tm_mon + 1))) << 8; in opal_set_rtc_time()
|
/arch/m68k/sun3/ |
D | intersil.c | 51 todintersil->month = t->tm_mon; in sun3_hwclk() 61 t->tm_mon = todintersil->month; in sun3_hwclk()
|
/arch/powerpc/kernel/ |
D | rtas-rtc.c | 82 rtc_tm->tm_mon = ret[1] - 1; in rtas_get_rtc_time() 94 tm->tm_year + 1900, tm->tm_mon + 1, in rtas_set_rtc_time()
|
/arch/m68k/sun3x/ |
D | time.c | 54 h->month = bin2bcd(t->tm_mon); in sun3x_hwclk() 64 t->tm_mon = bcd2bin(h->month); in sun3x_hwclk()
|
/arch/parisc/include/asm/ |
D | rtc.h | 93 wtime->tm_mon = y; in get_rtc_time() 103 secs = mktime(wtime->tm_year + 1900, wtime->tm_mon + 1, wtime->tm_mday, in set_rtc_time()
|
/arch/m68k/atari/ |
D | time.c | 136 val.mon_ones = (t->tm_mon+1) % 10; in atari_mste_hwclk() 137 val.mon_tens = (t->tm_mon+1) / 10; in atari_mste_hwclk() 160 t->tm_mon = val.mon_ones + val.mon_tens * 10 - 1; in atari_mste_hwclk() 184 mon = t->tm_mon + 1; in atari_tt_hwclk() 281 t->tm_mon = mon - 1; in atari_tt_hwclk()
|
/arch/m68k/hp300/ |
D | config.c | 214 t->tm_mon = hp300_rtc_read(RTC_REG_MON1) * 10 + in hp300_hwclk() 230 hp300_rtc_write(RTC_REG_MON1, (t->tm_mon + 1) / 10); in hp300_hwclk() 231 hp300_rtc_write(RTC_REG_MON2, (t->tm_mon + 1) % 10); in hp300_hwclk()
|
/arch/m68k/mvme16x/ |
D | rtc.c | 55 wtime.tm_mon = bcd2bin(rtc->bcd_mth)-1; in rtc_ioctl() 80 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */ in rtc_ioctl()
|
/arch/m68k/bvme6000/ |
D | rtc.c | 59 wtime.tm_mon = bcd2bin(rtc->bcd_mth)-1; in rtc_ioctl() 85 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */ in rtc_ioctl()
|
D | config.c | 284 rtc->bcd_mth = bin2bcd(t->tm_mon + 1); in bvme6000_hwclk() 297 t->tm_mon = bcd2bin(rtc->bcd_mth)-1; in bvme6000_hwclk()
|
/arch/m32r/include/asm/ |
D | rtc.h | 51 int tm_mon; member
|
/arch/powerpc/platforms/8xx/ |
D | m8xx_setup.c | 175 time = mktime(tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday, in mpc8xx_set_rtc_time() 196 tm->tm_mon -= 1; in mpc8xx_get_rtc_time()
|
/arch/m68k/kernel/ |
D | time.c | 84 ts->tv_sec = mktime(time.tm_year, time.tm_mon, time.tm_mday, in read_persistent_clock()
|
/arch/powerpc/platforms/cell/ |
D | beat.c | 62 rtc_time->tm_mon+1, rtc_time->tm_mday, in beat_set_rtc_time() 77 rtc_time->tm_mon -= 1; in beat_get_rtc_time()
|
/arch/m68k/apollo/ |
D | config.c | 224 t->tm_mon=rtc->month; in dn_dummy_hwclk() 233 rtc->month=t->tm_mon; in dn_dummy_hwclk()
|
/arch/m68k/q40/ |
D | config.c | 238 Q40_RTC_MNTH = bin2bcd(t->tm_mon + 1); in q40_hwclk() 249 t->tm_mon = bcd2bin (Q40_RTC_MNTH)-1; in q40_hwclk()
|
/arch/m68k/68000/ |
D | timers.c | 128 t->tm_year = t->tm_mon = t->tm_mday = 1; in m68328_hwclk()
|
/arch/powerpc/platforms/ps3/ |
D | time.c | 38 pr_debug("%s:%d tm_mon %d\n", func, line, tm->tm_mon); in _dump_tm()
|
/arch/m68k/mac/ |
D | misc.c | 719 &t->tm_year, &t->tm_mon, &t->tm_mday, in mac_hwclk() 723 t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, in mac_hwclk() 729 t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, in mac_hwclk() 733 now = mktime(t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, in mac_hwclk()
|
/arch/powerpc/platforms/powermac/ |
D | time.c | 91 tm->tm_mon -= 1; in to_rtc_time() 99 return mktime(tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday, in from_rtc_time()
|
/arch/mn10300/kernel/ |
D | rtc.c | 33 ts->tv_sec = mktime(tm.tm_year, tm.tm_mon, tm.tm_mday, in read_persistent_clock()
|