Lines Matching refs:has_wrapped
285 int *has_wrapped) in sh_cmt_get_counter() argument
302 *has_wrapped = o1; in sh_cmt_get_counter()
421 int has_wrapped; in sh_cmt_clock_event_program_verify() local
423 now = sh_cmt_get_counter(ch, &has_wrapped); in sh_cmt_clock_event_program_verify()
426 if (has_wrapped) { in sh_cmt_clock_event_program_verify()
448 now = sh_cmt_get_counter(ch, &has_wrapped); in sh_cmt_clock_event_program_verify()
449 if (has_wrapped && (new_match > ch->match_value)) { in sh_cmt_clock_event_program_verify()
460 if (has_wrapped) { in sh_cmt_clock_event_program_verify()
620 int has_wrapped; in sh_cmt_clocksource_read() local
624 raw = sh_cmt_get_counter(ch, &has_wrapped); in sh_cmt_clocksource_read()
626 if (unlikely(has_wrapped)) in sh_cmt_clocksource_read()