Lines Matching +full:poll +full:- +full:timeout +full:- +full:ms

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2012-2014 The Linux Foundation. All rights reserved.
17 * read_poll_timeout - Periodically poll an address until a condition is
18 * met or a timeout occurs
23 * tight-loops). Should be less than ~20ms since usleep_range
24 * is used (see Documentation/timers/timers-howto.rst).
25 * @timeout_us: Timeout in us, 0 means never timeout
27 * @args: arguments for @op poll
29 * Returns 0 on success and -ETIMEDOUT upon a timeout. In either
57 (cond) ? 0 : -ETIMEDOUT; \
61 * read_poll_timeout_atomic - Periodically poll an address until a condition is
62 * met or a timeout occurs
66 * @delay_us: Time to udelay between reads in us (0 tight-loops). Should
68 * Documentation/timers/timers-howto.rst).
69 * @timeout_us: Timeout in us, 0 means never timeout
71 * @args: arguments for @op poll
73 * Returns 0 on success and -ETIMEDOUT upon a timeout. In either
99 (cond) ? 0 : -ETIMEDOUT; \
103 * readx_poll_timeout - Periodically poll an address until a condition is met or a timeout occurs
105 * @addr: Address to poll
109 * tight-loops). Should be less than ~20ms since usleep_range
110 * is used (see Documentation/timers/timers-howto.rst).
111 * @timeout_us: Timeout in us, 0 means never timeout
113 * Returns 0 on success and -ETIMEDOUT upon a timeout. In either
124 …* readx_poll_timeout_atomic - Periodically poll an address until a condition is met or a timeout o…
126 * @addr: Address to poll
129 * @delay_us: Time to udelay between reads in us (0 tight-loops). Should
131 * Documentation/timers/timers-howto.rst).
132 * @timeout_us: Timeout in us, 0 means never timeout
134 * Returns 0 on success and -ETIMEDOUT upon a timeout. In either