Lines Matching defs:bytes
95 * @n: First n bytes to read
559 unsigned int bytes;
562 bytes = ch->scan_type.storagebits / 8;
564 bytes *= ch->scan_type.repeat;
565 return bytes;
577 unsigned bytes = 0;
584 bytes = ALIGN(bytes, length);
585 bytes += length;
591 bytes = ALIGN(bytes, length);
592 bytes += length;
596 bytes = ALIGN(bytes, largest);
597 return bytes;
645 unsigned int bytes;
650 bytes = iio_compute_scan_bytes(indio_dev, buffer->scan_mask,
653 buffer->access->set_bytes_per_datum(buffer, bytes);
802 * @length: how many bytes to copy