Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/gadget/function/
Duvc_video.c38 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 …]
Duvc_queue.h53 unsigned int buf_used; member
Duvc_queue.c264 queue->buf_used = 0; in uvcg_queue_cancel()
306 queue->buf_used = 0; in uvcg_queue_enable()
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-dsi-cm.c1003 unsigned buf_used = 0; in dsicm_memory_read() local
1039 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()
/linux-6.1.9/drivers/media/usb/uvc/
Duvc_video.c1277 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()
Duvc_queue.c168 queue->buf_used = 0; in uvc_start_streaming()
Duvcvideo.h320 unsigned int buf_used; member
/linux-6.1.9/tools/perf/util/
Dcs-etm.c88 size_t buf_len, buf_used; member
1087 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()