Lines Matching defs:rtc
104 struct rtc_device *rtc; member
126 static int sprd_rtc_clear_alarm_ints(struct sprd_rtc *rtc) in sprd_rtc_clear_alarm_ints()
132 static int sprd_rtc_lock_alarm(struct sprd_rtc *rtc, bool lock) in sprd_rtc_lock_alarm()
166 static int sprd_rtc_get_secs(struct sprd_rtc *rtc, enum sprd_rtc_reg_types type, in sprd_rtc_get_secs()
223 static int sprd_rtc_set_secs(struct sprd_rtc *rtc, enum sprd_rtc_reg_types type, in sprd_rtc_set_secs()
304 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_aux_alarm() local
334 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_read_time() local
353 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_time() local
385 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_read_alarm() local
416 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_alarm() local
475 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_alarm_irq_enable() local
507 struct sprd_rtc *rtc = dev_id; in sprd_rtc_handler() local
518 static int sprd_rtc_check_power_down(struct sprd_rtc *rtc) in sprd_rtc_check_power_down()
536 static int sprd_rtc_check_alarm_int(struct sprd_rtc *rtc) in sprd_rtc_check_alarm_int()
565 struct sprd_rtc *rtc; in sprd_rtc_probe() local