Lines Matching defs:rtc
133 static void stm32_rtc_wpr_unlock(struct stm32_rtc *rtc) in stm32_rtc_wpr_unlock()
141 static void stm32_rtc_wpr_lock(struct stm32_rtc *rtc) in stm32_rtc_wpr_lock()
148 static int stm32_rtc_enter_init_mode(struct stm32_rtc *rtc) in stm32_rtc_enter_init_mode()
172 static void stm32_rtc_exit_init_mode(struct stm32_rtc *rtc) in stm32_rtc_exit_init_mode()
181 static int stm32_rtc_wait_sync(struct stm32_rtc *rtc) in stm32_rtc_wait_sync()
199 static void stm32_rtc_clear_event_flags(struct stm32_rtc *rtc, in stm32_rtc_clear_event_flags()
207 struct stm32_rtc *rtc = (struct stm32_rtc *)dev_id; in stm32_rtc_alarm_irq() local
272 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_read_time() local
298 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_set_time() local
338 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_read_alarm() local
406 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_alarm_irq_enable() local
430 static int stm32_rtc_valid_alrm(struct stm32_rtc *rtc, struct rtc_time *tm) in stm32_rtc_valid_alrm()
468 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_set_alarm() local
541 static void stm32_rtc_clear_events(struct stm32_rtc *rtc, in stm32_rtc_clear_events()
595 static void stm32mp1_rtc_clear_events(struct stm32_rtc *rtc, in stm32mp1_rtc_clear_events()
635 struct stm32_rtc *rtc) in stm32_rtc_init()
698 struct stm32_rtc *rtc; in stm32_rtc_probe() local
858 struct stm32_rtc *rtc = platform_get_drvdata(pdev); in stm32_rtc_remove() local
886 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_suspend() local
899 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_resume() local