| D | i915_utils.h | 298 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument 299 const ktime_t end__ = ktime_add_ns(ktime_get_raw(), 1000ll * (US)); \ 323 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument 334 #define _wait_for_atomic(COND, US, ATOMIC) \ argument 336 int cpu, ret, timeout = (US) * 1000; \ 371 #define wait_for_us(COND, US) \ argument 374 BUILD_BUG_ON(!__builtin_constant_p(US)); \ 375 if ((US) > 10) \ 376 ret__ = _wait_for((COND), (US), 10, 10); \ 378 ret__ = _wait_for_atomic((COND), (US), 0); \ [all …]
|