Searched refs:time_to_sleep (Results 1 – 4 of 4) sorted by relevance
261 s64 elapsed_time_ms, time_to_sleep; in kbase_timeline_release() local273 time_to_sleep = (elapsed_time_ms < 0 ? TIMELINE_HYSTERESIS_TIMEOUT_MS : in kbase_timeline_release()275 if (time_to_sleep > 0) in kbase_timeline_release()276 msleep_interruptible(time_to_sleep); in kbase_timeline_release()
600 int *time_to_sleep) in compute_tts() argument602 int tts = *time_to_sleep; in compute_tts()613 *time_to_sleep = tts; in compute_tts()619 int time_to_sleep, sleep_time; in dispatch_events() local629 time_to_sleep = sleep_time; in dispatch_events()641 if (!(evlist__poll(evsel_list, time_to_sleep) > 0)) { /* poll timeout or EINTR */ in dispatch_events()644 time_to_sleep = sleep_time; in dispatch_events()648 compute_tts(&time_start, &time_stop, &time_to_sleep); in dispatch_events()
6168 int time_to_sleep = MAX_AP_RESUME_TIME; in wl_set_ap_suspend() local6218 msecs_to_jiffies(time_to_sleep)); in wl_set_ap_suspend()6221 time_to_sleep -= jiffies_to_msecs(get_jiffies_64() - start_j); in wl_set_ap_suspend()6222 if (time_to_sleep <= 0) { in wl_set_ap_suspend()
6123 int time_to_sleep = MAX_AP_RESUME_TIME; in wl_set_ap_suspend() local6173 msecs_to_jiffies(time_to_sleep)); in wl_set_ap_suspend()6176 time_to_sleep -= jiffies_to_msecs(get_jiffies_64() - start_j); in wl_set_ap_suspend()6177 if (time_to_sleep <= 0) { in wl_set_ap_suspend()