Home
last modified time | relevance | path

Searched refs:RTC_HOURS (Results 1 – 2 of 2) sorted by relevance

/external/qemu/hw/
Dmc146818rtc.c37 #define RTC_HOURS 4 macro
225 case RTC_HOURS: in cmos_ioport_write()
291 tm->tm_hour = rtc_from_bcd(s, s->cmos_data[RTC_HOURS] & 0x7f); in rtc_set_time()
293 (s->cmos_data[RTC_HOURS] & 0x80)) { in rtc_set_time()
311 s->cmos_data[RTC_HOURS] = rtc_to_bcd(s, tm->tm_hour); in rtc_copy_date()
314 s->cmos_data[RTC_HOURS] = rtc_to_bcd(s, tm->tm_hour % 12); in rtc_copy_date()
316 s->cmos_data[RTC_HOURS] |= 0x80; in rtc_copy_date()
452 case RTC_HOURS: in cmos_ioport_read()
/external/kernel-headers/original/linux/
Dmc146818rtc.h30 #define RTC_HOURS 4 macro