Lines Matching refs:RTC_REG_B
82 return (!(s->cmos_data[RTC_REG_B] & REG_B_SET) && in rtc_running()
140 if (!(s->cmos_data[RTC_REG_B] & REG_B_PIE)) { in rtc_periodic_clock_ticks()
234 if (s->cmos_data[RTC_REG_B] & REG_B_PIE) { in rtc_periodic_timer()
287 if ((s->cmos_data[RTC_REG_B] & REG_B_SET) || in check_update_timer()
304 if (!(s->cmos_data[RTC_REG_B] & REG_B_24H)) { in convert_hour()
418 if (s->cmos_data[RTC_REG_B] & REG_B_AIE) { in rtc_update_timer()
425 if ((new_irqs & s->cmos_data[RTC_REG_B]) != 0) { in rtc_update_timer()
486 if (!(s->cmos_data[RTC_REG_B] & REG_B_SET)) { in cmos_ioport_write()
503 case RTC_REG_B: in cmos_ioport_write()
504 update_periodic_timer = (s->cmos_data[RTC_REG_B] ^ data) in cmos_ioport_write()
518 if ((s->cmos_data[RTC_REG_B] & REG_B_SET) && in cmos_ioport_write()
533 s->cmos_data[RTC_REG_B] = data; in cmos_ioport_write()
555 if (s->cmos_data[RTC_REG_B] & REG_B_DM) { in rtc_to_bcd()
567 if (s->cmos_data[RTC_REG_B] & REG_B_DM) { in rtc_from_bcd()
579 if (!(s->cmos_data[RTC_REG_B] & REG_B_24H)) { in rtc_get_time()
611 if (s->cmos_data[RTC_REG_B] & REG_B_24H) { in rtc_set_cmos()
640 if ((s->cmos_data[RTC_REG_B] & REG_B_SET) == 0) { in rtc_update_time()
713 (s->cmos_data[RTC_REG_B] & REG_B_PIE) && in cmos_ioport_read()
880 s->cmos_data[RTC_REG_B] = 0x02; in rtc_realizefn()
982 s->cmos_data[RTC_REG_B] &= ~(REG_B_PIE | REG_B_AIE | REG_B_SQWE); in rtc_reset_enter()