Searched refs:dw_wdt (Results 1 – 3 of 3) sorted by relevance
83 struct dw_wdt { struct101 #define to_dw_wdt(wdd) container_of(wdd, struct dw_wdt, wdd) argument103 static inline int dw_wdt_is_enabled(struct dw_wdt *dw_wdt) in dw_wdt_is_enabled() argument105 return readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET) & 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() argument113 val = readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET); in dw_wdt_update_mode()118 writel(val, dw_wdt->regs + WDOG_CONTROL_REG_OFFSET); in dw_wdt_update_mode()120 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() argument134 if (dw_wdt->timeouts[idx].sec >= timeout) in dw_wdt_find_best_top()[all …]
55 obj-$(CONFIG_DW_WATCHDOG) += dw_wdt.o
530 module will be called dw_wdt.