Home
last modified time | relevance | path

Searched refs:tm_mon (Results 1 – 25 of 31) sorted by relevance

12

/arch/powerpc/platforms/maple/
Dtime.c64 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/
Dtime.c104 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/
Drtc_m41t81.c178 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()
Drtc_xicor1241.c137 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/
Dopal-rtc.c27 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/
Dintersil.c51 todintersil->month = t->tm_mon; in sun3_hwclk()
61 t->tm_mon = todintersil->month; in sun3_hwclk()
/arch/powerpc/kernel/
Drtas-rtc.c82 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/
Dtime.c54 h->month = bin2bcd(t->tm_mon); in sun3x_hwclk()
64 t->tm_mon = bcd2bin(h->month); in sun3x_hwclk()
/arch/parisc/include/asm/
Drtc.h93 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/
Dtime.c136 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/
Dconfig.c214 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/
Drtc.c55 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/
Drtc.c59 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()
Dconfig.c284 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/
Drtc.h51 int tm_mon; member
/arch/powerpc/platforms/8xx/
Dm8xx_setup.c175 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/
Dtime.c84 ts->tv_sec = mktime(time.tm_year, time.tm_mon, time.tm_mday, in read_persistent_clock()
/arch/powerpc/platforms/cell/
Dbeat.c62 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/
Dconfig.c224 t->tm_mon=rtc->month; in dn_dummy_hwclk()
233 rtc->month=t->tm_mon; in dn_dummy_hwclk()
/arch/m68k/q40/
Dconfig.c238 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/
Dtimers.c128 t->tm_year = t->tm_mon = t->tm_mday = 1; in m68328_hwclk()
/arch/powerpc/platforms/ps3/
Dtime.c38 pr_debug("%s:%d tm_mon %d\n", func, line, tm->tm_mon); in _dump_tm()
/arch/m68k/mac/
Dmisc.c719 &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/
Dtime.c91 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/
Drtc.c33 ts->tv_sec = mktime(tm.tm_year, tm.tm_mon, tm.tm_mday, in read_persistent_clock()

12