Lines Matching refs:ctrl4b
569 u8 ctrl4a, ctrl4b; in ds1685_rtc_extended_irq() local
573 ctrl4b = rtc->read(rtc, RTC_EXT_CTRL_4B); in ds1685_rtc_extended_irq()
580 if ((ctrl4b & RTC_CTRL_4B_KSE) && (ctrl4a & RTC_CTRL_4A_KF)) { in ds1685_rtc_extended_irq()
614 if ((ctrl4b & RTC_CTRL_4B_WIE) && (ctrl4a & RTC_CTRL_4A_WF)) { in ds1685_rtc_extended_irq()
636 if ((ctrl4b & RTC_CTRL_4B_RIE) && (ctrl4a & RTC_CTRL_4A_RF)) { in ds1685_rtc_extended_irq()
755 u8 ctrla, ctrlb, ctrld, ctrl4a, ctrl4b, ssn[8]; in ds1685_rtc_proc() local
765 ctrl4b = rtc->read(rtc, RTC_EXT_CTRL_4B); in ds1685_rtc_proc()
813 (!(ctrl4b & RTC_CTRL_4B_E32K) ? in ds1685_rtc_proc()
815 (!((ctrl4b & RTC_CTRL_4B_E32K)) ? in ds1685_rtc_proc()
1375 u8 ctrla, ctrl4a, ctrl4b; in ds1685_rtc_poweroff() local
1420 ctrl4b = rtc->read(rtc, RTC_EXT_CTRL_4B); in ds1685_rtc_poweroff()
1421 ctrl4b |= (RTC_CTRL_4B_ABE | RTC_CTRL_4B_WIE | in ds1685_rtc_poweroff()
1423 rtc->write(rtc, RTC_EXT_CTRL_4B, ctrl4b); in ds1685_rtc_poweroff()