Lines Matching refs:has_wrapped
314 static u32 sh_cmt_get_counter(struct sh_cmt_channel *ch, u32 *has_wrapped)
331 *has_wrapped = o1;
432 u32 has_wrapped;
434 now = sh_cmt_get_counter(ch, &has_wrapped);
437 if (has_wrapped) {
459 now = sh_cmt_get_counter(ch, &has_wrapped);
460 if (has_wrapped && (new_match > ch->match_value)) {
471 if (has_wrapped) {
495 * has_wrapped flag isn't set we must have
630 u32 has_wrapped;
639 raw = sh_cmt_get_counter(ch, &has_wrapped);
641 if (unlikely(has_wrapped))
648 return sh_cmt_get_counter(ch, &has_wrapped);