Searched refs:buf_used (Results 1 – 8 of 8) sorted by relevance
38 if (video->queue.buf_used == 0 && ts.tv_sec) { in uvc_video_encode_header()62 if (buf->bytesused - video->queue.buf_used <= len - pos) in uvc_video_encode_header()77 mem = buf->mem + queue->buf_used; in uvc_video_encode_data()78 nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used); in uvc_video_encode_data()81 queue->buf_used += nbytes; in uvc_video_encode_data()113 if (buf->bytesused == video->queue.buf_used) { in uvc_video_encode_bulk()114 video->queue.buf_used = 0; in uvc_video_encode_bulk()125 buf->bytesused == video->queue.buf_used) in uvc_video_encode_bulk()133 unsigned int pending = buf->bytesused - video->queue.buf_used; in uvc_video_encode_isoc_sg()183 video->queue.buf_used += req->length - header_len; in uvc_video_encode_isoc_sg()[all …]
53 unsigned int buf_used; member
264 queue->buf_used = 0; in uvcg_queue_cancel()306 queue->buf_used = 0; in uvcg_queue_enable()
1003 unsigned buf_used = 0; in dsicm_memory_read() local1039 while (buf_used < size) { in dsicm_memory_read()1044 buf + buf_used, size - buf_used); in dsicm_memory_read()1051 buf_used += r; in dsicm_memory_read()1066 r = buf_used; in dsicm_memory_read()
1277 mem = buf->mem + queue->buf_used; in uvc_video_encode_data()1278 nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used); in uvc_video_encode_data()1283 queue->buf_used += nbytes; in uvc_video_encode_data()1556 if (buf->bytesused == stream->queue.buf_used || in uvc_video_encode_bulk()1558 if (buf->bytesused == stream->queue.buf_used) { in uvc_video_encode_bulk()1559 stream->queue.buf_used = 0; in uvc_video_encode_bulk()
168 queue->buf_used = 0; in uvc_start_streaming()
320 unsigned int buf_used; member
88 size_t buf_len, buf_used; member1087 etmq->buf_used = 0; in cs_etm__get_trace()2030 &etmq->buf[etmq->buf_used], in cs_etm__decode_data_block()2037 etmq->buf_used += processed; in cs_etm__decode_data_block()