Searched refs:stage_timeout (Results 1 – 1 of 1) sorted by relevance
135 u32 stage_timeout; in kempld_wdt_set_stage_timeout() local152 stage_timeout = stage_timeout64 & stage->mask; in kempld_wdt_set_stage_timeout()160 stage_timeout); in kempld_wdt_set_stage_timeout()174 u64 stage_timeout; in kempld_wdt_get_timeout() local183 stage_timeout = kempld_read32(pld, KEMPLD_WDT_STAGE_TIMEOUT(stage->id)); in kempld_wdt_get_timeout()186 stage_timeout = (stage_timeout & stage->mask) * prescaler; in kempld_wdt_get_timeout()187 remainder = do_div(stage_timeout, pld->pld_clock); in kempld_wdt_get_timeout()189 stage_timeout++; in kempld_wdt_get_timeout()191 timeout = stage_timeout; in kempld_wdt_get_timeout()192 WARN_ON_ONCE(timeout != stage_timeout); in kempld_wdt_get_timeout()