Lines Matching refs:ctrl4b
653 u8 ctrl4a, ctrl4b; in ds1685_rtc_work_queue() local
659 ctrl4b = rtc->read(rtc, RTC_EXT_CTRL_4B); in ds1685_rtc_work_queue()
666 if ((ctrl4b & RTC_CTRL_4B_KSE) && (ctrl4a & RTC_CTRL_4A_KF)) { in ds1685_rtc_work_queue()
700 if ((ctrl4b & RTC_CTRL_4B_WIE) && (ctrl4a & RTC_CTRL_4A_WF)) { in ds1685_rtc_work_queue()
722 if ((ctrl4b & RTC_CTRL_4B_RIE) && (ctrl4a & RTC_CTRL_4A_RF)) { in ds1685_rtc_work_queue()
803 u8 ctrla, ctrlb, ctrlc, ctrld, ctrl4a, ctrl4b, ssn[8]; in ds1685_rtc_proc() local
817 ctrl4b = rtc->read(rtc, RTC_EXT_CTRL_4B); in ds1685_rtc_proc()
886 (!(ctrl4b & RTC_CTRL_4B_E32K) ? in ds1685_rtc_proc()
888 (!((ctrl4b & RTC_CTRL_4B_E32K)) ? in ds1685_rtc_proc()
897 ds1685_rtc_print_regs(ctrl4b, bits[5])); in ds1685_rtc_proc()
2162 u8 ctrla, ctrl4a, ctrl4b; in ds1685_rtc_poweroff() local
2206 ctrl4b = rtc->read(rtc, RTC_EXT_CTRL_4B); in ds1685_rtc_poweroff()
2207 ctrl4b |= (RTC_CTRL_4B_ABE | RTC_CTRL_4B_WIE | in ds1685_rtc_poweroff()
2209 rtc->write(rtc, RTC_EXT_CTRL_4B, ctrl4b); in ds1685_rtc_poweroff()