Searched refs:cmcnt (Results 1 – 3 of 3) sorted by relevance
51 static vu_long cmcnt = 0; variable56 if (data >= cmcnt) in get_usec()57 cmcnt = data - cmcnt; in get_usec()59 cmcnt = (CMT_TIMER_RESET - cmcnt) + data; in get_usec()61 if ((cmt0_timer + cmcnt) > CMT_MAX_COUNTER) in get_usec()62 cmt0_timer = ((cmt0_timer + cmcnt) - CMT_MAX_COUNTER); in get_usec()64 cmt0_timer += cmcnt; in get_usec()66 cmcnt = data; in get_usec()
62 next_time = cmt->cmcor[ch] - cmt->cmcnt[ch]; in update_events()87 return cmt->cmcnt[ch] + delta; in read_cmcnt()89 return cmt->cmcnt[ch]; in read_cmcnt()160 cmt->cmcnt[ch] = val; in cmt_write()193 cmt->cmcnt[ch] = 0; in timer_events()220 cmt->cmcnt[0] = cmt->cmcnt[1] = 0; in rcmt_reset()248 VMSTATE_UINT16_ARRAY(cmcnt, RCMTState, CMT_CH),
36 uint16_t cmcnt[CMT_CH]; member