Lines Matching defs:starfive_wdt

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