Lines Matching refs:has_wrapped
313 static u32 sh_cmt_get_counter(struct sh_cmt_channel *ch, u32 *has_wrapped)
330 *has_wrapped = o1;
430 u32 has_wrapped;
432 now = sh_cmt_get_counter(ch, &has_wrapped);
435 if (has_wrapped) {
457 now = sh_cmt_get_counter(ch, &has_wrapped);
458 if (has_wrapped && (new_match > ch->match_value)) {
469 if (has_wrapped) {
493 * has_wrapped flag isn't set we must have
640 u32 has_wrapped;
649 raw = sh_cmt_get_counter(ch, &has_wrapped);
651 if (unlikely(has_wrapped))
658 return sh_cmt_get_counter(ch, &has_wrapped);