Lines Matching refs:insert_buffer

820 	struct iio_buffer *insert_buffer, struct iio_buffer *remove_buffer,  in iio_verify_update()  argument
831 if (insert_buffer && in iio_verify_update()
832 bitmap_empty(insert_buffer->scan_mask, indio_dev->masklength)) { in iio_verify_update()
845 if (remove_buffer && !insert_buffer && in iio_verify_update()
858 if (insert_buffer) { in iio_verify_update()
859 modes &= insert_buffer->access->modes; in iio_verify_update()
861 insert_buffer->watermark); in iio_verify_update()
872 if (insert_buffer && !list_empty(&iio_dev_opaque->buffer_list)) in iio_verify_update()
900 if (insert_buffer) { in iio_verify_update()
902 insert_buffer->scan_mask, indio_dev->masklength); in iio_verify_update()
903 scan_timestamp |= insert_buffer->scan_timestamp; in iio_verify_update()
1191 struct iio_buffer *insert_buffer, in __iio_update_buffers() argument
1198 ret = iio_verify_update(indio_dev, insert_buffer, remove_buffer, in __iio_update_buffers()
1203 if (insert_buffer) { in __iio_update_buffers()
1204 ret = iio_buffer_request_update(indio_dev, insert_buffer); in __iio_update_buffers()
1215 if (insert_buffer) in __iio_update_buffers()
1216 iio_buffer_activate(indio_dev, insert_buffer); in __iio_update_buffers()
1245 struct iio_buffer *insert_buffer, in iio_update_buffers() argument
1251 if (insert_buffer == remove_buffer) in iio_update_buffers()
1254 if (insert_buffer && in iio_update_buffers()
1255 (insert_buffer->direction == IIO_BUFFER_DIRECTION_OUT)) in iio_update_buffers()
1261 if (insert_buffer && iio_buffer_is_active(insert_buffer)) in iio_update_buffers()
1262 insert_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()