Lines Matching refs:iio_buffer

17 	struct iio_buffer buffer;
42 static int iio_request_update_kfifo(struct iio_buffer *r) in iio_request_update_kfifo()
62 static int iio_mark_update_needed_kfifo(struct iio_buffer *r) in iio_mark_update_needed_kfifo()
69 static int iio_set_bytes_per_datum_kfifo(struct iio_buffer *r, size_t bpd) in iio_set_bytes_per_datum_kfifo()
78 static int iio_set_length_kfifo(struct iio_buffer *r, unsigned int length) in iio_set_length_kfifo()
90 static int iio_store_to_kfifo(struct iio_buffer *r, in iio_store_to_kfifo()
101 static int iio_read_kfifo(struct iio_buffer *r, size_t n, char __user *buf) in iio_read_kfifo()
120 static size_t iio_kfifo_buf_data_available(struct iio_buffer *r) in iio_kfifo_buf_data_available()
132 static void iio_kfifo_buffer_release(struct iio_buffer *buffer) in iio_kfifo_buffer_release()
141 static size_t iio_kfifo_buf_space_available(struct iio_buffer *r) in iio_kfifo_buf_space_available()
153 static int iio_kfifo_remove_from(struct iio_buffer *r, void *data) in iio_kfifo_remove_from()
170 static int iio_kfifo_write(struct iio_buffer *r, size_t n, in iio_kfifo_write()
203 struct iio_buffer *iio_kfifo_allocate(void) in iio_kfifo_allocate()
221 void iio_kfifo_free(struct iio_buffer *r) in iio_kfifo_free()
229 iio_kfifo_free(*(struct iio_buffer **)res); in devm_iio_kfifo_release()
239 static struct iio_buffer *devm_iio_kfifo_allocate(struct device *dev) in devm_iio_kfifo_allocate()
241 struct iio_buffer **ptr, *r; in devm_iio_kfifo_allocate()
275 struct iio_buffer *buffer; in devm_iio_kfifo_buffer_setup_ext()