Searched refs:datum_size (Results 1 – 2 of 2) sorted by relevance
82 u32 datum_size; member230 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()
113 size_t datum_size; in iio_buffer_read() local126 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()