Lines Matching full:duration
145 unsigned long long duration, clamped; in max_spin_store() local
165 err = kstrtoull(buf, 0, &duration); in max_spin_store()
169 clamped = intel_clamp_max_busywait_duration_ns(engine, duration); in max_spin_store()
170 if (duration != clamped) in max_spin_store()
173 WRITE_ONCE(engine->props.max_busywait_duration_ns, duration); in max_spin_store()
205 unsigned long long duration, clamped; in timeslice_store() local
216 err = kstrtoull(buf, 0, &duration); in timeslice_store()
220 clamped = intel_clamp_timeslice_duration_ms(engine, duration); in timeslice_store()
221 if (duration != clamped) in timeslice_store()
224 WRITE_ONCE(engine->props.timeslice_duration_ms, duration); in timeslice_store()
227 set_timer_ms(&engine->execlists.timer, duration); in timeslice_store()
259 unsigned long long duration, clamped; in stop_store() local
266 * how long to sleep depends on the typical non-preemptible duration in stop_store()
271 err = kstrtoull(buf, 0, &duration); in stop_store()
275 clamped = intel_clamp_stop_timeout_ms(engine, duration); in stop_store()
276 if (duration != clamped) in stop_store()
279 WRITE_ONCE(engine->props.stop_timeout_ms, duration); in stop_store()