Lines Matching +full:- +full:- +full:retry +full:- +full:delay
1 // SPDX-License-Identifier: GPL-2.0
12 delay::{
53 /// fn wait_for_hardware<const SIZE: usize>(io: &Io<SIZE>) -> Result {
72 ) -> Result<T> in read_poll_timeout()
74 Op: FnMut() -> Result<T>, in read_poll_timeout()
75 Cond: FnMut(&T) -> bool, in read_poll_timeout()
80 // as conditional calls are error-prone. We clearly separate in read_poll_timeout()
103 // `fsleep()` could be a busy-wait loop so we always call `cpu_relax()`. in read_poll_timeout()
119 /// returns `true`, or the attempt limit specified by `retry` is reached.
125 /// If the attempt limit specified by `retry` is reached, then
136 /// fn wait_for_hardware<const SIZE: usize>(io: &Io<SIZE>) -> Result {
153 retry: usize, in read_poll_timeout_atomic()
154 ) -> Result<T> in read_poll_timeout_atomic()
156 Op: FnMut() -> Result<T>, in read_poll_timeout_atomic()
157 Cond: FnMut(&T) -> bool, in read_poll_timeout_atomic()
159 for _ in 0..retry { in read_poll_timeout_atomic()