Home
last modified time | relevance | path

Searched refs:buf_used (Results 1 – 7 of 7) sorted by relevance

/drivers/usb/gadget/function/
Duvc_video.c41 if (video->queue.buf_used == 0 && ts.tv_sec) { in uvc_video_encode_header()
65 if (buf->bytesused - video->queue.buf_used <= len - pos) in uvc_video_encode_header()
80 mem = buf->mem + queue->buf_used; in uvc_video_encode_data()
81 nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used); in uvc_video_encode_data()
84 queue->buf_used += nbytes; in uvc_video_encode_data()
116 if (buf->bytesused == video->queue.buf_used) { in uvc_video_encode_bulk()
117 video->queue.buf_used = 0; in uvc_video_encode_bulk()
128 buf->bytesused == video->queue.buf_used) in uvc_video_encode_bulk()
136 unsigned int pending = buf->bytesused - video->queue.buf_used; in uvc_video_encode_isoc_sg()
186 video->queue.buf_used += req->length - header_len; in uvc_video_encode_isoc_sg()
[all …]
Duvc_queue.c264 queue->buf_used = 0; in uvcg_queue_cancel()
306 queue->buf_used = 0; in uvcg_queue_enable()
Duvc_queue.h53 unsigned int buf_used; member
/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-dsi-cm.c1000 unsigned buf_used = 0; in dsicm_memory_read() local
1036 while (buf_used < size) { in dsicm_memory_read()
1041 buf + buf_used, size - buf_used); in dsicm_memory_read()
1048 buf_used += r; in dsicm_memory_read()
1063 r = buf_used; in dsicm_memory_read()
/drivers/media/usb/uvc/
Duvc_video.c1321 mem = buf->mem + queue->buf_used; in uvc_video_encode_data()
1322 nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used); in uvc_video_encode_data()
1327 queue->buf_used += nbytes; in uvc_video_encode_data()
1602 if (buf->bytesused == stream->queue.buf_used || in uvc_video_encode_bulk()
1604 if (buf->bytesused == stream->queue.buf_used) { in uvc_video_encode_bulk()
1605 stream->queue.buf_used = 0; in uvc_video_encode_bulk()
Duvc_queue.c168 queue->buf_used = 0; in uvc_start_streaming()
Duvcvideo.h321 unsigned int buf_used; member