Lines Matching refs:read
118 size_t read = 0, rng_size;
125 while (read < max) {
126 rng_size = get_optee_rng_data(pvt_data, data, (max - read));
129 read += rng_size;
132 if ((timeout-- == 0) || (read == max))
133 return read;
134 msleep((1000 * (max - read)) / pvt_data->data_rate);
136 return read;
140 return read;
172 .read = optee_rng_read,