Lines Matching refs:NUM_TIMER_STATS

103 #define NUM_TIMER_STATS 16  macro
105 struct fast_timer timer_added_log[NUM_TIMER_STATS];
106 struct fast_timer timer_started_log[NUM_TIMER_STATS];
107 struct fast_timer timer_expired_log[NUM_TIMER_STATS];
110 int timer_div_settings[NUM_TIMER_STATS];
111 int timer_freq_settings[NUM_TIMER_STATS];
112 int timer_delay_settings[NUM_TIMER_STATS];
174 timer_div_settings[fast_timers_started % NUM_TIMER_STATS] = div; in start_timer1()
175 timer_freq_settings[fast_timers_started % NUM_TIMER_STATS] = freq_index; in start_timer1()
176 timer_delay_settings[fast_timers_started % NUM_TIMER_STATS] = delay_us; in start_timer1()
252 timer_added_log[fast_timers_added % NUM_TIMER_STATS] = *t; in start_one_shot_timer()
268 timer_started_log[fast_timers_started % NUM_TIMER_STATS] = *t; in start_one_shot_timer()
379 timer_expired_log[fast_timers_expired % NUM_TIMER_STATS] = *t; in timer1_handler()
441 timer_started_log[fast_timers_started % NUM_TIMER_STATS] = *t; in timer1_handler()
494 #define BIG_BUF_SIZE (500 + NUM_TIMER_STATS * 300)
539 num_to_show = (fast_timers_started < NUM_TIMER_STATS ? fast_timers_started: in proc_fasttimer_show()
540 NUM_TIMER_STATS); in proc_fasttimer_show()
543 int cur = (fast_timers_started - i - 1) % NUM_TIMER_STATS; in proc_fasttimer_show()
568 num_to_show = (fast_timers_added < NUM_TIMER_STATS ? fast_timers_added: in proc_fasttimer_show()
569 NUM_TIMER_STATS); in proc_fasttimer_show()
572 t = &timer_added_log[(fast_timers_added - i - 1) % NUM_TIMER_STATS]; in proc_fasttimer_show()
586 num_to_show = (fast_timers_expired < NUM_TIMER_STATS ? fast_timers_expired: in proc_fasttimer_show()
587 NUM_TIMER_STATS); in proc_fasttimer_show()
590 t = &timer_expired_log[(fast_timers_expired - i - 1) % NUM_TIMER_STATS]; in proc_fasttimer_show()