Searched refs:evt_tmr (Results 1 – 1 of 1) sorted by relevance
66 static struct itim32_reg *const evt_tmr = (struct itim32_reg *) variable113 evt_tmr->ITCTS32 |= BIT(NPCX_ITCTSXX_ITEN); in npcx_itim_evt_enable()120 while (!IS_BIT_SET(evt_tmr->ITCTS32, NPCX_ITCTSXX_ITEN)) { in npcx_itim_evt_enable()124 if (!IS_BIT_SET(evt_tmr->ITCTS32, NPCX_ITCTSXX_ITEN)) { in npcx_itim_evt_enable()137 evt_tmr->ITCTS32 &= ~BIT(NPCX_ITCTSXX_ITEN); in npcx_itim_evt_disable()174 if (IS_BIT_SET(evt_tmr->ITCTS32, NPCX_ITCTSXX_ITEN)) { 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()192 evt_tmr->ITCTS32 |= BIT(NPCX_ITCTSXX_TO_STS); in npcx_itim_evt_isr()230 : [tmr] "r"(evt_tmr), [itcnt32_off] "i"(offsetof(struct itim32_reg, ITCNT32)) in npcx_itim_get_evt_cyc32()239 uint8_t sys_cts = evt_tmr->ITCTS32; in npcx_itim_evt_elapsed_cyc32()[all …]