Files
linux-stable-mirror/include/linux
David LechnerandJonathan Cameron 63fc53526d 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>
2025-05-21 14:20:31 +01:00
..
2025-03-21 09:46:08 +01:00
2025-03-21 20:57:55 -03:00
2025-03-13 14:15:54 +00:00
2025-04-02 07:06:59 -06:00
2025-03-20 17:33:31 -04:00
2025-03-17 22:06:41 -07:00
2025-03-20 09:45:39 +01:00
2025-04-05 10:30:17 +02:00
2025-03-22 15:36:49 +02:00
2025-03-17 13:54:50 +00:00
2025-03-27 13:14:46 -05:00
2025-03-27 13:14:45 -05:00
2025-03-16 17:40:22 -07:00
2025-03-17 11:52:25 +01:00
2025-03-20 08:00:50 -07:00
2025-03-25 09:15:07 -07:00
2025-03-13 13:25:58 -07:00
2025-03-13 13:25:58 -07:00
2025-03-13 13:25:58 -07:00