1 What: /sys/bus/iio/devices/iio:devic 1 What: /sys/bus/iio/devices/iio:deviceX/buffer/length_align_bytes 2 KernelVersion: 5.4 2 KernelVersion: 5.4 3 Contact: linux-iio@vger.kernel.org 3 Contact: linux-iio@vger.kernel.org 4 Description: 4 Description: 5 DMA buffers tend to have a ali 5 DMA buffers tend to have a alignment requirement for the 6 buffers. If this alignment req 6 buffers. If this alignment requirement is not met samples might 7 be dropped from the buffer. 7 be dropped from the buffer. 8 8 9 This property reports the alig 9 This property reports the alignment requirements in bytes. 10 This means that the buffer siz 10 This means that the buffer size in bytes needs to be a integer 11 multiple of the number reporte 11 multiple of the number reported by this file. 12 12 13 The alignment requirements in 13 The alignment requirements in number of sample sets will depend 14 on the enabled channels and th 14 on the enabled channels and the bytes per channel. This means 15 that the alignment requirement 15 that the alignment requirement in samples sets might change 16 depending on which and how man 16 depending on which and how many channels are enabled. Whereas 17 the alignment requirement repo 17 the alignment requirement reported in bytes by this property 18 will remain static and does no 18 will remain static and does not depend on which channels are 19 enabled. 19 enabled.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.