Lines Matching defs:rtc
137 static void stm32_rtc_wpr_unlock(struct stm32_rtc *rtc) in stm32_rtc_wpr_unlock()
145 static void stm32_rtc_wpr_lock(struct stm32_rtc *rtc) in stm32_rtc_wpr_lock()
152 static int stm32_rtc_enter_init_mode(struct stm32_rtc *rtc) in stm32_rtc_enter_init_mode()
175 static void stm32_rtc_exit_init_mode(struct stm32_rtc *rtc) in stm32_rtc_exit_init_mode()
184 static int stm32_rtc_wait_sync(struct stm32_rtc *rtc) in stm32_rtc_wait_sync()
202 static void stm32_rtc_clear_event_flags(struct stm32_rtc *rtc, in stm32_rtc_clear_event_flags()
210 struct stm32_rtc *rtc = (struct stm32_rtc *)dev_id; in stm32_rtc_alarm_irq() local
275 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_read_time() local
301 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_set_time() local
341 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_read_alarm() local
409 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_alarm_irq_enable() local
473 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_set_alarm() local
542 static void stm32_rtc_clear_events(struct stm32_rtc *rtc, in stm32_rtc_clear_events()
596 static void stm32mp1_rtc_clear_events(struct stm32_rtc *rtc, in stm32mp1_rtc_clear_events()
636 struct stm32_rtc *rtc) in stm32_rtc_init()
724 struct stm32_rtc *rtc; in stm32_rtc_probe() local
871 struct stm32_rtc *rtc = platform_get_drvdata(pdev); in stm32_rtc_remove() local
896 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_suspend() local
906 struct stm32_rtc *rtc = dev_get_drvdata(dev); in stm32_rtc_resume() local