Home
last modified time | relevance | path

Searched refs:period_max (Results 1 – 2 of 2) sorted by relevance

/linux/kernel/irq/
H A Dtimings.c317 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()
[all …]
/linux/drivers/iio/common/inv_sensors/
H A Dinv_sensors_timestamp.c83 uint32_t period_min, period_max; in inv_validate_period() local
87 period_max = ts->max_period * ts->mult; in inv_validate_period()
88 if (period > period_min && period < period_max) in inv_validate_period()
113 const int64_t period_max = ts->max_period * ts->mult; in inv_align_timestamp_it() local
122 add_max = period_max - (int64_t)ts->period; in inv_align_timestamp_it()