Lines Matching defs:hour
25 #define RTC_HOURS_12H_MODE BIT(22) /* 12 hour mode */
71 unsigned int year, month, day, hour, minute, second, wday;
78 hour = (rtc_time >> RTC_HOURS_OFFS) & 0x3f; /* assume 24 hour mode */
87 tm->tm_hour = bcd2bin(hour);
102 unsigned int year, month, day, hour, minute, second, wday;
109 hour = (rtc_time >> RTC_HOURS_OFFS) & 0x3f; /* assume 24 hour mode */
118 alm->time.tm_hour = bcd2bin(hour);
227 /* make sure the 24 hour mode is enabled */