Lines Matching refs:timeout_us

25  * @timeout_us: Timeout in us, 0 means never timeout
31 * be called from atomic context if sleep_us or timeout_us are used.
36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \
39 u64 __timeout_us = (timeout_us); \
70 * @timeout_us: Timeout in us, 0 means never timeout
84 #define read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, \
87 u64 __timeout_us = (timeout_us); \
125 * @timeout_us: Timeout in us, 0 means never timeout
129 * be called from atomic context if sleep_us or timeout_us are used.
134 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \
135 read_poll_timeout(op, val, cond, sleep_us, timeout_us, false, addr)
146 * @timeout_us: Timeout in us, 0 means never timeout
154 #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \
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) \
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) \
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) \
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) \
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) \
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) \
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) \
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) \
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) \
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) \
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) \
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) \
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) \
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) \
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) \
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) \
203 readx_poll_timeout_atomic(readq_relaxed, addr, val, cond, delay_us, timeout_us)