Home
last modified time | relevance | path

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

/linux/drivers/watchdog/
H A Ddw_wdt.c87 enum dw_wdt_rmod rmod; member
108 static void dw_wdt_update_mode(struct dw_wdt *dw_wdt, enum dw_wdt_rmod rmod) in dw_wdt_update_mode() argument
113 if (rmod == DW_WDT_RMOD_IRQ) in dw_wdt_update_mode()
119 dw_wdt->rmod = rmod; in dw_wdt_update_mode()
185 return dw_wdt->timeouts[idx].sec * dw_wdt->rmod; in dw_wdt_get_timeout()
212 timeout = dw_wdt_find_best_top(dw_wdt, DIV_ROUND_UP(top_s, dw_wdt->rmod), in dw_wdt_set_timeout()
214 if (dw_wdt->rmod == DW_WDT_RMOD_IRQ) in dw_wdt_set_timeout()
238 wdd->timeout = timeout * dw_wdt->rmod; in dw_wdt_set_timeout()
265 if (dw_wdt->rmod == DW_WDT_RMOD_IRQ) in dw_wdt_arm_system_reset()
328 if (dw_wdt->rmod == DW_WDT_RMOD_IRQ) { in dw_wdt_get_timeleft()