Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Ddw_wdt.c77 u32 top_val; member
123 unsigned int timeout, u32 *top_val) in dw_wdt_find_best_top() argument
140 *top_val = dw_wdt->timeouts[idx].top_val; in dw_wdt_find_best_top()
173 int top_val = readl(dw_wdt->regs + WDOG_TIMEOUT_RANGE_REG_OFFSET) & 0xF; in dw_wdt_get_timeout() local
177 if (dw_wdt->timeouts[idx].top_val == top_val) in dw_wdt_get_timeout()
202 u32 top_val; in dw_wdt_set_timeout() local
213 &top_val); in dw_wdt_set_timeout()
225 writel(top_val | top_val << WDOG_TIMEOUT_RANGE_TOPINIT_SHIFT, in dw_wdt_set_timeout()
436 tout.top_val = val; in dw_wdt_handle_tops()