• Home
  • Raw
  • Download

Lines Matching refs:alarm

298 				    struct rtc_wkalrm *alarm)  in _abb5zes3_rtc_read_timer()  argument
301 struct rtc_time rtc_tm, *alarm_tm = &alarm->time; in _abb5zes3_rtc_read_timer()
344 alarm->enabled = !!(reg & ABB5ZES3_REG_CTRL2_WTAIE); in _abb5zes3_rtc_read_timer()
351 struct rtc_wkalrm *alarm) in _abb5zes3_rtc_read_alarm() argument
354 struct rtc_time rtc_tm, *alarm_tm = &alarm->time; in _abb5zes3_rtc_read_alarm()
405 alarm->enabled = !!(reg & ABB5ZES3_REG_CTRL1_AIE); in _abb5zes3_rtc_read_alarm()
419 static int abb5zes3_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alarm) in abb5zes3_rtc_read_alarm() argument
425 ret = _abb5zes3_rtc_read_timer(dev, alarm); in abb5zes3_rtc_read_alarm()
427 ret = _abb5zes3_rtc_read_alarm(dev, alarm); in abb5zes3_rtc_read_alarm()
437 static int _abb5zes3_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) in _abb5zes3_rtc_set_alarm() argument
440 struct rtc_time *alarm_tm = &alarm->time; in _abb5zes3_rtc_set_alarm()
445 if (!alarm->enabled) { in _abb5zes3_rtc_set_alarm()
505 static int _abb5zes3_rtc_set_timer(struct device *dev, struct rtc_wkalrm *alarm, in _abb5zes3_rtc_set_timer() argument
532 return _abb5zes3_rtc_update_timer(dev, alarm->enabled); in _abb5zes3_rtc_set_timer()
541 static int abb5zes3_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) in abb5zes3_rtc_set_alarm() argument
544 struct rtc_time *alarm_tm = &alarm->time; in abb5zes3_rtc_set_alarm()
577 ret = _abb5zes3_rtc_set_timer(dev, alarm, in abb5zes3_rtc_set_alarm()
580 ret = _abb5zes3_rtc_set_alarm(dev, alarm); in abb5zes3_rtc_set_alarm()