Searched refs:rtc_control (Results 1 – 6 of 6) sorted by relevance
142 unsigned char rtc_control; in mrst_read_alarm() local153 rtc_control = vrtc_cmos_read(RTC_CONTROL); in mrst_read_alarm()156 t->enabled = !!(rtc_control & RTC_AIE); in mrst_read_alarm()162 static void mrst_checkintr(struct mrst_rtc *mrst, unsigned char rtc_control) in mrst_checkintr() argument171 rtc_intr &= (rtc_control & RTC_IRQMASK) | RTC_IRQF; in mrst_checkintr()178 unsigned char rtc_control; in mrst_irq_enable() local184 rtc_control = vrtc_cmos_read(RTC_CONTROL); in mrst_irq_enable()185 mrst_checkintr(mrst, rtc_control); in mrst_irq_enable()187 rtc_control |= mask; in mrst_irq_enable()188 vrtc_cmos_write(rtc_control, RTC_CONTROL); in mrst_irq_enable()[all …]
255 unsigned char rtc_control; member282 p->rtc_control = CMOS_READ(RTC_CONTROL); in cmos_read_alarm_callback()313 if (!(p.rtc_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in cmos_read_alarm()342 t->enabled = !!(p.rtc_control & RTC_AIE); in cmos_read_alarm()348 static void cmos_checkintr(struct cmos_rtc *cmos, unsigned char rtc_control) in cmos_checkintr() argument360 rtc_intr &= (rtc_control & RTC_IRQMASK) | RTC_IRQF; in cmos_checkintr()367 unsigned char rtc_control; in cmos_irq_enable() local372 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_irq_enable()373 cmos_checkintr(cmos, rtc_control); in cmos_irq_enable()375 rtc_control |= mask; in cmos_irq_enable()[all …]
264 u8 rtc_control; in twl_rtc_read_time() local286 rtc_control = save_control | BIT_RTC_CTRL_REG_GET_TIME_M; in twl_rtc_read_time()290 rtc_control |= BIT_RTC_CTRL_REG_RTC_V_OPT; in twl_rtc_read_time()292 ret = twl_rtc_write_u8(twl_rtc, rtc_control, REG_RTC_CTRL_REG); in twl_rtc_read_time()
159 u8 rtc_control; member832 if (the_menelaus->rtc_control & RTC_CTRL_MODE12) { in menelaus_to_time()855 if (the_menelaus->rtc_control & RTC_CTRL_MODE12) { in time_to_menelaus()968 w->enabled = !!(the_menelaus->rtc_control & RTC_CTRL_AL_EN); in menelaus_read_alarm()984 if (the_menelaus->rtc_control & RTC_CTRL_AL_EN) { in menelaus_set_alarm()985 the_menelaus->rtc_control &= ~RTC_CTRL_AL_EN; in menelaus_set_alarm()987 the_menelaus->rtc_control); in menelaus_set_alarm()999 the_menelaus->rtc_control |= RTC_CTRL_AL_EN; in menelaus_set_alarm()1001 the_menelaus->rtc_control); in menelaus_set_alarm()1025 if (the_menelaus->rtc_control & RTC_CTRL_AL_EN) in menelaus_ioctl()[all …]
43 enum rtc_control { enum
315 enum rtc_control { enum