sysfs-bus-iio-dma-buffer 857 B

12345678910111213141516171819
  1. What: /sys/bus/iio/devices/iio:deviceX/buffer/length_align_bytes
  2. KernelVersion: 5.4
  3. Contact: linux-iio@vger.kernel.org
  4. Description:
  5. DMA buffers tend to have a alignment requirement for the
  6. buffers. If this alignment requirement is not met samples might
  7. be dropped from the buffer.
  8. This property reports the alignment requirements in bytes.
  9. This means that the buffer size in bytes needs to be a integer
  10. multiple of the number reported by this file.
  11. The alignment requirements in number of sample sets will depend
  12. on the enabled channels and the bytes per channel. This means
  13. that the alignment requirement in samples sets might change
  14. depending on which and how many channels are enabled. Whereas
  15. the alignment requirement reported in bytes by this property
  16. will remain static and does not depend on which channels are
  17. enabled.