Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_chip2.c2270 bge_ape_event_lock(bge_t *bgep, uint32_t timeout_us) in bge_ape_event_lock() argument
2274 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() argument
2302 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 …]