Lines Matching refs:has_wrapped
313 static u32 sh_cmt_get_counter(struct sh_cmt_channel *ch, u32 *has_wrapped) in sh_cmt_get_counter() argument
330 *has_wrapped = o1; in sh_cmt_get_counter()
430 u32 has_wrapped; in sh_cmt_clock_event_program_verify() local
432 now = sh_cmt_get_counter(ch, &has_wrapped); in sh_cmt_clock_event_program_verify()
435 if (has_wrapped) { in sh_cmt_clock_event_program_verify()
457 now = sh_cmt_get_counter(ch, &has_wrapped); in sh_cmt_clock_event_program_verify()
458 if (has_wrapped && (new_match > ch->match_value)) { in sh_cmt_clock_event_program_verify()
469 if (has_wrapped) { in sh_cmt_clock_event_program_verify()
645 u32 has_wrapped; in sh_cmt_clocksource_read() local
654 raw = sh_cmt_get_counter(ch, &has_wrapped); in sh_cmt_clocksource_read()
656 if (unlikely(has_wrapped)) in sh_cmt_clocksource_read()
663 return sh_cmt_get_counter(ch, &has_wrapped); in sh_cmt_clocksource_read()