Lines Matching +full:out +full:- +full:max
1 /* SPDX-License-Identifier: Apache-2.0 */
39 return -ENOTSUP; in dw_wdt_configure()
65 if (config->window.min) { in dw_wdt_calc_period()
67 return -ENOTSUP; in dw_wdt_calc_period()
70 period64 = (uint64_t)clk_freq * config->window.max; in dw_wdt_calc_period()
73 LOG_ERR("Window max is out of range."); in dw_wdt_calc_period()
74 return -EINVAL; in dw_wdt_calc_period()
77 period = period64 - 1; in dw_wdt_calc_period()
82 return -EINVAL; in dw_wdt_calc_period()
86 *period_out = WDT_DW_FLAG_CONFIGURED | (period >= 15 ? period - 15 : 0); in dw_wdt_calc_period()
97 return -ENODEV; in dw_wdt_probe()