sysfs-bus-iio-dma-buffer (857B)
1What: /sys/bus/iio/devices/iio:deviceX/buffer/length_align_bytes 2KernelVersion: 5.4 3Contact: linux-iio@vger.kernel.org 4Description: 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 9 This property reports the alignment requirements in bytes. 10 This means that the buffer size in bytes needs to be a integer 11 multiple of the number reported by this file. 12 13 The alignment requirements in number of sample sets will depend 14 on the enabled channels and the bytes per channel. This means 15 that the alignment requirement in samples sets might change 16 depending on which and how many channels are enabled. Whereas 17 the alignment requirement reported in bytes by this property 18 will remain static and does not depend on which channels are 19 enabled.