Home
last modified time | relevance | path

Searched refs:ctrla (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/rtc/
H A Drtc-ds1685.c755 u8 ctrla, ctrlb, ctrld, ctrl4a, ctrl4b, ssn[8]; in ds1685_rtc_proc() local
761 ctrla = rtc->read(rtc, RTC_CTRL_A); in ds1685_rtc_proc()
805 ((ctrla & RTC_CTRL_A_DV1) ? "enabled" : "disabled"), in ds1685_rtc_proc()
814 ds1685_rtc_pirq_rate[(ctrla & RTC_CTRL_A_RS_MASK)] : "none"), in ds1685_rtc_proc()
816 ds1685_rtc_sqw_freq[(ctrla & RTC_CTRL_A_RS_MASK)] : "32768Hz"), in ds1685_rtc_proc()
1073 u8 ctrla, ctrlb, hours; in ds1685_rtc_probe() local
1139 ctrla = rtc->read(rtc, RTC_CTRL_A); in ds1685_rtc_probe()
1140 if (!(ctrla & RTC_CTRL_A_DV1)) in ds1685_rtc_probe()
1141 ctrla |= RTC_CTRL_A_DV1; in ds1685_rtc_probe()
1144 ctrla &= ~(RTC_CTRL_A_DV2); in ds1685_rtc_probe()
[all …]