Searched refs:RTC_CTRL_A (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/rtc/ |
D | rtc-ds1685.c | 161 rtc->write(rtc, RTC_CTRL_A, in ds1685_rtc_switch_to_bank0() 162 (rtc->read(rtc, RTC_CTRL_A) & ~(RTC_CTRL_A_DV0))); in ds1685_rtc_switch_to_bank0() 172 rtc->write(rtc, RTC_CTRL_A, in ds1685_rtc_switch_to_bank1() 173 (rtc->read(rtc, RTC_CTRL_A) | RTC_CTRL_A_DV0)); in ds1685_rtc_switch_to_bank1() 761 ctrla = rtc->read(rtc, RTC_CTRL_A); in ds1685_rtc_proc() 1139 ctrla = rtc->read(rtc, RTC_CTRL_A); in ds1685_rtc_probe() 1154 rtc->write(rtc, RTC_CTRL_A, ctrla); in ds1685_rtc_probe() 1395 ctrla = rtc->read(rtc, RTC_CTRL_A); in ds1685_rtc_poweroff() 1398 rtc->write(rtc, RTC_CTRL_A, ctrla); in ds1685_rtc_poweroff()
|
/linux-6.6.21/include/linux/rtc/ |
D | ds1685.h | 135 #define RTC_CTRL_A 0x0a /* Control Register A */ macro
|