bytes_per_datum 295 drivers/iio/buffer/industrialio-buffer-dma.c size = DIV_ROUND_UP(queue->buffer.bytes_per_datum * bytes_per_datum 489 drivers/iio/buffer/industrialio-buffer-dma.c if (n < buffer->bytes_per_datum) bytes_per_datum 506 drivers/iio/buffer/industrialio-buffer-dma.c n = rounddown(n, buffer->bytes_per_datum); bytes_per_datum 575 drivers/iio/buffer/industrialio-buffer-dma.c buffer->bytes_per_datum = bpd; bytes_per_datum 26 drivers/iio/buffer/kfifo_buf.c size_t bytes_per_datum, unsigned int length) bytes_per_datum 28 drivers/iio/buffer/kfifo_buf.c if ((length == 0) || (bytes_per_datum == 0)) bytes_per_datum 35 drivers/iio/buffer/kfifo_buf.c if (roundup_pow_of_two(length) > UINT_MAX / bytes_per_datum) bytes_per_datum 39 drivers/iio/buffer/kfifo_buf.c bytes_per_datum, GFP_KERNEL); bytes_per_datum 50 drivers/iio/buffer/kfifo_buf.c ret = __iio_allocate_kfifo(buf, buf->buffer.bytes_per_datum, bytes_per_datum 71 drivers/iio/buffer/kfifo_buf.c if (r->bytes_per_datum != bpd) { bytes_per_datum 72 drivers/iio/buffer/kfifo_buf.c r->bytes_per_datum = bpd; bytes_per_datum 492 drivers/iio/gyro/mpu3050-core.c unsigned int bytes_per_datum = 8; bytes_per_datum 526 drivers/iio/gyro/mpu3050-core.c while (!fifo_overflow && fifocnt > bytes_per_datum) { bytes_per_datum 540 drivers/iio/gyro/mpu3050-core.c toread = bytes_per_datum + 2; bytes_per_datum 543 drivers/iio/gyro/mpu3050-core.c toread = bytes_per_datum; bytes_per_datum 575 drivers/iio/gyro/mpu3050-core.c if (fifocnt < bytes_per_datum) { bytes_per_datum 585 drivers/iio/gyro/mpu3050-core.c if (fifocnt < bytes_per_datum) bytes_per_datum 166 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c size_t bytes_per_datum; bytes_per_datum 192 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c bytes_per_datum = 0; bytes_per_datum 194 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c bytes_per_datum += INV_MPU6050_BYTES_PER_3AXIS_SENSOR; bytes_per_datum 197 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c bytes_per_datum += INV_MPU6050_BYTES_PER_3AXIS_SENSOR; bytes_per_datum 200 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c bytes_per_datum += INV_ICM20602_BYTES_PER_TEMP_SENSOR; bytes_per_datum 217 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c nb = 3 * bytes_per_datum; bytes_per_datum 224 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c nb = fifo_count / bytes_per_datum; bytes_per_datum 228 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c data, bytes_per_datum); bytes_per_datum 118 drivers/iio/industrialio-buffer.c datum_size = rb->bytes_per_datum; bytes_per_datum 78 include/linux/iio/buffer_impl.h size_t bytes_per_datum;