Searched refs:RTC_CTRL_B (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/rtc/ |
D | rtc-ds1685.c | 193 rtc->write(rtc, RTC_CTRL_B, in ds1685_rtc_begin_data_access() 194 (rtc->read(rtc, RTC_CTRL_B) | RTC_CTRL_B_SET)); in ds1685_rtc_begin_data_access() 219 rtc->write(rtc, RTC_CTRL_B, in ds1685_rtc_end_data_access() 220 (rtc->read(rtc, RTC_CTRL_B) & ~(RTC_CTRL_B_SET))); in ds1685_rtc_end_data_access() 353 ctrlb = rtc->read(rtc, RTC_CTRL_B); in ds1685_rtc_set_time() 358 rtc->write(rtc, RTC_CTRL_B, ctrlb); in ds1685_rtc_set_time() 397 ctrlb = rtc->read(rtc, RTC_CTRL_B); in ds1685_rtc_read_alarm() 493 ctrlb = rtc->read(rtc, RTC_CTRL_B); in ds1685_rtc_set_alarm() 494 rtc->write(rtc, RTC_CTRL_B, (ctrlb & ~(RTC_CTRL_B_AIE))); in ds1685_rtc_set_alarm() 503 ctrlb = rtc->read(rtc, RTC_CTRL_B); in ds1685_rtc_set_alarm() [all …]
|
/linux-6.1.9/include/linux/rtc/ |
D | ds1685.h | 136 #define RTC_CTRL_B 0x0b /* Control Register B */ macro
|