linux-4.14.90-dev/linux-4.14.90/drivers/rtc/rtc-ds1685.c
/**
 * ds1685_rtc_switch_to_bank0 - switch the rtc to bank 0.
 * @rtc: pointer to the ds1685 rtc structure.
 */
switch the rtc to bank 0.
@rtc: pointer to the ds1685 rtc structure.
switch the rtc to bank 0 . @rtc : pointer to the ds1685 rtc structure .
static inline void
ds1685_rtc_switch_to_bank0(struct ds1685_priv *rtc)
{
	rtc->write(rtc, RTC_CTRL_A,
		   (rtc->read(rtc, RTC_CTRL_A) & ~(RTC_CTRL_A_DV0)));
}
static inline void ds1685_rtc_switch_to_bank0 ( struct ds1685_priv * rtc ) { rtc -> write ( rtc , RTC_CTRL_A , ( rtc -> read ( rtc , RTC_CTRL_A ) & ~ ( RTC_CTRL_A_DV0 ) ) ) ; }
ds1685_rtc_switch_to_bank0 - switch the rtc to bank 0.
ds1685_rtc_switch_to_bank0 - switch the rtc to bank 0 .