Lines Matching refs:has_wrapped
281 static u32 sh_cmt_get_counter(struct sh_cmt_channel *ch, u32 *has_wrapped) in sh_cmt_get_counter() argument
298 *has_wrapped = o1; in sh_cmt_get_counter()
415 u32 has_wrapped; in sh_cmt_clock_event_program_verify() local
417 now = sh_cmt_get_counter(ch, &has_wrapped); in sh_cmt_clock_event_program_verify()
420 if (has_wrapped) { in sh_cmt_clock_event_program_verify()
442 now = sh_cmt_get_counter(ch, &has_wrapped); in sh_cmt_clock_event_program_verify()
443 if (has_wrapped && (new_match > ch->match_value)) { in sh_cmt_clock_event_program_verify()
454 if (has_wrapped) { in sh_cmt_clock_event_program_verify()
625 u32 has_wrapped; in sh_cmt_clocksource_read() local
631 raw = sh_cmt_get_counter(ch, &has_wrapped); in sh_cmt_clocksource_read()
633 if (unlikely(has_wrapped)) in sh_cmt_clocksource_read()