Lines Matching refs:max_match_value
103 u32 max_match_value; member
437 if (new_match > ch->max_match_value) in sh_cmt_clock_event_program_verify()
438 new_match = ch->max_match_value; in sh_cmt_clock_event_program_verify()
496 if (delta > ch->max_match_value) in __sh_cmt_set_next()
529 ch->next_match_value = ch->max_match_value; in sh_cmt_interrupt()
536 ch->next_match_value = ch->max_match_value; in sh_cmt_interrupt()
584 __sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_start()
609 __sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_stop()
728 sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_clock_event_start()
829 ced->max_delta_ns = clockevent_delta2ns(ch->max_match_value, ced); in sh_cmt_register_clockevent()
830 ced->max_delta_ticks = ch->max_match_value; in sh_cmt_register_clockevent()
903 if (cmt->info->width == (sizeof(ch->max_match_value) * 8)) in sh_cmt_setup_channel()
904 ch->max_match_value = ~0; in sh_cmt_setup_channel()
906 ch->max_match_value = (1 << cmt->info->width) - 1; in sh_cmt_setup_channel()
908 ch->match_value = ch->max_match_value; in sh_cmt_setup_channel()