Home
last modified time | relevance | path

Searched refs:tm_hour (Results 1 – 25 of 32) sorted by relevance

12

/arch/mips/sibyte/swarm/
Drtc_xicor1241.c151 tm.tm_hour = bin2bcd(tm.tm_hour); in xicor_set_time()
152 tmp = (tmp & ~0x3f) | (tm.tm_hour & 0x3f); in xicor_set_time()
156 if (tm.tm_hour >= 12) { in xicor_set_time()
158 tm.tm_hour -= 12; in xicor_set_time()
160 tm.tm_hour = bin2bcd(tm.tm_hour); in xicor_set_time()
161 tmp |= tm.tm_hour; in xicor_set_time()
Drtc_m41t81.c165 tm.tm_hour = bin2bcd(tm.tm_hour); in m41t81_set_time()
166 tm.tm_hour = (tm.tm_hour & 0x3f) | (m41t81_read(M41T81REG_HR) & 0xc0); in m41t81_set_time()
167 m41t81_write(M41T81REG_HR, tm.tm_hour); in m41t81_set_time()
/arch/powerpc/platforms/maple/
Dtime.c62 tm->tm_hour = maple_clock_read(RTC_HOURS); in maple_get_rtc_time()
72 tm->tm_hour = bcd2bin(tm->tm_hour); in maple_get_rtc_time()
100 hour = tm->tm_hour; in maple_set_rtc_time()
174 tm.tm_hour, tm.tm_min, tm.tm_sec); in maple_get_boot_time()
/arch/powerpc/platforms/chrp/
Dtime.c103 tm.tm_hour = bin2bcd(tm.tm_hour); in chrp_set_rtc_time()
110 chrp_cmos_clock_write(tm.tm_hour,RTC_HOURS); in chrp_set_rtc_time()
154 tm->tm_hour = hour; in chrp_get_rtc_time()
/arch/powerpc/platforms/powernv/
Dopal-rtc.c29 tm->tm_hour = bcd2bin((h_m_s_ms >> 56) & 0xff); in opal_to_tm()
62 tm.tm_hour, tm.tm_min, tm.tm_sec); in opal_get_boot_time()
102 h_m_s_ms |= ((u64)bin2bcd(tm->tm_hour)) << 56; in opal_set_rtc_time()
/arch/m68k/sun3/
Dintersil.c48 todintersil->hour = t->tm_hour; in sun3_hwclk()
58 t->tm_hour = todintersil->hour; in sun3_hwclk()
/arch/powerpc/kernel/
Drtas-rtc.c80 rtc_tm->tm_hour = ret[3]; in rtas_get_rtc_time()
95 tm->tm_mday, tm->tm_hour, tm->tm_min, in rtas_set_rtc_time()
/arch/m68k/sun3x/
Dtime.c51 h->hour = bin2bcd(t->tm_hour); in sun3x_hwclk()
61 t->tm_hour = bcd2bin(h->hour); in sun3x_hwclk()
/arch/parisc/include/asm/
Drtc.h66 wtime->tm_hour = rem / SECS_PER_HOUR; in get_rtc_time()
104 wtime->tm_hour, wtime->tm_min, wtime->tm_sec); in set_rtc_time()
/arch/m68k/hp300/
Dconfig.c209 t->tm_hour = (hp300_rtc_read(RTC_REG_HOUR1) & 3) * 10 + in hp300_hwclk()
226 ((t->tm_hour / 10) & 3) | RTC_HOUR1_24HMODE); in hp300_hwclk()
227 hp300_rtc_write(RTC_REG_HOUR2, t->tm_hour % 10); in hp300_hwclk()
/arch/m68k/mvme16x/
Drtc.c53 wtime.tm_hour = bcd2bin(rtc->bcd_hr); in rtc_ioctl()
82 hrs = rtc_tm.tm_hour; in rtc_ioctl()
/arch/m68k/atari/
Dtime.c125 hour = t->tm_hour; in atari_mste_hwclk()
158 t->tm_hour = hour; in atari_mste_hwclk()
182 hour = t->tm_hour; in atari_tt_hwclk()
279 t->tm_hour = hour; in atari_tt_hwclk()
/arch/m68k/bvme6000/
Drtc.c57 wtime.tm_hour = bcd2bin(rtc->bcd_hr); in rtc_ioctl()
87 hrs = rtc_tm.tm_hour; in rtc_ioctl()
Dconfig.c282 rtc->bcd_hr = bin2bcd(t->tm_hour); in bvme6000_hwclk()
295 t->tm_hour = bcd2bin(rtc->bcd_hr); in bvme6000_hwclk()
/arch/m32r/include/asm/
Drtc.h49 int tm_hour; member
/arch/m68k/kernel/
Dtime.c85 time.tm_hour, time.tm_min, time.tm_sec); in read_persistent_clock()
/arch/m68k/apollo/
Dconfig.c221 t->tm_hour=rtc->hours; in dn_dummy_hwclk()
229 rtc->hours=t->tm_hour; in dn_dummy_hwclk()
/arch/m68k/q40/
Dconfig.c236 Q40_RTC_HOUR = bin2bcd(t->tm_hour); in q40_hwclk()
251 t->tm_hour = bcd2bin (Q40_RTC_HOUR); in q40_hwclk()
/arch/m68k/68000/
Dtimers.c129 t->tm_hour = (now >> 24) % 24; in m68328_hwclk()
/arch/powerpc/platforms/ps3/
Dtime.c36 pr_debug("%s:%d tm_hour %d\n", func, line, tm->tm_hour); in _dump_tm()
/arch/m68k/mac/
Dmisc.c720 &t->tm_hour, &t->tm_min, &t->tm_sec); in mac_hwclk()
724 t->tm_hour, t->tm_min, t->tm_sec); in mac_hwclk()
730 t->tm_hour, t->tm_min, t->tm_sec); in mac_hwclk()
734 t->tm_hour, t->tm_min, t->tm_sec); in mac_hwclk()
/arch/mn10300/kernel/
Drtc.c34 tm.tm_hour, tm.tm_min, tm.tm_sec); in read_persistent_clock()
/arch/x86/platform/intel-mid/
Dintel_mid_vrtc.c107 vrtc_cmos_write(tm.tm_hour, RTC_HOURS); in vrtc_set_mmss()
/arch/m68k/mvme147/
Dconfig.c159 t->tm_hour = bcd2int (m147_rtc->bcd_hr); in mvme147_hwclk()
/arch/powerpc/platforms/8xx/
Dm8xx_setup.c176 tm->tm_hour, tm->tm_min, tm->tm_sec); in mpc8xx_set_rtc_time()

12