Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/timer/
Dnpcx_itim_timer.c78 static uint32_t cyc_evt_timeout; variable
149 cyc_evt_timeout = NPCX_ITIM32_MAX_CNT; in npcx_itim_start_evt_tmr_by_tick()
161 cyc_evt_timeout = 1; in npcx_itim_start_evt_tmr_by_tick()
168 cyc_evt_timeout = CLAMP(dticks, 1, NPCX_ITIM32_MAX_CNT); in npcx_itim_start_evt_tmr_by_tick()
171 LOG_DBG("ticks %x, cyc_evt_timeout %x", ticks, cyc_evt_timeout); in npcx_itim_start_evt_tmr_by_tick()
179 evt_tmr->ITCNT32 = MAX(cyc_evt_timeout - 1, 1); in npcx_itim_start_evt_tmr_by_tick()
244 cnt2 = cyc_evt_timeout; in npcx_itim_evt_elapsed_cyc32()
246 cnt2 = cyc_evt_timeout - cnt2 - 1; in npcx_itim_evt_elapsed_cyc32()