Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/char/hw_random/
Dxgene-rng.c82 u32 datum_size; member
230 for (i = 0; i < ctx->datum_size; i++) in xgene_rng_data_read()
236 return ctx->datum_size << 2; in xgene_rng_data_read()
293 ctx->datum_size = RNG_MAX_DATUM; in xgene_rng_init()
/linux-6.6.21/drivers/iio/
Dindustrialio-buffer.c113 size_t datum_size; in iio_buffer_read() local
126 datum_size = rb->bytes_per_datum; in iio_buffer_read()
132 if (!datum_size) in iio_buffer_read()
138 to_wait = min_t(size_t, n / datum_size, rb->watermark); in iio_buffer_read()
147 if (!iio_buffer_ready(indio_dev, rb, to_wait, n / datum_size)) { in iio_buffer_read()