Lines Matching refs:NUM_TIMER_STATS
87 #define NUM_TIMER_STATS 16 macro
89 struct fast_timer timer_added_log[NUM_TIMER_STATS];
90 struct fast_timer timer_started_log[NUM_TIMER_STATS];
91 struct fast_timer timer_expired_log[NUM_TIMER_STATS];
94 int timer_div_settings[NUM_TIMER_STATS];
95 int timer_delay_settings[NUM_TIMER_STATS];
152 timer_div_settings[fast_timers_started % NUM_TIMER_STATS] = trig; in start_timer_trig()
153 timer_delay_settings[fast_timers_started % NUM_TIMER_STATS] = delay_us; in start_timer_trig()
231 timer_added_log[fast_timers_added % NUM_TIMER_STATS] = *t; in start_one_shot_timer()
244 timer_started_log[fast_timers_started % NUM_TIMER_STATS] = *t; in start_one_shot_timer()
368 timer_expired_log[fast_timers_expired % NUM_TIMER_STATS] = *t; in timer_trig_handler()
421 timer_started_log[fast_timers_started % NUM_TIMER_STATS] = *t; in timer_trig_handler()
468 #define BIG_BUF_SIZE (500 + NUM_TIMER_STATS * 300)
513 num_to_show = (fast_timers_started < NUM_TIMER_STATS ? fast_timers_started: in proc_fasttimer_show()
514 NUM_TIMER_STATS); in proc_fasttimer_show()
517 int cur = (fast_timers_started - i - 1) % NUM_TIMER_STATS; in proc_fasttimer_show()
541 num_to_show = (fast_timers_added < NUM_TIMER_STATS ? fast_timers_added: in proc_fasttimer_show()
542 NUM_TIMER_STATS); in proc_fasttimer_show()
545 t = &timer_added_log[(fast_timers_added - i - 1) % NUM_TIMER_STATS]; in proc_fasttimer_show()
559 num_to_show = (fast_timers_expired < NUM_TIMER_STATS ? fast_timers_expired: in proc_fasttimer_show()
560 NUM_TIMER_STATS); in proc_fasttimer_show()
563 t = &timer_expired_log[(fast_timers_expired - i - 1) % NUM_TIMER_STATS]; in proc_fasttimer_show()