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_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()
334 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_read_time()
353 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_time()
385 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_read_alarm()
416 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_alarm()
475 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_alarm_irq_enable()
507 struct sprd_rtc *rtc = dev_id; in sprd_rtc_handler()
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()