Lines Matching refs:starfive_wdt

100 struct starfive_wdt {  struct
146 static int starfive_wdt_enable_clock(struct starfive_wdt *wdt) in starfive_wdt_enable_clock()
161 static void starfive_wdt_disable_clock(struct starfive_wdt *wdt) in starfive_wdt_disable_clock()
167 static inline int starfive_wdt_get_clock(struct starfive_wdt *wdt) in starfive_wdt_get_clock()
198 static u32 starfive_wdt_ticks_to_sec(struct starfive_wdt *wdt, u32 ticks) in starfive_wdt_ticks_to_sec()
204 static void starfive_wdt_unlock(struct starfive_wdt *wdt) in starfive_wdt_unlock()
211 static void starfive_wdt_lock(struct starfive_wdt *wdt) in starfive_wdt_lock()
219 static void starfive_wdt_enable_reset(struct starfive_wdt *wdt) in starfive_wdt_enable_reset()
229 static bool starfive_wdt_raise_irq_status(struct starfive_wdt *wdt) in starfive_wdt_raise_irq_status()
235 static int starfive_wdt_wait_int_free(struct starfive_wdt *wdt) in starfive_wdt_wait_int_free()
245 static int starfive_wdt_int_clr(struct starfive_wdt *wdt) in starfive_wdt_int_clr()
260 static inline void starfive_wdt_set_count(struct starfive_wdt *wdt, u32 val) in starfive_wdt_set_count()
265 static inline u32 starfive_wdt_get_count(struct starfive_wdt *wdt) in starfive_wdt_get_count()
271 static inline void starfive_wdt_enable(struct starfive_wdt *wdt) in starfive_wdt_enable()
281 static inline void starfive_wdt_disable(struct starfive_wdt *wdt) in starfive_wdt_disable()
290 static inline void starfive_wdt_set_reload_count(struct starfive_wdt *wdt, u32 count) in starfive_wdt_set_reload_count()
299 static unsigned int starfive_wdt_max_timeout(struct starfive_wdt *wdt) in starfive_wdt_max_timeout()
309 struct starfive_wdt *wdt = watchdog_get_drvdata(wdd); in starfive_wdt_get_timeleft()
325 struct starfive_wdt *wdt = watchdog_get_drvdata(wdd); in starfive_wdt_keepalive()
341 static int starfive_wdt_start(struct starfive_wdt *wdt) in starfive_wdt_start()
362 static void starfive_wdt_stop(struct starfive_wdt *wdt) in starfive_wdt_stop()
371 struct starfive_wdt *wdt = watchdog_get_drvdata(wdd); in starfive_wdt_pm_start()
382 struct starfive_wdt *wdt = watchdog_get_drvdata(wdd); in starfive_wdt_pm_stop()
391 struct starfive_wdt *wdt = watchdog_get_drvdata(wdd); in starfive_wdt_set_timeout()
428 struct starfive_wdt *wdt; in starfive_wdt_probe()
516 struct starfive_wdt *wdt = platform_get_drvdata(pdev); in starfive_wdt_remove()
532 struct starfive_wdt *wdt = platform_get_drvdata(pdev); in starfive_wdt_shutdown()
539 struct starfive_wdt *wdt = dev_get_drvdata(dev); in starfive_wdt_suspend()
552 struct starfive_wdt *wdt = dev_get_drvdata(dev); in starfive_wdt_resume()
569 struct starfive_wdt *wdt = dev_get_drvdata(dev); in starfive_wdt_runtime_suspend()
578 struct starfive_wdt *wdt = dev_get_drvdata(dev); in starfive_wdt_runtime_resume()