Lines Matching refs:period_max
317 static int irq_timings_next_event_index(int *buffer, size_t len, int period_max) in irq_timings_next_event_index() argument
325 buffer = &buffer[len - (period_max * 3)]; in irq_timings_next_event_index()
328 len = period_max * 3; in irq_timings_next_event_index()
337 for (period = period_max; period >= PREDICTION_PERIOD_MIN; period--) { in irq_timings_next_event_index()
384 int index, i, period_max, count, start, min = INT_MAX; in __irq_timings_next_event() local
396 period_max = irqs->count > (3 * PREDICTION_PERIOD_MAX) ? in __irq_timings_next_event()
403 if (period_max <= PREDICTION_PERIOD_MIN) in __irq_timings_next_event()
428 index = irq_timings_next_event_index(irqs->timings, count, period_max); in __irq_timings_next_event()
716 int index, start, i, count, period_max; in irq_timings_test_next_index() local
720 period_max = count > (3 * PREDICTION_PERIOD_MAX) ? in irq_timings_test_next_index()
745 index = irq_timings_next_event_index(buffer, count, period_max); in irq_timings_test_next_index()