Lines Matching refs:sprd_rtc
103 struct sprd_rtc { struct
126 static int sprd_rtc_clear_alarm_ints(struct sprd_rtc *rtc) in sprd_rtc_clear_alarm_ints() argument
132 static int sprd_rtc_disable_ints(struct sprd_rtc *rtc) in sprd_rtc_disable_ints()
145 static int sprd_rtc_lock_alarm(struct sprd_rtc *rtc, bool lock) in sprd_rtc_lock_alarm()
178 static int sprd_rtc_get_secs(struct sprd_rtc *rtc, enum sprd_rtc_reg_types type, in sprd_rtc_get_secs()
235 static int sprd_rtc_set_secs(struct sprd_rtc *rtc, enum sprd_rtc_reg_types type, in sprd_rtc_set_secs()
316 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_read_aux_alarm()
343 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_aux_alarm()
373 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_read_time()
392 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_time()
424 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_read_alarm()
458 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_alarm()
517 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_alarm_irq_enable()
549 struct sprd_rtc *rtc = dev_id; in sprd_rtc_handler()
560 static int sprd_rtc_check_power_down(struct sprd_rtc *rtc) in sprd_rtc_check_power_down()
581 struct sprd_rtc *rtc; in sprd_rtc_probe()