D | intel_drv.h | 52 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument 53 const ktime_t end__ = ktime_add_ns(ktime_get_raw(), 1000ll * (US)); \ 77 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument 88 #define _wait_for_atomic(COND, US, ATOMIC) \ argument 90 int cpu, ret, timeout = (US) * 1000; \ 125 #define wait_for_us(COND, US) \ argument 128 BUILD_BUG_ON(!__builtin_constant_p(US)); \ 129 if ((US) > 10) \ 130 ret__ = _wait_for((COND), (US), 10, 10); \ 132 ret__ = _wait_for_atomic((COND), (US), 0); \ [all …]
|