Lines Matching refs:remove_buffer
823 struct iio_buffer *insert_buffer, struct iio_buffer *remove_buffer, in iio_verify_update() argument
848 if (remove_buffer && !insert_buffer && in iio_verify_update()
855 if (buffer == remove_buffer) in iio_verify_update()
896 if (buffer == remove_buffer) in iio_verify_update()
1194 struct iio_buffer *remove_buffer) in __iio_update_buffers() argument
1200 ret = iio_verify_update(indio_dev, insert_buffer, remove_buffer, in __iio_update_buffers()
1215 if (remove_buffer) in __iio_update_buffers()
1216 iio_buffer_deactivate(remove_buffer); in __iio_update_buffers()
1248 struct iio_buffer *remove_buffer) in iio_update_buffers() argument
1253 if (insert_buffer == remove_buffer) in iio_update_buffers()
1266 if (remove_buffer && !iio_buffer_is_active(remove_buffer)) in iio_update_buffers()
1267 remove_buffer = NULL; in iio_update_buffers()
1269 if (!insert_buffer && !remove_buffer) { in iio_update_buffers()
1279 ret = __iio_update_buffers(indio_dev, insert_buffer, remove_buffer); in iio_update_buffers()