Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/bus/iio/devices/iio:deviceX/buffer/length_align_bytes
0002 KernelVersion:  5.4
0003 Contact:        linux-iio@vger.kernel.org
0004 Description:
0005                 DMA buffers tend to have a alignment requirement for the
0006                 buffers. If this alignment requirement is not met samples might
0007                 be dropped from the buffer.
0008 
0009                 This property reports the alignment requirements in bytes.
0010                 This means that the buffer size in bytes needs to be a integer
0011                 multiple of the number reported by this file.
0012 
0013                 The alignment requirements in number of sample sets will depend
0014                 on the enabled channels and the bytes per channel. This means
0015                 that the alignment requirement in samples sets might change
0016                 depending on which and how many channels are enabled. Whereas
0017                 the alignment requirement reported in bytes by this property
0018                 will remain static and does not depend on which channels are
0019                 enabled.