Searched refs:number_of_tick (Results 1 – 1 of 1) sorted by relevance
36 uint32_t number_of_tick = 0; in wdt_max32_calculate_timeout() local44 number_of_tick = ((uint64_t)timeout * (uint64_t)clk_frequency) / 1000; in wdt_max32_calculate_timeout()46 i = LOG2CEIL(number_of_tick); /* Find closest bigger 2^i value than number_of_tick. */ in wdt_max32_calculate_timeout()