Lines Matching refs:queue
1276 struct uvc_video_queue *queue = &stream->queue;
1281 mem = buf->mem + queue->buf_used;
1282 nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used);
1287 queue->buf_used += nbytes;
1408 *meta_buf = uvc_queue_next_buffer(&stream->meta.queue,
1411 *video_buf = uvc_queue_next_buffer(&stream->queue, *video_buf);
1505 * The buffer queue might have been cancelled while a bulk transfer
1562 if (buf->bytesused == stream->queue.buf_used ||
1564 if (buf->bytesused == stream->queue.buf_used) {
1565 stream->queue.buf_used = 0;
1568 uvc_queue_next_buffer(&stream->queue, buf);
1583 struct uvc_video_queue *queue = &stream->queue;
1584 struct uvc_video_queue *qmeta = &stream->meta.queue;
1585 struct vb2_queue *vb2_qmeta = stream->meta.vdev.queue;
1606 uvc_queue_cancel(queue, urb->status == -ESHUTDOWN);
1612 buf = uvc_queue_get_current_buffer(queue);
1618 struct uvc_buffer, queue);
1632 * Process the URB headers, and optionally queue expensive memcpy tasks
1633 * to be deferred to a work queue.
2034 * Stop streaming without disabling the video queue.
2038 * completion handler won't try to cancel the queue when we kill the URBs.
2042 if (!uvc_queue_streaming(&stream->queue))
2055 * If an error occurs, disable the video queue. This will wake all pending
2076 if (!uvc_queue_streaming(&stream->queue))