Lines Matching refs:timeouts
89 struct dw_wdt_timeout timeouts[DW_WDT_NUM_TOPS]; member
134 if (dw_wdt->timeouts[idx].sec >= timeout) in dw_wdt_find_best_top()
141 *top_val = dw_wdt->timeouts[idx].top_val; in dw_wdt_find_best_top()
143 return dw_wdt->timeouts[idx].sec; in dw_wdt_find_best_top()
155 if (dw_wdt->timeouts[idx].sec) in dw_wdt_get_min_timeout()
159 return dw_wdt->timeouts[idx].sec; in dw_wdt_get_min_timeout()
164 struct dw_wdt_timeout *timeout = &dw_wdt->timeouts[DW_WDT_NUM_TOPS - 1]; in dw_wdt_get_max_timeout_ms()
178 if (dw_wdt->timeouts[idx].top_val == top_val) in dw_wdt_get_timeout()
186 return dw_wdt->timeouts[idx].sec * dw_wdt->rmod; in dw_wdt_get_timeout()
450 dst = &dw_wdt->timeouts[tidx]; in dw_wdt_handle_tops()
458 dw_wdt->timeouts[val] = tout; in dw_wdt_handle_tops()
490 if (!dw_wdt->timeouts[DW_WDT_NUM_TOPS - 1].sec) { in dw_wdt_init_timeouts()