Lines Matching refs:DW_WDT_NUM_TOPS
52 #define DW_WDT_NUM_TOPS 16 macro
57 static const u32 dw_wdt_fix_tops[DW_WDT_NUM_TOPS] = {
88 struct dw_wdt_timeout timeouts[DW_WDT_NUM_TOPS];
132 for (idx = 0; idx < DW_WDT_NUM_TOPS; ++idx) { in dw_wdt_find_best_top()
137 if (idx == DW_WDT_NUM_TOPS) in dw_wdt_find_best_top()
153 for (idx = 0; idx < DW_WDT_NUM_TOPS; ++idx) { 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()
176 for (idx = 0; idx < DW_WDT_NUM_TOPS; ++idx) { in dw_wdt_get_timeout()
435 for (val = 0; val < DW_WDT_NUM_TOPS; ++val) { in dw_wdt_handle_tops()
461 u32 data, of_tops[DW_WDT_NUM_TOPS]; in dw_wdt_init_timeouts()
475 "snps,watchdog-tops", of_tops, DW_WDT_NUM_TOPS, in dw_wdt_init_timeouts()
476 DW_WDT_NUM_TOPS); in dw_wdt_init_timeouts()
487 if (!dw_wdt->timeouts[DW_WDT_NUM_TOPS - 1].sec) { in dw_wdt_init_timeouts()