162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/buffer/length_align_bytes 262306a36Sopenharmony_ciKernelVersion: 5.4 362306a36Sopenharmony_ciContact: linux-iio@vger.kernel.org 462306a36Sopenharmony_ciDescription: 562306a36Sopenharmony_ci DMA buffers tend to have a alignment requirement for the 662306a36Sopenharmony_ci buffers. If this alignment requirement is not met samples might 762306a36Sopenharmony_ci be dropped from the buffer. 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci This property reports the alignment requirements in bytes. 1062306a36Sopenharmony_ci This means that the buffer size in bytes needs to be a integer 1162306a36Sopenharmony_ci multiple of the number reported by this file. 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci The alignment requirements in number of sample sets will depend 1462306a36Sopenharmony_ci on the enabled channels and the bytes per channel. This means 1562306a36Sopenharmony_ci that the alignment requirement in samples sets might change 1662306a36Sopenharmony_ci depending on which and how many channels are enabled. Whereas 1762306a36Sopenharmony_ci the alignment requirement reported in bytes by this property 1862306a36Sopenharmony_ci will remain static and does not depend on which channels are 1962306a36Sopenharmony_ci enabled. 20