Searched refs:max_heartbeat (Results 1 – 1 of 1) sorted by relevance
160 unsigned long max_heartbeat; in at91_wdt_init() local184 max_heartbeat = ticks_to_hz_rounddown(value); in at91_wdt_init()185 if (!max_heartbeat) { in at91_wdt_init()197 if ((max_heartbeat / 4) >= min_heartbeat) in at91_wdt_init()198 wdt->heartbeat = max_heartbeat / 4; in at91_wdt_init()199 else if ((max_heartbeat / 2) >= min_heartbeat) in at91_wdt_init()200 wdt->heartbeat = max_heartbeat / 2; in at91_wdt_init()204 if (max_heartbeat < min_heartbeat + 4) in at91_wdt_init()