Lines Matching refs:US
317 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument
318 const ktime_t end__ = ktime_add_ns(ktime_get_raw(), 1000ll * (US)); \
342 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument
353 #define _wait_for_atomic(COND, US, ATOMIC) \ argument
355 int cpu, ret, timeout = (US) * 1000; \
390 #define wait_for_us(COND, US) \ argument
393 BUILD_BUG_ON(!__builtin_constant_p(US)); \
394 if ((US) > 10) \
395 ret__ = _wait_for((COND), (US), 10, 10); \
397 ret__ = _wait_for_atomic((COND), (US), 0); \
401 #define wait_for_atomic_us(COND, US) \ argument
403 BUILD_BUG_ON(!__builtin_constant_p(US)); \
404 BUILD_BUG_ON((US) > 50000); \
405 _wait_for_atomic((COND), (US), 1); \