Home | History | Annotate | Download | only in i915

Lines Matching refs:COND

303 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \
311 if (COND) { \
330 /* Guarantee COND check prior to timeout */ \
332 if (COND) { \
348 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \
356 /* Guarantee COND check prior to timeout */ \
358 if (COND) { \
374 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \
376 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000)
385 #define _wait_for_atomic(COND, US, ATOMIC) \
399 /* Guarantee COND check prior to timeout */ \
401 if (COND) { \
422 #define wait_for_us(COND, US) \
427 ret__ = _wait_for((COND), (US), 10, 10); \
429 ret__ = _wait_for_atomic((COND), (US), 0); \
433 #define wait_for_atomic_us(COND, US) \
437 _wait_for_atomic((COND), (US), 1); \
440 #define wait_for_atomic(COND, MS) wait_for_atomic_us((COND), (MS) * 1000)