Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 lines
857 B
Plaintext
20 lines
857 B
Plaintext
What: /sys/bus/iio/devices/iio:deviceX/buffer/length_align_bytes
|
|
KernelVersion: 5.4
|
|
Contact: linux-iio@vger.kernel.org
|
|
Description:
|
|
DMA buffers tend to have a alignment requirement for the
|
|
buffers. If this alignment requirement is not met samples might
|
|
be dropped from the buffer.
|
|
|
|
This property reports the alignment requirements in bytes.
|
|
This means that the buffer size in bytes needs to be a integer
|
|
multiple of the number reported by this file.
|
|
|
|
The alignment requirements in number of sample sets will depend
|
|
on the enabled channels and the bytes per channel. This means
|
|
that the alignment requirement in samples sets might change
|
|
depending on which and how many channels are enabled. Whereas
|
|
the alignment requirement reported in bytes by this property
|
|
will remain static and does not depend on which channels are
|
|
enabled.
|