Lines Matching refs:retval
164 int retval; in cryptov1_rng_read() local
176 retval = readl_poll_timeout(pdata->base + CRYPTO_V1_CTRL, reg, in cryptov1_rng_read()
179 if (retval) in cryptov1_rng_read()
195 int retval; in cryptov2_rng_read() local
210 retval = readl_poll_timeout(pdata->base + CRYPTO_V2_RNG_CTL, reg, in cryptov2_rng_read()
213 if (retval) in cryptov2_rng_read()
222 return retval; in cryptov2_rng_read()
256 int retval; in trngv1_rng_read() local
264 retval = readl_poll_timeout(pdata->base + TRNG_V1_ISTAT, reg, in trngv1_rng_read()
270 if (retval) in trngv1_rng_read()
279 return retval; in trngv1_rng_read()
299 int retval; in rkrng_rng_read() local
310 retval = readl_poll_timeout(pdata->base + RKRNG_STATE, reg, in rkrng_rng_read()
313 if (retval) in rkrng_rng_read()
326 return retval; in rkrng_rng_read()