Lines Matching refs:cond
36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ argument
47 if (cond) \
57 (cond) ? 0 : -ETIMEDOUT; \
79 #define read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, \ argument
89 if (cond) \
99 (cond) ? 0 : -ETIMEDOUT; \
120 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument
121 read_poll_timeout(op, val, cond, sleep_us, timeout_us, false, addr)
140 #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ argument
141 read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, false, addr)
143 #define readb_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
144 readx_poll_timeout(readb, addr, val, cond, delay_us, timeout_us)
146 #define readb_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
147 readx_poll_timeout_atomic(readb, addr, val, cond, delay_us, timeout_us)
149 #define readw_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
150 readx_poll_timeout(readw, addr, val, cond, delay_us, timeout_us)
152 #define readw_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
153 readx_poll_timeout_atomic(readw, addr, val, cond, delay_us, timeout_us)
155 #define readl_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
156 readx_poll_timeout(readl, addr, val, cond, delay_us, timeout_us)
158 #define readl_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
159 readx_poll_timeout_atomic(readl, addr, val, cond, delay_us, timeout_us)
161 #define readq_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
162 readx_poll_timeout(readq, addr, val, cond, delay_us, timeout_us)
164 #define readq_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
165 readx_poll_timeout_atomic(readq, addr, val, cond, delay_us, timeout_us)
167 #define readb_relaxed_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
168 readx_poll_timeout(readb_relaxed, addr, val, cond, delay_us, timeout_us)
170 #define readb_relaxed_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
171 readx_poll_timeout_atomic(readb_relaxed, addr, val, cond, delay_us, timeout_us)
173 #define readw_relaxed_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
174 readx_poll_timeout(readw_relaxed, addr, val, cond, delay_us, timeout_us)
176 #define readw_relaxed_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
177 readx_poll_timeout_atomic(readw_relaxed, addr, val, cond, delay_us, timeout_us)
179 #define readl_relaxed_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
180 readx_poll_timeout(readl_relaxed, addr, val, cond, delay_us, timeout_us)
182 #define readl_relaxed_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
183 readx_poll_timeout_atomic(readl_relaxed, addr, val, cond, delay_us, timeout_us)
185 #define readq_relaxed_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
186 readx_poll_timeout(readq_relaxed, addr, val, cond, delay_us, timeout_us)
188 #define readq_relaxed_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
189 readx_poll_timeout_atomic(readq_relaxed, addr, val, cond, delay_us, timeout_us)