Lines Matching refs:remove_buffer
820 struct iio_buffer *insert_buffer, struct iio_buffer *remove_buffer, in iio_verify_update() argument
845 if (remove_buffer && !insert_buffer && in iio_verify_update()
852 if (buffer == remove_buffer) in iio_verify_update()
893 if (buffer == remove_buffer) in iio_verify_update()
1192 struct iio_buffer *remove_buffer) in __iio_update_buffers() argument
1198 ret = iio_verify_update(indio_dev, insert_buffer, remove_buffer, in __iio_update_buffers()
1213 if (remove_buffer) in __iio_update_buffers()
1214 iio_buffer_deactivate(remove_buffer); in __iio_update_buffers()
1246 struct iio_buffer *remove_buffer) in iio_update_buffers() argument
1251 if (insert_buffer == remove_buffer) in iio_update_buffers()
1264 if (remove_buffer && !iio_buffer_is_active(remove_buffer)) in iio_update_buffers()
1265 remove_buffer = NULL; in iio_update_buffers()
1267 if (!insert_buffer && !remove_buffer) { in iio_update_buffers()
1277 ret = __iio_update_buffers(indio_dev, insert_buffer, remove_buffer); in iio_update_buffers()