Searched refs:timeout_us (Results 1 – 1 of 1) sorted by relevance
2270 bge_ape_event_lock(bge_t *bgep, uint32_t timeout_us) in bge_ape_event_lock() argument2274 BGE_TRACE(("bge_ape_event_lock($%p, %d)", (void *)bgep, timeout_us)); in bge_ape_event_lock()2276 ASSERT(timeout_us > 0); in bge_ape_event_lock()2278 while (timeout_us) { in bge_ape_event_lock()2289 timeout_us -= (timeout_us > 10) ? 10 : timeout_us; in bge_ape_event_lock()2292 return (timeout_us ? 0 : -1); in bge_ape_event_lock()2297 bge_ape_wait_for_event(bge_t *bgep, uint32_t timeout_us) in bge_ape_wait_for_event() argument2302 BGE_TRACE(("bge_ape_wait_for_event($%p, %d)", (void *)bgep, timeout_us)); in bge_ape_wait_for_event()2304 ASSERT(timeout_us > 0); in bge_ape_wait_for_event()2306 for (i = 0; i < timeout_us / 10; i++) { in bge_ape_wait_for_event()[all …]