Searched refs:pre_scal (Results 1 – 1 of 1) sorted by relevance
214 uint32_t wd_cnt, pre_scal; in wdt_npcx_setup() local258 pre_scal = DIV_ROUND_UP(wd_cnt, 255); in wdt_npcx_setup()264 wdcp = LOG2(pre_scal - 1) + 1; in wdt_npcx_setup()265 pre_scal = 1 << wdcp; in wdt_npcx_setup()268 inst->WDCNT = wd_cnt / pre_scal; in wdt_npcx_setup()