Lines Matching refs:FIELD_EX16
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()
102 FIELD_EX16(cmt->cmstr, CMSTR, STR)); in cmt_read()
113 FIELD_EX16(cmt->cmstr, CMCR, CKS)); in cmt_read()
115 FIELD_EX16(cmt->cmstr, CMCR, CMIE)); in cmt_read()
144 cmt->cmstr = FIELD_EX16(val, CMSTR, STR); in cmt_write()
145 start_stop(cmt, 0, FIELD_EX16(cmt->cmstr, CMSTR, STR0)); in cmt_write()
146 start_stop(cmt, 1, FIELD_EX16(cmt->cmstr, CMSTR, STR1)); in cmt_write()
155 FIELD_EX16(val, CMCR, CKS)); in cmt_write()
157 FIELD_EX16(val, CMCR, CMIE)); in cmt_write()
171 if (FIELD_EX16(cmt->cmstr, CMSTR, STR) & (1 << ch)) { in cmt_write()
196 if (FIELD_EX16(cmt->cmcr[ch], CMCR, CMIE)) { in timer_events()