Searched refs:user_timeout_ms (Results 1 – 2 of 2) sorted by relevance
880 static long user_timeout_to_jiffies(uint32_t user_timeout_ms) in user_timeout_to_jiffies() argument882 if (user_timeout_ms == KFD_EVENT_TIMEOUT_IMMEDIATE) in user_timeout_to_jiffies()885 if (user_timeout_ms == KFD_EVENT_TIMEOUT_INFINITE) in user_timeout_to_jiffies()893 user_timeout_ms = min_t(uint32_t, user_timeout_ms, 0x7FFFFFFF); in user_timeout_to_jiffies()895 return msecs_to_jiffies(user_timeout_ms) + 1; in user_timeout_to_jiffies()919 bool all, uint32_t *user_timeout_ms, in kfd_wait_on_events() argument928 long timeout = user_timeout_to_jiffies(*user_timeout_ms); in kfd_wait_on_events()979 if (*user_timeout_ms != KFD_EVENT_TIMEOUT_IMMEDIATE && in kfd_wait_on_events()980 *user_timeout_ms != KFD_EVENT_TIMEOUT_INFINITE) in kfd_wait_on_events()981 *user_timeout_ms = jiffies_to_msecs( in kfd_wait_on_events()
1317 bool all, uint32_t *user_timeout_ms,