Lines Matching refs:iio_buffer
16 struct iio_buffer buffer;
41 static int iio_request_update_kfifo(struct iio_buffer *r) in iio_request_update_kfifo()
61 static int iio_mark_update_needed_kfifo(struct iio_buffer *r) in iio_mark_update_needed_kfifo()
68 static int iio_set_bytes_per_datum_kfifo(struct iio_buffer *r, size_t bpd) in iio_set_bytes_per_datum_kfifo()
77 static int iio_set_length_kfifo(struct iio_buffer *r, unsigned int length) in iio_set_length_kfifo()
89 static int iio_store_to_kfifo(struct iio_buffer *r, in iio_store_to_kfifo()
100 static int iio_read_first_n_kfifo(struct iio_buffer *r, in iio_read_first_n_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()
153 struct iio_buffer *iio_kfifo_allocate(void) in iio_kfifo_allocate()
171 void iio_kfifo_free(struct iio_buffer *r) in iio_kfifo_free()
179 iio_kfifo_free(*(struct iio_buffer **)res); in devm_iio_kfifo_release()
184 struct iio_buffer **r = res; in devm_iio_kfifo_match()
199 struct iio_buffer *devm_iio_kfifo_allocate(struct device *dev) in devm_iio_kfifo_allocate()
201 struct iio_buffer **ptr, *r; in devm_iio_kfifo_allocate()
224 void devm_iio_kfifo_free(struct device *dev, struct iio_buffer *r) in devm_iio_kfifo_free()