Home
last modified time | relevance | path

Searched refs:dw_wdt (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/watchdog/
H A Ddw_wdt.c82 struct dw_wdt { struct
100 #define to_dw_wdt(wdd) container_of(wdd, struct dw_wdt, wdd) argument
102 static inline int dw_wdt_is_enabled(struct dw_wdt *dw_wdt) in dw_wdt_is_enabled() argument
104 return readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET) & in dw_wdt_is_enabled()
108 static void dw_wdt_update_mode(struct dw_wdt *dw_wdt, enum dw_wdt_rmod rmod) in dw_wdt_update_mode() argument
112 val = readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET); in dw_wdt_update_mode()
117 writel(val, dw_wdt->regs + WDOG_CONTROL_REG_OFFSET); in dw_wdt_update_mode()
119 dw_wdt->rmod = rmod; in dw_wdt_update_mode()
122 static unsigned int dw_wdt_find_best_top(struct dw_wdt *dw_wdt, in dw_wdt_find_best_top() argument
133 if (dw_wdt->timeouts[idx].sec >= timeout) in dw_wdt_find_best_top()
[all …]
H A DMakefile57 obj-$(CONFIG_DW_WATCHDOG) += dw_wdt.o
H A DKconfig595 module will be called dw_wdt.