Searched refs:timeout_sec (Results 1 – 1 of 1) sorted by relevance
339 unsigned long timeout_sec) in stm32_iwdg_handle_timeouts() argument349 if (timeout_sec > iwdg->max_hw_timeout) { 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()358 iwdg->timeout = timeout_sec; in stm32_iwdg_handle_timeouts()