Lines Matching refs:bytes
98 * @n: First n bytes to read
697 unsigned int bytes;
700 bytes = ch->scan_type.storagebits / 8;
702 bytes *= ch->scan_type.repeat;
703 return bytes;
717 unsigned int bytes = 0;
724 bytes = ALIGN(bytes, length);
725 bytes += length;
731 bytes = ALIGN(bytes, length);
732 bytes += length;
736 bytes = ALIGN(bytes, largest);
737 return bytes;
785 unsigned int bytes;
790 bytes = iio_compute_scan_bytes(indio_dev, buffer->scan_mask,
793 buffer->access->set_bytes_per_datum(buffer, bytes);
943 * @length: how many bytes to copy