Lines Matching defs:wdt

146 static int starfive_wdt_enable_clock(struct starfive_wdt *wdt)  in starfive_wdt_enable_clock()
163 static void starfive_wdt_disable_clock(struct starfive_wdt *wdt) in starfive_wdt_disable_clock()
169 static inline int starfive_wdt_get_clock(struct starfive_wdt *wdt) in starfive_wdt_get_clock()
200 static u32 starfive_wdt_ticks_to_sec(struct starfive_wdt *wdt, u32 ticks) in starfive_wdt_ticks_to_sec()
206 static void starfive_wdt_unlock(struct starfive_wdt *wdt) in starfive_wdt_unlock()
213 static void starfive_wdt_lock(struct starfive_wdt *wdt) in starfive_wdt_lock()
221 static void starfive_wdt_enable_reset(struct starfive_wdt *wdt) in starfive_wdt_enable_reset()
231 static bool starfive_wdt_raise_irq_status(struct starfive_wdt *wdt) in starfive_wdt_raise_irq_status()
237 static int starfive_wdt_wait_int_free(struct starfive_wdt *wdt) in starfive_wdt_wait_int_free()
247 static int starfive_wdt_int_clr(struct starfive_wdt *wdt) in starfive_wdt_int_clr()
262 static inline void starfive_wdt_set_count(struct starfive_wdt *wdt, u32 val) in starfive_wdt_set_count()
267 static inline u32 starfive_wdt_get_count(struct starfive_wdt *wdt) in starfive_wdt_get_count()
273 static inline void starfive_wdt_enable(struct starfive_wdt *wdt) in starfive_wdt_enable()
283 static inline void starfive_wdt_disable(struct starfive_wdt *wdt) in starfive_wdt_disable()
292 static inline void starfive_wdt_set_reload_count(struct starfive_wdt *wdt, u32 count) in starfive_wdt_set_reload_count()
301 static unsigned int starfive_wdt_max_timeout(struct starfive_wdt *wdt) in starfive_wdt_max_timeout()
311 struct starfive_wdt *wdt = watchdog_get_drvdata(wdd); in starfive_wdt_get_timeleft() local
327 struct starfive_wdt *wdt = watchdog_get_drvdata(wdd); in starfive_wdt_keepalive() local
343 static int starfive_wdt_start(struct starfive_wdt *wdt) in starfive_wdt_start()
364 static void starfive_wdt_stop(struct starfive_wdt *wdt) in starfive_wdt_stop()
373 struct starfive_wdt *wdt = watchdog_get_drvdata(wdd); in starfive_wdt_pm_start() local
384 struct starfive_wdt *wdt = watchdog_get_drvdata(wdd); in starfive_wdt_pm_stop() local
393 struct starfive_wdt *wdt = watchdog_get_drvdata(wdd); in starfive_wdt_set_timeout() local
430 struct starfive_wdt *wdt; in starfive_wdt_probe() local
518 struct starfive_wdt *wdt = platform_get_drvdata(pdev); in starfive_wdt_remove() local
532 struct starfive_wdt *wdt = platform_get_drvdata(pdev); in starfive_wdt_shutdown() local
539 struct starfive_wdt *wdt = dev_get_drvdata(dev); in starfive_wdt_suspend() local
552 struct starfive_wdt *wdt = dev_get_drvdata(dev); in starfive_wdt_resume() local
572 struct starfive_wdt *wdt = dev_get_drvdata(dev); in starfive_wdt_runtime_suspend() local
581 struct starfive_wdt *wdt = dev_get_drvdata(dev); in starfive_wdt_runtime_resume() local