Lines Matching refs:US
311 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument
312 const ktime_t end__ = ktime_add_ns(ktime_get_raw(), 1000ll * (US)); \
336 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument
347 #define _wait_for_atomic(COND, US, ATOMIC) \ argument
349 int cpu, ret, timeout = (US) * 1000; \
384 #define wait_for_us(COND, US) \ argument
387 BUILD_BUG_ON(!__builtin_constant_p(US)); \
388 if ((US) > 10) \
389 ret__ = _wait_for((COND), (US), 10, 10); \
391 ret__ = _wait_for_atomic((COND), (US), 0); \
395 #define wait_for_atomic_us(COND, US) \ argument
397 BUILD_BUG_ON(!__builtin_constant_p(US)); \
398 BUILD_BUG_ON((US) > 50000); \
399 _wait_for_atomic((COND), (US), 1); \