Lines Matching refs:remove_buffer
676 struct iio_buffer *insert_buffer, struct iio_buffer *remove_buffer, in iio_verify_update() argument
693 if (remove_buffer && !insert_buffer && in iio_verify_update()
700 if (buffer == remove_buffer) in iio_verify_update()
741 if (buffer == remove_buffer) in iio_verify_update()
1019 struct iio_buffer *remove_buffer) in __iio_update_buffers() argument
1024 ret = iio_verify_update(indio_dev, insert_buffer, remove_buffer, in __iio_update_buffers()
1039 if (remove_buffer) in __iio_update_buffers()
1040 iio_buffer_deactivate(remove_buffer); in __iio_update_buffers()
1072 struct iio_buffer *remove_buffer) in iio_update_buffers() argument
1076 if (insert_buffer == remove_buffer) in iio_update_buffers()
1085 if (remove_buffer && !iio_buffer_is_active(remove_buffer)) in iio_update_buffers()
1086 remove_buffer = NULL; in iio_update_buffers()
1088 if (!insert_buffer && !remove_buffer) { in iio_update_buffers()
1098 ret = __iio_update_buffers(indio_dev, insert_buffer, remove_buffer); in iio_update_buffers()