Lines Matching refs:cond
36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ argument
47 if (cond) \
58 (cond) ? 0 : -ETIMEDOUT; \
84 #define read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, \ argument
98 if (cond) \
113 (cond) ? 0 : -ETIMEDOUT; \
134 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument
135 read_poll_timeout(op, val, cond, sleep_us, timeout_us, false, addr)
154 #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ argument
155 read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, false, addr)
157 #define readb_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
158 readx_poll_timeout(readb, addr, val, cond, delay_us, timeout_us)
160 #define readb_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
161 readx_poll_timeout_atomic(readb, addr, val, cond, delay_us, timeout_us)
163 #define readw_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
164 readx_poll_timeout(readw, addr, val, cond, delay_us, timeout_us)
166 #define readw_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
167 readx_poll_timeout_atomic(readw, addr, val, cond, delay_us, timeout_us)
169 #define readl_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
170 readx_poll_timeout(readl, addr, val, cond, delay_us, timeout_us)
172 #define readl_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
173 readx_poll_timeout_atomic(readl, addr, val, cond, delay_us, timeout_us)
175 #define readq_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
176 readx_poll_timeout(readq, addr, val, cond, delay_us, timeout_us)
178 #define readq_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
179 readx_poll_timeout_atomic(readq, addr, val, cond, delay_us, timeout_us)
181 #define readb_relaxed_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
182 readx_poll_timeout(readb_relaxed, addr, val, cond, delay_us, timeout_us)
184 #define readb_relaxed_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
185 readx_poll_timeout_atomic(readb_relaxed, addr, val, cond, delay_us, timeout_us)
187 #define readw_relaxed_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
188 readx_poll_timeout(readw_relaxed, addr, val, cond, delay_us, timeout_us)
190 #define readw_relaxed_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
191 readx_poll_timeout_atomic(readw_relaxed, addr, val, cond, delay_us, timeout_us)
193 #define readl_relaxed_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
194 readx_poll_timeout(readl_relaxed, addr, val, cond, delay_us, timeout_us)
196 #define readl_relaxed_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
197 readx_poll_timeout_atomic(readl_relaxed, addr, val, cond, delay_us, timeout_us)
199 #define readq_relaxed_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
200 readx_poll_timeout(readq_relaxed, addr, val, cond, delay_us, timeout_us)
202 #define readq_relaxed_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
203 readx_poll_timeout_atomic(readq_relaxed, addr, val, cond, delay_us, timeout_us)