aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2025-05-07 15:42:41 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-05-21 14:20:31 +0100
commit63fc53526d3090b27bd06bb43b92e8bc85f46fb1 (patch)
treeb979a3720f6c1935aac9414636e0db1ae1159bc8 /scripts/lib/kdoc/kdoc_output.py
parentiio: make IIO_DMA_MINALIGN minimum of 8 bytes (diff)
downloadlinux-rng-63fc53526d3090b27bd06bb43b92e8bc85f46fb1.tar.xz
linux-rng-63fc53526d3090b27bd06bb43b92e8bc85f46fb1.zip
iio: introduce IIO_DECLARE_BUFFER_WITH_TS macros
Add new macros to help with the common case of declaring a buffer that is safe to use with iio_push_to_buffers_with_ts(). This is not trivial to do correctly because of the alignment requirements of the timestamp. This will make it easier for both authors and reviewers. To avoid double __align() attributes in cases where we also need DMA alignment, add a 2nd variant IIO_DECLARE_DMA_BUFFER_WITH_TS(). Reviewed-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20250507-iio-introduce-iio_declare_buffer_with_ts-v6-2-4aee1b9f1b89@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions