Lines Matching defs:wait
147 static int caam_read(struct hwrng *rng, void *dst, size_t max, bool wait)
152 if (wait) {
176 static inline void test_len(struct hwrng *rng, size_t len, bool wait)
186 read_len = rng->read(rng, buf, len, wait);
188 if (read_len < 0 || (read_len == 0 && wait)) {
205 static inline void test_mode_once(struct hwrng *rng, bool wait)
207 test_len(rng, 32, wait);
208 test_len(rng, 64, wait);
209 test_len(rng, 128, wait);
214 pr_info("Executing RNG SELF-TEST with wait\n");