Lines Matching refs:CMCR
48 REG16(CMCR, 0)
49 FIELD(CMCR, CKS, 0, 2)
50 FIELD(CMCR, CMIE, 6, 1)
72 next_time *= 1 << (3 + FIELD_EX16(cmt->cmcr[ch], CMCR, CKS) * 2); in update_events()
85 delta /= 1 << (3 + FIELD_EX16(cmt->cmcr[ch], CMCR, CKS) * 2); in read_cmcnt()
112 ret = FIELD_DP16(ret, CMCR, CKS, in cmt_read()
113 FIELD_EX16(cmt->cmstr, CMCR, CKS)); in cmt_read()
114 ret = FIELD_DP16(ret, CMCR, CMIE, in cmt_read()
115 FIELD_EX16(cmt->cmstr, CMCR, CMIE)); in cmt_read()
154 cmt->cmcr[ch] = FIELD_DP16(cmt->cmcr[ch], CMCR, CKS, in cmt_write()
155 FIELD_EX16(val, CMCR, CKS)); in cmt_write()
156 cmt->cmcr[ch] = FIELD_DP16(cmt->cmcr[ch], CMCR, CMIE, in cmt_write()
157 FIELD_EX16(val, CMCR, CMIE)); in cmt_write()
196 if (FIELD_EX16(cmt->cmcr[ch], CMCR, CMIE)) { in timer_events()