rtc_control 159 drivers/mfd/menelaus.c u8 rtc_control; rtc_control 832 drivers/mfd/menelaus.c if (the_menelaus->rtc_control & RTC_CTRL_MODE12) { rtc_control 855 drivers/mfd/menelaus.c if (the_menelaus->rtc_control & RTC_CTRL_MODE12) { rtc_control 968 drivers/mfd/menelaus.c w->enabled = !!(the_menelaus->rtc_control & RTC_CTRL_AL_EN); rtc_control 984 drivers/mfd/menelaus.c if (the_menelaus->rtc_control & RTC_CTRL_AL_EN) { rtc_control 985 drivers/mfd/menelaus.c the_menelaus->rtc_control &= ~RTC_CTRL_AL_EN; rtc_control 987 drivers/mfd/menelaus.c the_menelaus->rtc_control); rtc_control 999 drivers/mfd/menelaus.c the_menelaus->rtc_control |= RTC_CTRL_AL_EN; rtc_control 1001 drivers/mfd/menelaus.c the_menelaus->rtc_control); rtc_control 1025 drivers/mfd/menelaus.c if (the_menelaus->rtc_control & RTC_CTRL_AL_EN) rtc_control 1027 drivers/mfd/menelaus.c the_menelaus->rtc_control |= RTC_CTRL_AL_EN; rtc_control 1030 drivers/mfd/menelaus.c if (!(the_menelaus->rtc_control & RTC_CTRL_AL_EN)) rtc_control 1032 drivers/mfd/menelaus.c the_menelaus->rtc_control &= ~RTC_CTRL_AL_EN; rtc_control 1054 drivers/mfd/menelaus.c return menelaus_write_reg(MENELAUS_RTC_CTRL, the_menelaus->rtc_control); rtc_control 1077 drivers/mfd/menelaus.c the_menelaus->rtc_control &= ~RTC_CTRL_AL_EN; rtc_control 1078 drivers/mfd/menelaus.c menelaus_write_reg(MENELAUS_RTC_CTRL, the_menelaus->rtc_control); rtc_control 1109 drivers/mfd/menelaus.c m->rtc_control = menelaus_read_reg(MENELAUS_RTC_CTRL); rtc_control 1110 drivers/mfd/menelaus.c if (!(m->rtc_control & RTC_CTRL_RTC_EN) rtc_control 1111 drivers/mfd/menelaus.c || (m->rtc_control & RTC_CTRL_AL_EN) rtc_control 1112 drivers/mfd/menelaus.c || (m->rtc_control & RTC_CTRL_EVERY_MASK)) { rtc_control 1113 drivers/mfd/menelaus.c if (!(m->rtc_control & RTC_CTRL_RTC_EN)) { rtc_control 1115 drivers/mfd/menelaus.c m->rtc_control |= RTC_CTRL_RTC_EN; rtc_control 1117 drivers/mfd/menelaus.c m->rtc_control &= ~RTC_CTRL_EVERY_MASK; rtc_control 1118 drivers/mfd/menelaus.c m->rtc_control &= ~RTC_CTRL_AL_EN; rtc_control 1119 drivers/mfd/menelaus.c menelaus_write_reg(MENELAUS_RTC_CTRL, m->rtc_control); rtc_control 254 drivers/rtc/rtc-cmos.c unsigned char rtc_control; rtc_control 283 drivers/rtc/rtc-cmos.c rtc_control = CMOS_READ(RTC_CONTROL); rtc_control 286 drivers/rtc/rtc-cmos.c if (!(rtc_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { rtc_control 315 drivers/rtc/rtc-cmos.c t->enabled = !!(rtc_control & RTC_AIE); rtc_control 321 drivers/rtc/rtc-cmos.c static void cmos_checkintr(struct cmos_rtc *cmos, unsigned char rtc_control) rtc_control 333 drivers/rtc/rtc-cmos.c rtc_intr &= (rtc_control & RTC_IRQMASK) | RTC_IRQF; rtc_control 340 drivers/rtc/rtc-cmos.c unsigned char rtc_control; rtc_control 345 drivers/rtc/rtc-cmos.c rtc_control = CMOS_READ(RTC_CONTROL); rtc_control 346 drivers/rtc/rtc-cmos.c cmos_checkintr(cmos, rtc_control); rtc_control 348 drivers/rtc/rtc-cmos.c rtc_control |= mask; rtc_control 349 drivers/rtc/rtc-cmos.c CMOS_WRITE(rtc_control, RTC_CONTROL); rtc_control 358 drivers/rtc/rtc-cmos.c cmos_checkintr(cmos, rtc_control); rtc_control 363 drivers/rtc/rtc-cmos.c unsigned char rtc_control; rtc_control 365 drivers/rtc/rtc-cmos.c rtc_control = CMOS_READ(RTC_CONTROL); rtc_control 366 drivers/rtc/rtc-cmos.c rtc_control &= ~mask; rtc_control 367 drivers/rtc/rtc-cmos.c CMOS_WRITE(rtc_control, RTC_CONTROL); rtc_control 376 drivers/rtc/rtc-cmos.c cmos_checkintr(cmos, rtc_control); rtc_control 449 drivers/rtc/rtc-cmos.c unsigned char mon, mday, hrs, min, sec, rtc_control; rtc_control 466 drivers/rtc/rtc-cmos.c rtc_control = CMOS_READ(RTC_CONTROL); rtc_control 467 drivers/rtc/rtc-cmos.c if (!(rtc_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { rtc_control 533 drivers/rtc/rtc-cmos.c unsigned char rtc_control, valid; rtc_control 536 drivers/rtc/rtc-cmos.c rtc_control = CMOS_READ(RTC_CONTROL); rtc_control 552 drivers/rtc/rtc-cmos.c (rtc_control & RTC_PIE) ? "yes" : "no", rtc_control 553 drivers/rtc/rtc-cmos.c (rtc_control & RTC_UIE) ? "yes" : "no", rtc_control 556 drivers/rtc/rtc-cmos.c (rtc_control & RTC_DM_BINARY) ? "no" : "yes", rtc_control 557 drivers/rtc/rtc-cmos.c (rtc_control & RTC_DST_EN) ? "yes" : "no", rtc_control 653 drivers/rtc/rtc-cmos.c u8 rtc_control; rtc_control 665 drivers/rtc/rtc-cmos.c rtc_control = CMOS_READ(RTC_CONTROL); rtc_control 673 drivers/rtc/rtc-cmos.c irqstat &= (rtc_control & RTC_IRQMASK) | RTC_IRQF; rtc_control 683 drivers/rtc/rtc-cmos.c rtc_control &= ~RTC_AIE; rtc_control 684 drivers/rtc/rtc-cmos.c CMOS_WRITE(rtc_control, RTC_CONTROL); rtc_control 710 drivers/rtc/rtc-cmos.c unsigned char rtc_control; rtc_control 824 drivers/rtc/rtc-cmos.c rtc_control = CMOS_READ(RTC_CONTROL); rtc_control 828 drivers/rtc/rtc-cmos.c if (is_valid_irq(rtc_irq) && !(rtc_control & RTC_24H)) { rtc_control 938 drivers/rtc/rtc-cmos.c unsigned char rtc_control; rtc_control 944 drivers/rtc/rtc-cmos.c rtc_control = CMOS_READ(RTC_CONTROL); rtc_control 948 drivers/rtc/rtc-cmos.c if (rtc_control & RTC_AIE) rtc_control 1066 drivers/rtc/rtc-cmos.c unsigned char *rtc_control); rtc_control 1142 drivers/rtc/rtc-cmos.c unsigned char rtc_control = 0; rtc_control 1158 drivers/rtc/rtc-cmos.c rtc_control = CMOS_READ(RTC_CONTROL); rtc_control 1159 drivers/rtc/rtc-cmos.c if (rtc_control & RTC_AIE) { rtc_control 1161 drivers/rtc/rtc-cmos.c CMOS_WRITE(rtc_control, RTC_CONTROL); rtc_control 1258 drivers/rtc/rtc-cmos.c unsigned char *rtc_control) rtc_control 1272 drivers/rtc/rtc-cmos.c *rtc_control &= ~RTC_AIE; rtc_control 1273 drivers/rtc/rtc-cmos.c CMOS_WRITE(*rtc_control, RTC_CONTROL); rtc_control 1286 drivers/rtc/rtc-cmos.c unsigned char *rtc_control) rtc_control 142 drivers/rtc/rtc-mrst.c unsigned char rtc_control; rtc_control 153 drivers/rtc/rtc-mrst.c rtc_control = vrtc_cmos_read(RTC_CONTROL); rtc_control 156 drivers/rtc/rtc-mrst.c t->enabled = !!(rtc_control & RTC_AIE); rtc_control 162 drivers/rtc/rtc-mrst.c static void mrst_checkintr(struct mrst_rtc *mrst, unsigned char rtc_control) rtc_control 171 drivers/rtc/rtc-mrst.c rtc_intr &= (rtc_control & RTC_IRQMASK) | RTC_IRQF; rtc_control 178 drivers/rtc/rtc-mrst.c unsigned char rtc_control; rtc_control 184 drivers/rtc/rtc-mrst.c rtc_control = vrtc_cmos_read(RTC_CONTROL); rtc_control 185 drivers/rtc/rtc-mrst.c mrst_checkintr(mrst, rtc_control); rtc_control 187 drivers/rtc/rtc-mrst.c rtc_control |= mask; rtc_control 188 drivers/rtc/rtc-mrst.c vrtc_cmos_write(rtc_control, RTC_CONTROL); rtc_control 190 drivers/rtc/rtc-mrst.c mrst_checkintr(mrst, rtc_control); rtc_control 195 drivers/rtc/rtc-mrst.c unsigned char rtc_control; rtc_control 197 drivers/rtc/rtc-mrst.c rtc_control = vrtc_cmos_read(RTC_CONTROL); rtc_control 198 drivers/rtc/rtc-mrst.c rtc_control &= ~mask; rtc_control 199 drivers/rtc/rtc-mrst.c vrtc_cmos_write(rtc_control, RTC_CONTROL); rtc_control 200 drivers/rtc/rtc-mrst.c mrst_checkintr(mrst, rtc_control); rtc_control 260 drivers/rtc/rtc-mrst.c unsigned char rtc_control; rtc_control 263 drivers/rtc/rtc-mrst.c rtc_control = vrtc_cmos_read(RTC_CONTROL); rtc_control 271 drivers/rtc/rtc-mrst.c (rtc_control & RTC_PIE) ? "on" : "off", rtc_control 272 drivers/rtc/rtc-mrst.c (rtc_control & RTC_AIE) ? "on" : "off"); rtc_control 317 drivers/rtc/rtc-mrst.c unsigned char rtc_control; rtc_control 347 drivers/rtc/rtc-mrst.c rtc_control = vrtc_cmos_read(RTC_CONTROL); rtc_control 350 drivers/rtc/rtc-mrst.c if (!(rtc_control & RTC_24H) || (rtc_control & (RTC_DM_BINARY))) rtc_control 264 drivers/rtc/rtc-twl.c u8 rtc_control; rtc_control 286 drivers/rtc/rtc-twl.c rtc_control = save_control | BIT_RTC_CTRL_REG_GET_TIME_M; rtc_control 290 drivers/rtc/rtc-twl.c rtc_control |= BIT_RTC_CTRL_REG_RTC_V_OPT; rtc_control 292 drivers/rtc/rtc-twl.c ret = twl_rtc_write_u8(twl_rtc, rtc_control, REG_RTC_CTRL_REG);