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