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()
544 ch->next_match_value = ch->max_match_value; in sh_cmt_interrupt()
551 ch->next_match_value = ch->max_match_value; in sh_cmt_interrupt()
599 __sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_start()
624 __sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_stop()
743 sh_cmt_set_next(ch, ch->max_match_value); in sh_cmt_clock_event_start()
844 ced->max_delta_ns = clockevent_delta2ns(ch->max_match_value, ced); in sh_cmt_register_clockevent()
845 ced->max_delta_ticks = ch->max_match_value; in sh_cmt_register_clockevent()
918 if (cmt->info->width == (sizeof(ch->max_match_value) * 8)) in sh_cmt_setup_channel()
919 ch->max_match_value = ~0; in sh_cmt_setup_channel()
921 ch->max_match_value = (1 << cmt->info->width) - 1; in sh_cmt_setup_channel()
923 ch->match_value = ch->max_match_value; in sh_cmt_setup_channel()