Lines Matching refs:rtc_enabled
71 int rtc_enabled; member
105 if (!rtc->rtc_enabled) in aml_rtc_read_time()
123 if (!rtc->rtc_enabled) { in aml_rtc_set_time()
126 rtc->rtc_enabled = regmap_test_bits(rtc->map, RTC_CTRL, RTC_ENABLE); in aml_rtc_set_time()
127 if (!rtc->rtc_enabled) in aml_rtc_set_time()
146 if (!rtc->rtc_enabled) in aml_rtc_set_alarm()
173 if (!rtc->rtc_enabled) in aml_rtc_read_alarm()
198 if (!rtc->rtc_enabled) in aml_rtc_read_offset()
226 if (!rtc->rtc_enabled) in aml_rtc_set_offset()
290 rtc->rtc_enabled = regmap_test_bits(rtc->map, RTC_CTRL, RTC_ENABLE); in aml_rtc_init()
291 if (!rtc->rtc_enabled) { in aml_rtc_init()