Lines Matching refs:iio_buffer
13 struct iio_buffer;
54 int (*store_to)(struct iio_buffer *buffer, const void *data);
55 int (*read)(struct iio_buffer *buffer, size_t n, char __user *buf);
56 size_t (*data_available)(struct iio_buffer *buffer);
57 int (*remove_from)(struct iio_buffer *buffer, void *data);
58 int (*write)(struct iio_buffer *buffer, size_t n, const char __user *buf);
59 size_t (*space_available)(struct iio_buffer *buffer);
61 int (*request_update)(struct iio_buffer *buffer);
63 int (*set_bytes_per_datum)(struct iio_buffer *buffer, size_t bpd);
64 int (*set_length)(struct iio_buffer *buffer, unsigned int length);
66 int (*enable)(struct iio_buffer *buffer, struct iio_dev *indio_dev);
67 int (*disable)(struct iio_buffer *buffer, struct iio_dev *indio_dev);
69 void (*release)(struct iio_buffer *buffer);
81 struct iio_buffer { struct
150 struct iio_buffer *insert_buffer, argument
151 struct iio_buffer *remove_buffer);
157 void iio_buffer_init(struct iio_buffer *buffer);
159 struct iio_buffer *iio_buffer_get(struct iio_buffer *buffer);
160 void iio_buffer_put(struct iio_buffer *buffer);
164 static inline void iio_buffer_get(struct iio_buffer *buffer) {} in iio_buffer_get()
165 static inline void iio_buffer_put(struct iio_buffer *buffer) {} in iio_buffer_put()