Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/irq/
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-6.6.21/drivers/iio/common/inv_sensors/
Dinv_sensors_timestamp.c75 uint32_t period_min, period_max; in inv_validate_period() local
79 period_max = ts->max_period * mult; in inv_validate_period()
80 if (period > period_min && period < period_max) in inv_validate_period()
/linux-6.6.21/drivers/gpu/drm/bridge/
Dti-sn65dsi86.c1413 u64 period_max; in ti_sn_pwm_apply() local
1486 period_max = div_u64((u64)NSEC_PER_SEC * 255 * (65535 + 1), in ti_sn_pwm_apply()
1488 period = min(state->period, period_max); in ti_sn_pwm_apply()