Home
last modified time | relevance | path

Searched refs:phase1_ticks (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/watchdog/
H A Drealtek_otto_wdt.c130 unsigned int phase1_ticks; in otto_wdt_determine_timeouts() local
144 phase1_ticks = div_round_ticks(timeout_ms - pretimeout_ms, tick_ms, 1); in otto_wdt_determine_timeouts()
145 phase2_ticks = total_ticks - phase1_ticks; in otto_wdt_determine_timeouts()
148 } while (phase1_ticks > OTTO_WDT_PHASE_TICKS_MAX in otto_wdt_determine_timeouts()
154 v |= FIELD_PREP(OTTO_WDT_CTRL_PHASE1, phase1_ticks - 1); in otto_wdt_determine_timeouts()