Lines Matching refs:iio_buffer
13 struct iio_buffer buffer;
31 static int iio_request_update_kfifo(struct iio_buffer *r) in iio_request_update_kfifo()
51 static int iio_mark_update_needed_kfifo(struct iio_buffer *r) in iio_mark_update_needed_kfifo()
58 static int iio_set_bytes_per_datum_kfifo(struct iio_buffer *r, size_t bpd) in iio_set_bytes_per_datum_kfifo()
67 static int iio_set_length_kfifo(struct iio_buffer *r, int length) in iio_set_length_kfifo()
79 static int iio_store_to_kfifo(struct iio_buffer *r, in iio_store_to_kfifo()
90 static int iio_read_first_n_kfifo(struct iio_buffer *r, in iio_read_first_n_kfifo()
110 static size_t iio_kfifo_buf_data_available(struct iio_buffer *r) in iio_kfifo_buf_data_available()
122 static void iio_kfifo_buffer_release(struct iio_buffer *buffer) in iio_kfifo_buffer_release()
141 struct iio_buffer *iio_kfifo_allocate(void) in iio_kfifo_allocate()
159 void iio_kfifo_free(struct iio_buffer *r) in iio_kfifo_free()
167 iio_kfifo_free(*(struct iio_buffer **)res); in devm_iio_kfifo_release()
172 struct iio_buffer **r = res; in devm_iio_kfifo_match()
187 struct iio_buffer *devm_iio_kfifo_allocate(struct device *dev) in devm_iio_kfifo_allocate()
189 struct iio_buffer **ptr, *r; in devm_iio_kfifo_allocate()
212 void devm_iio_kfifo_free(struct device *dev, struct iio_buffer *r) in devm_iio_kfifo_free()