Lines Matching refs:COND
52 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument
62 if (COND) { \
77 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument
79 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) argument
88 #define _wait_for_atomic(COND, US, ATOMIC) \ argument
104 if (COND) { \
125 #define wait_for_us(COND, US) \ argument
130 ret__ = _wait_for((COND), (US), 10, 10); \
132 ret__ = _wait_for_atomic((COND), (US), 0); \
136 #define wait_for_atomic_us(COND, US) \ argument
140 _wait_for_atomic((COND), (US), 1); \
143 #define wait_for_atomic(COND, MS) wait_for_atomic_us((COND), (MS) * 1000) argument