Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/timer/
Dnpcx_itim_timer.c64 static struct itim64_reg *const sys_tmr = (struct itim64_reg *) variable
91 cnt64h_check = sys_tmr->ITCNT64H; in npcx_itim_get_sys_cyc64()
92 cnt64l = sys_tmr->ITCNT64L; in npcx_itim_get_sys_cyc64()
93 cnt64h = sys_tmr->ITCNT64H; in npcx_itim_get_sys_cyc64()
376 sys_tmr->ITPRE64 = 0; in sys_clock_driver_init()
377 sys_tmr->ITCNT64L = NPCX_ITIM64_MAX_HALF_CNT; in sys_clock_driver_init()
378 sys_tmr->ITCNT64H = NPCX_ITIM64_MAX_HALF_CNT; in sys_clock_driver_init()
383 sys_tmr->ITCTS64 = BIT(NPCX_ITCTSXX_TO_STS); in sys_clock_driver_init()
385 sys_tmr->ITCTS64 |= BIT(NPCX_ITCTSXX_ITEN); in sys_clock_driver_init()