Searched refs:IWDG_ETIMEOUT_SEC (Results 1 – 1 of 1) sorted by relevance
74 #define IWDG_ETIMEOUT_SEC U(5) macro351 interval = iwdg->max_hw_timeout - IWDG_ETIMEOUT_SEC; in stm32_iwdg_handle_timeouts()352 n = (timeout_sec - IWDG_ETIMEOUT_SEC) / interval; in stm32_iwdg_handle_timeouts()353 w = ((timeout_sec - IWDG_ETIMEOUT_SEC) / (n + 1)) + in stm32_iwdg_handle_timeouts()354 IWDG_ETIMEOUT_SEC; in stm32_iwdg_handle_timeouts()356 iwdg->early_timeout = IWDG_ETIMEOUT_SEC; in stm32_iwdg_handle_timeouts()359 if (iwdg->timeout >= 2 * IWDG_ETIMEOUT_SEC) in stm32_iwdg_handle_timeouts()360 iwdg->early_timeout = IWDG_ETIMEOUT_SEC; in stm32_iwdg_handle_timeouts()