Home
last modified time | relevance | path

Searched refs:uvc_urb (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/media/usb/uvc/
H A Duvc_video.c1232 static int uvc_submit_urb(struct uvc_urb *uvc_urb, gfp_t mem_flags) in uvc_submit_urb() argument
1235 dma_sync_sgtable_for_device(uvc_stream_to_dmadev(uvc_urb->stream), in uvc_submit_urb()
1236 uvc_urb->sgt, in uvc_submit_urb()
1237 uvc_stream_dir(uvc_urb->stream)); in uvc_submit_urb()
1238 return usb_submit_urb(uvc_urb->urb, mem_flags); in uvc_submit_urb()
1249 struct uvc_urb *uvc_urb = container_of(work, struct uvc_urb, work); in uvc_video_copy_data_work() local
1253 for (i = 0; i < uvc_urb->async_operations; i++) { in uvc_video_copy_data_work()
1254 struct uvc_copy_op *op = &uvc_urb->copy_operations[i]; in uvc_video_copy_data_work()
1262 ret = uvc_submit_urb(uvc_urb, GFP_KERNEL); in uvc_video_copy_data_work()
1264 dev_err(&uvc_urb->stream->intf->dev, in uvc_video_copy_data_work()
[all …]
H A Duvcvideo.h421 struct uvc_urb { struct
466 void (*decode)(struct uvc_urb *uvc_urb, struct uvc_buffer *buf,
484 struct uvc_urb uvc_urb[UVC_URBS]; member
520 #define for_each_uvc_urb(uvc_urb, uvc_streaming) \ argument
521 for ((uvc_urb) = &(uvc_streaming)->uvc_urb[0]; \
522 (uvc_urb) < &(uvc_streaming)->uvc_urb[UVC_URBS]; \
523 ++(uvc_urb))
525 static inline u32 uvc_urb_index(const struct uvc_urb *uvc_urb) in uvc_urb_index() argument
527 return uvc_urb - &uvc_urb->stream->uvc_urb[0]; in uvc_urb_index()
804 void uvc_video_decode_isight(struct uvc_urb *uvc_urb,
H A Duvc_isight.c101 void uvc_video_decode_isight(struct uvc_urb *uvc_urb, struct uvc_buffer *buf, in uvc_video_decode_isight() argument
104 struct urb *urb = uvc_urb->urb; in uvc_video_decode_isight()
105 struct uvc_streaming *stream = uvc_urb->stream; in uvc_video_decode_isight()