xref: /aosp_15_r20/prebuilts/build-tools/sysroots/arm-unknown-linux-musleabihf/include/linux/iio/buffer.h (revision cda5da8d549138a6648c5ee6d7a49cf8f4a657be)
1 /*
2  * This file is auto-generated. Modifications will be lost.
3  *
4  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5  * for more information.
6  */
7 #ifndef _UAPI_IIO_BUFFER_H_
8 #define _UAPI_IIO_BUFFER_H_
9 #include <linux/types.h>
10 #define IIO_BUFFER_DMABUF_CYCLIC (1 << 0)
11 #define IIO_BUFFER_DMABUF_SUPPORTED_FLAGS 0x00000001
12 struct iio_dmabuf {
13   __u32 fd;
14   __u32 flags;
15   __u64 bytes_used;
16 };
17 #define IIO_BUFFER_GET_FD_IOCTL _IOWR('i', 0x91, int)
18 #define IIO_BUFFER_DMABUF_ATTACH_IOCTL _IOW('i', 0x92, int)
19 #define IIO_BUFFER_DMABUF_DETACH_IOCTL _IOW('i', 0x93, int)
20 #define IIO_BUFFER_DMABUF_ENQUEUE_IOCTL _IOW('i', 0x94, struct iio_dmabuf)
21 #endif
22