Lines Matching refs:max_match_value
103 u32 max_match_value; member
452 if (new_match > ch->max_match_value) in sh_cmt_clock_event_program_verify()
453 new_match = ch->max_match_value; in sh_cmt_clock_event_program_verify()
511 if (delta > ch->max_match_value) in __sh_cmt_set_next()
545 ch->next_match_value = ch->max_match_value; in sh_cmt_interrupt()
552 ch->next_match_value = ch->max_match_value; in sh_cmt_interrupt()
604 __sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_start()
629 __sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_stop()
748 sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_clock_event_start()
855 ced->max_delta_ns = clockevent_delta2ns(ch->max_match_value, ced); in sh_cmt_register_clockevent()
856 ced->max_delta_ticks = ch->max_match_value; in sh_cmt_register_clockevent()
929 if (cmt->info->width == (sizeof(ch->max_match_value) * 8)) in sh_cmt_setup_channel()
930 ch->max_match_value = ~0; in sh_cmt_setup_channel()
932 ch->max_match_value = (1 << cmt->info->width) - 1; in sh_cmt_setup_channel()
934 ch->match_value = ch->max_match_value; in sh_cmt_setup_channel()