Lines Matching refs:max_match_value
103 u32 max_match_value; member
436 if (new_match > ch->max_match_value) in sh_cmt_clock_event_program_verify()
437 new_match = ch->max_match_value; in sh_cmt_clock_event_program_verify()
495 if (delta > ch->max_match_value) in __sh_cmt_set_next()
528 ch->next_match_value = ch->max_match_value; in sh_cmt_interrupt()
535 ch->next_match_value = ch->max_match_value; in sh_cmt_interrupt()
577 __sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_start()
599 __sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_stop()
715 sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_clock_event_start()
816 ced->max_delta_ns = clockevent_delta2ns(ch->max_match_value, ced); in sh_cmt_register_clockevent()
817 ced->max_delta_ticks = ch->max_match_value; in sh_cmt_register_clockevent()
884 if (cmt->info->width == (sizeof(ch->max_match_value) * 8)) in sh_cmt_setup_channel()
885 ch->max_match_value = ~0; in sh_cmt_setup_channel()
887 ch->max_match_value = (1 << cmt->info->width) - 1; in sh_cmt_setup_channel()
889 ch->match_value = ch->max_match_value; in sh_cmt_setup_channel()