Searched refs:timeout_us (Results 1 – 1 of 1) sorted by relevance
2236 bge_ape_event_lock(bge_t *bgep, uint32_t timeout_us) in bge_ape_event_lock() argument2240 BGE_TRACE(("bge_ape_event_lock($%p, %d)", (void *)bgep, timeout_us)); in bge_ape_event_lock()2242 ASSERT(timeout_us > 0); in bge_ape_event_lock()2244 while (timeout_us) { in bge_ape_event_lock()2255 timeout_us -= (timeout_us > 10) ? 10 : timeout_us; in bge_ape_event_lock()2258 return (timeout_us ? 0 : -1); in bge_ape_event_lock()2263 bge_ape_wait_for_event(bge_t *bgep, uint32_t timeout_us) in bge_ape_wait_for_event() argument2268 BGE_TRACE(("bge_ape_wait_for_event($%p, %d)", (void *)bgep, timeout_us)); in bge_ape_wait_for_event()2270 ASSERT(timeout_us > 0); in bge_ape_wait_for_event()2272 for (i = 0; i < timeout_us / 10; i++) { in bge_ape_wait_for_event()[all …]