Lines Matching refs:iio_buffer
10 struct iio_buffer;
47 int (*store_to)(struct iio_buffer *buffer, const void *data);
48 int (*read_first_n)(struct iio_buffer *buffer,
51 size_t (*data_available)(struct iio_buffer *buffer);
53 int (*request_update)(struct iio_buffer *buffer);
55 int (*set_bytes_per_datum)(struct iio_buffer *buffer, size_t bpd);
56 int (*set_length)(struct iio_buffer *buffer, unsigned int length);
58 int (*enable)(struct iio_buffer *buffer, struct iio_dev *indio_dev);
59 int (*disable)(struct iio_buffer *buffer, struct iio_dev *indio_dev);
61 void (*release)(struct iio_buffer *buffer);
73 struct iio_buffer { struct
145 struct iio_buffer *insert_buffer, argument
146 struct iio_buffer *remove_buffer);
152 void iio_buffer_init(struct iio_buffer *buffer);
154 struct iio_buffer *iio_buffer_get(struct iio_buffer *buffer);
155 void iio_buffer_put(struct iio_buffer *buffer);
159 static inline void iio_buffer_get(struct iio_buffer *buffer) {} in iio_buffer_get()
160 static inline void iio_buffer_put(struct iio_buffer *buffer) {} in iio_buffer_put()