Searched refs:stage_timeout (Results 1 – 1 of 1) sorted by relevance
137 u32 stage_timeout; in kempld_wdt_set_stage_timeout() local154 stage_timeout = stage_timeout64 & stage->mask; in kempld_wdt_set_stage_timeout()162 stage_timeout); in kempld_wdt_set_stage_timeout()176 u64 stage_timeout; in kempld_wdt_get_timeout() local185 stage_timeout = kempld_read32(pld, KEMPLD_WDT_STAGE_TIMEOUT(stage->id)); in kempld_wdt_get_timeout()188 stage_timeout = (stage_timeout & stage->mask) * prescaler; in kempld_wdt_get_timeout()189 remainder = do_div(stage_timeout, pld->pld_clock); in kempld_wdt_get_timeout()191 stage_timeout++; in kempld_wdt_get_timeout()193 timeout = stage_timeout; in kempld_wdt_get_timeout()194 WARN_ON_ONCE(timeout != stage_timeout); in kempld_wdt_get_timeout()