/arch/m68k/atari/ |
D | time.c | 142 int hour, year; in atari_mste_hwclk() local 157 hour = t->tm_hour; in atari_mste_hwclk() 159 if (hour > 11) in atari_mste_hwclk() 160 hour += 20 - 12; in atari_mste_hwclk() 161 if (hour == 0 || hour == 20) in atari_mste_hwclk() 162 hour += 12; in atari_mste_hwclk() 164 val.hr_ones = hour % 10; in atari_mste_hwclk() 165 val.hr_tens = hour / 10; in atari_mste_hwclk() 183 hour = val.hr_ones + val.hr_tens * 10; in atari_mste_hwclk() 185 if (hour == 12 || hour == 12 + 20) in atari_mste_hwclk() [all …]
|
/arch/mips/sibyte/swarm/ |
D | rtc_xicor1241.c | 169 unsigned int year, mon, day, hour, min, sec, y2k; in xicor_get_time() local 175 hour = xicor_read(X1241REG_HR); in xicor_get_time() 177 if (hour & X1241REG_HR_MIL) { in xicor_get_time() 178 hour &= 0x3f; in xicor_get_time() 180 if (hour & 0x20) in xicor_get_time() 181 hour = (hour & 0xf) + 0x12; in xicor_get_time() 192 hour = bcd2bin(hour); in xicor_get_time() 200 return mktime64(year, mon, day, hour, min, sec); in xicor_get_time()
|
D | rtc_m41t81.c | 188 unsigned int year, mon, day, hour, min, sec; in m41t81_get_time() local 201 hour = m41t81_read(M41T81REG_HR) & 0x3f; in m41t81_get_time() 209 hour = bcd2bin(hour); in m41t81_get_time() 216 return mktime64(year, mon, day, hour, min, sec); in m41t81_get_time()
|
/arch/mips/include/asm/ |
D | mc146818-time.h | 91 unsigned int year, mon, day, hour, min, sec; in mc146818_get_cmos_time() local 99 hour = CMOS_READ(RTC_HOURS); in mc146818_get_cmos_time() 108 hour = bcd2bin(hour); in mc146818_get_cmos_time() 116 return mktime64(year, mon, day, hour, min, sec); in mc146818_get_cmos_time()
|
/arch/mips/dec/ |
D | time.c | 24 unsigned int year, mon, day, hour, min, sec, real_year; in read_persistent_clock64() local 32 hour = CMOS_READ(RTC_HOURS); in read_persistent_clock64() 49 hour = bcd2bin(hour); in read_persistent_clock64() 57 ts->tv_sec = mktime64(year, mon, day, hour, min, sec); in read_persistent_clock64()
|
/arch/powerpc/platforms/chrp/ |
D | time.c | 132 unsigned int year, mon, day, hour, min, sec; in chrp_get_rtc_time() local 137 hour = chrp_cmos_clock_read(RTC_HOURS); in chrp_get_rtc_time() 146 hour = bcd2bin(hour); in chrp_get_rtc_time() 155 tm->tm_hour = hour; in chrp_get_rtc_time()
|
/arch/sh/boards/mach-sh03/ |
D | rtc.c | 43 unsigned int year, mon, day, hour, min, sec; in sh03_rtc_gettimeofday() local 50 hour = (__raw_readb(RTC_HOU1) & 0xf) + (__raw_readb(RTC_HOU10) & 0xf) * 10; in sh03_rtc_gettimeofday() 58 hour > 23 || min > 59 || sec > 59) { in sh03_rtc_gettimeofday() 62 year, mon, day, hour, min, sec); in sh03_rtc_gettimeofday() 81 tm->tm_hour = hour; in sh03_rtc_gettimeofday()
|
/arch/powerpc/platforms/maple/ |
D | time.c | 80 int sec, min, hour, mon, mday, year; in maple_set_rtc_time() local 94 hour = tm->tm_hour; in maple_set_rtc_time() 102 hour = bin2bcd(hour); in maple_set_rtc_time() 109 maple_clock_write(hour, RTC_HOURS); in maple_set_rtc_time()
|
/arch/m68k/sun3/ |
D | intersil.c | 41 todintersil->hour = t->tm_hour; in sun3_hwclk() 51 t->tm_hour = todintersil->hour; in sun3_hwclk()
|
/arch/m68k/sun3x/ |
D | time.c | 52 h->hour = bin2bcd(t->tm_hour); in sun3x_hwclk() 62 t->tm_hour = bcd2bin(h->hour); in sun3x_hwclk()
|
D | time.h | 12 volatile unsigned char hour; member
|
/arch/m68k/include/asm/ |
D | intersil.h | 30 unsigned char hour; member
|
/arch/alpha/include/asm/ |
D | err_common.h | 73 u8 hour; member
|
/arch/powerpc/kernel/ |
D | rtas-proc.c | 372 unsigned int year, mon, day, hour, min, sec; in ppc_rtas_clock_show() local 374 hour = ret[3]; min = ret[4]; sec = ret[5]; in ppc_rtas_clock_show() 376 mktime64(year, mon, day, hour, min, sec)); in ppc_rtas_clock_show()
|
/arch/alpha/kernel/ |
D | err_common.c | 175 timestamp->b.year, timestamp->b.hour, in el_print_timestamp()
|
/arch/ia64/kernel/ |
D | efi.c | 264 tm.hour, tm.minute, tm.second); in STUB_GET_TIME()
|