Lines Matching refs:timeouts
88 struct dw_wdt_timeout timeouts[DW_WDT_NUM_TOPS]; member
133 if (dw_wdt->timeouts[idx].sec >= timeout) in dw_wdt_find_best_top()
140 *top_val = dw_wdt->timeouts[idx].top_val; in dw_wdt_find_best_top()
142 return dw_wdt->timeouts[idx].sec; in dw_wdt_find_best_top()
154 if (dw_wdt->timeouts[idx].sec) in dw_wdt_get_min_timeout()
158 return dw_wdt->timeouts[idx].sec; in dw_wdt_get_min_timeout()
163 struct dw_wdt_timeout *timeout = &dw_wdt->timeouts[DW_WDT_NUM_TOPS - 1]; in dw_wdt_get_max_timeout_ms()
177 if (dw_wdt->timeouts[idx].top_val == top_val) in dw_wdt_get_timeout()
185 return dw_wdt->timeouts[idx].sec * dw_wdt->rmod; in dw_wdt_get_timeout()
449 dst = &dw_wdt->timeouts[tidx]; in dw_wdt_handle_tops()
457 dw_wdt->timeouts[val] = tout; in dw_wdt_handle_tops()
489 if (!dw_wdt->timeouts[DW_WDT_NUM_TOPS - 1].sec) { in dw_wdt_init_timeouts()