Lines Matching defs:dw_wdt

83 struct dw_wdt {  struct
88 enum dw_wdt_rmod rmod; argument
89 struct dw_wdt_timeout timeouts[DW_WDT_NUM_TOPS]; argument
101 #define to_dw_wdt(wdd) container_of(wdd, struct dw_wdt, wdd) argument
103 static inline int dw_wdt_is_enabled(struct dw_wdt *dw_wdt) in dw_wdt_is_enabled()
109 static void dw_wdt_update_mode(struct dw_wdt *dw_wdt, enum dw_wdt_rmod rmod) in dw_wdt_update_mode()
123 static unsigned int dw_wdt_find_best_top(struct dw_wdt *dw_wdt, in dw_wdt_find_best_top()
146 static unsigned int dw_wdt_get_min_timeout(struct dw_wdt *dw_wdt) in dw_wdt_get_min_timeout()
162 static unsigned int dw_wdt_get_max_timeout_ms(struct dw_wdt *dw_wdt) in dw_wdt_get_max_timeout_ms()
172 static unsigned int dw_wdt_get_timeout(struct dw_wdt *dw_wdt) in dw_wdt_get_timeout()
191 struct dw_wdt *dw_wdt = to_dw_wdt(wdd); in dw_wdt_ping() local
201 struct dw_wdt *dw_wdt = to_dw_wdt(wdd); in dw_wdt_set_timeout() local
248 struct dw_wdt *dw_wdt = to_dw_wdt(wdd); in dw_wdt_set_pretimeout() local
261 static void dw_wdt_arm_system_reset(struct dw_wdt *dw_wdt) in dw_wdt_arm_system_reset()
277 struct dw_wdt *dw_wdt = to_dw_wdt(wdd); in dw_wdt_start() local
288 struct dw_wdt *dw_wdt = to_dw_wdt(wdd); in dw_wdt_stop() local
304 struct dw_wdt *dw_wdt = to_dw_wdt(wdd); in dw_wdt_restart() local
322 struct dw_wdt *dw_wdt = to_dw_wdt(wdd); in dw_wdt_get_timeleft() local
363 struct dw_wdt *dw_wdt = devid; in dw_wdt_irq() local
382 struct dw_wdt *dw_wdt = dev_get_drvdata(dev); in dw_wdt_suspend() local
395 struct dw_wdt *dw_wdt = dev_get_drvdata(dev); in dw_wdt_resume() local
426 static void dw_wdt_handle_tops(struct dw_wdt *dw_wdt, const u32 *tops) in dw_wdt_handle_tops()
462 static int dw_wdt_init_timeouts(struct dw_wdt *dw_wdt, struct device *dev) in dw_wdt_init_timeouts()
521 static void dw_wdt_dbgfs_init(struct dw_wdt *dw_wdt) in dw_wdt_dbgfs_init()
539 static void dw_wdt_dbgfs_clear(struct dw_wdt *dw_wdt) in dw_wdt_dbgfs_clear()
546 static void dw_wdt_dbgfs_init(struct dw_wdt *dw_wdt) {} in dw_wdt_dbgfs_init()
547 static void dw_wdt_dbgfs_clear(struct dw_wdt *dw_wdt) {} in dw_wdt_dbgfs_clear()
555 struct dw_wdt *dw_wdt; in dw_wdt_drv_probe() local
688 struct dw_wdt *dw_wdt = platform_get_drvdata(pdev); in dw_wdt_drv_remove() local