Lines Matching refs:US
261 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument
262 const ktime_t end__ = ktime_add_ns(ktime_get_raw(), 1000ll * (US)); \
286 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument
297 #define _wait_for_atomic(COND, US, ATOMIC) \ argument
299 int cpu, ret, timeout = (US) * 1000; \
334 #define wait_for_us(COND, US) \ argument
337 BUILD_BUG_ON(!__builtin_constant_p(US)); \
338 if ((US) > 10) \
339 ret__ = _wait_for((COND), (US), 10, 10); \
341 ret__ = _wait_for_atomic((COND), (US), 0); \
345 #define wait_for_atomic_us(COND, US) \ argument
347 BUILD_BUG_ON(!__builtin_constant_p(US)); \
348 BUILD_BUG_ON((US) > 50000); \
349 _wait_for_atomic((COND), (US), 1); \