Lines Matching refs:iio_buffer
32 static bool iio_buffer_is_active(struct iio_buffer *buf) in iio_buffer_is_active()
37 static size_t iio_buffer_data_available(struct iio_buffer *buf) in iio_buffer_data_available()
43 struct iio_buffer *buf, size_t required) in iio_buffer_flush_hwfifo()
51 static bool iio_buffer_ready(struct iio_dev *indio_dev, struct iio_buffer *buf, in iio_buffer_ready()
106 struct iio_buffer *rb = indio_dev->buffer; in iio_buffer_read_first_n_outer()
172 struct iio_buffer *rb = indio_dev->buffer; in iio_buffer_poll()
198 void iio_buffer_init(struct iio_buffer *buffer) in iio_buffer_init()
214 void iio_buffer_set_attrs(struct iio_buffer *buffer, in iio_buffer_set_attrs()
314 struct iio_buffer *buffer, int bit) in iio_scan_mask_set()
351 static int iio_scan_mask_clear(struct iio_buffer *buffer, int bit) in iio_scan_mask_clear()
358 struct iio_buffer *buffer, int bit) in iio_scan_mask_query()
378 struct iio_buffer *buffer = indio_dev->buffer; in iio_scan_el_store()
446 struct iio_buffer *buffer = indio_dev->buffer; in iio_buffer_add_channel_sysfs()
500 struct iio_buffer *buffer = indio_dev->buffer; in iio_buffer_read_length()
510 struct iio_buffer *buffer = indio_dev->buffer; in iio_buffer_write_length()
588 struct iio_buffer *buffer) in iio_buffer_activate()
594 static void iio_buffer_deactivate(struct iio_buffer *buffer) in iio_buffer_deactivate()
603 struct iio_buffer *buffer, *_buffer; in iio_buffer_deactivate_all()
610 static int iio_buffer_enable(struct iio_buffer *buffer, in iio_buffer_enable()
618 static int iio_buffer_disable(struct iio_buffer *buffer, in iio_buffer_disable()
627 struct iio_buffer *buffer) in iio_buffer_update_bytes_per_datum()
641 struct iio_buffer *buffer) in iio_buffer_request_update()
676 struct iio_buffer *insert_buffer, struct iio_buffer *remove_buffer, in iio_verify_update()
682 struct iio_buffer *buffer; in iio_verify_update()
788 static void iio_buffer_demux_free(struct iio_buffer *buffer) in iio_buffer_demux_free()
797 static int iio_buffer_add_demux(struct iio_buffer *buffer, in iio_buffer_add_demux()
819 struct iio_buffer *buffer) in iio_buffer_update_demux()
886 struct iio_buffer *buffer; in iio_update_demux()
906 struct iio_buffer *buffer; in iio_enable_buffers()
976 struct iio_buffer *buffer; in iio_disable_buffers()
1018 struct iio_buffer *insert_buffer, in __iio_update_buffers()
1019 struct iio_buffer *remove_buffer) in __iio_update_buffers()
1071 struct iio_buffer *insert_buffer, in iio_update_buffers()
1072 struct iio_buffer *remove_buffer) in iio_update_buffers()
1155 struct iio_buffer *buffer = indio_dev->buffer; in iio_buffer_show_watermark()
1166 struct iio_buffer *buffer = indio_dev->buffer; in iio_buffer_store_watermark()
1231 struct iio_buffer *buffer = indio_dev->buffer; in iio_buffer_alloc_sysfs_and_mask()
1365 static const void *iio_demux(struct iio_buffer *buffer, in iio_demux()
1379 static int iio_push_to_buffer(struct iio_buffer *buffer, const void *data) in iio_push_to_buffer()
1404 struct iio_buffer *buf; in iio_push_to_buffers()
1427 struct iio_buffer *buffer = container_of(ref, struct iio_buffer, ref); in iio_buffer_release()
1438 struct iio_buffer *iio_buffer_get(struct iio_buffer *buffer) in iio_buffer_get()
1451 void iio_buffer_put(struct iio_buffer *buffer) in iio_buffer_put()
1468 struct iio_buffer *buffer) in iio_device_attach_buffer()