Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/counter/
Dcounter_andes_atcpit100.c223 uint32_t top, now_cnt, remain_cnt, alarm_cnt, flags, reg; in atcpit100_set_alarm() local
243 remain_cnt = sys_read32(PIT_CH_CNTR(dev, 3)); in atcpit100_set_alarm()
258 now_cnt = top - remain_cnt; in atcpit100_set_alarm()
268 reg = alarm_cnt + remain_cnt; in atcpit100_set_alarm()
286 now_cnt = remain_cnt + config->divider - 1; in atcpit100_set_alarm()
290 reg = alarm_cnt - (now_cnt - remain_cnt); in atcpit100_set_alarm()