Home
last modified time | relevance | path

Searched refs:datum_size (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/char/hw_random/
Dxgene-rng.c82 u32 datum_size; member
231 for (i = 0; i < ctx->datum_size; i++) in xgene_rng_data_read()
237 return ctx->datum_size << 2; in xgene_rng_data_read()
294 ctx->datum_size = RNG_MAX_DATUM; in xgene_rng_init()
/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-buffer.c110 size_t datum_size; in iio_buffer_read_outer() local
120 datum_size = rb->bytes_per_datum; in iio_buffer_read_outer()
126 if (!datum_size) in iio_buffer_read_outer()
132 to_wait = min_t(size_t, n / datum_size, rb->watermark); in iio_buffer_read_outer()
141 if (!iio_buffer_ready(indio_dev, rb, to_wait, n / datum_size)) { in iio_buffer_read_outer()