Home
last modified time | relevance | path

Searched refs:time_to_sleep (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tl/
H A Dmali_kbase_timeline.c261 s64 elapsed_time_ms, time_to_sleep; in kbase_timeline_release() local
273 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()
/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-stat.c600 int *time_to_sleep) in compute_tts() argument
602 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() local
629 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()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_cfgvif.c6168 int time_to_sleep = MAX_AP_RESUME_TIME; in wl_set_ap_suspend() local
6218 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_cfgvif.c6123 int time_to_sleep = MAX_AP_RESUME_TIME; in wl_set_ap_suspend() local
6173 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()