Home
last modified time | relevance | path

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

/drivers/media/usb/uvc/
Duvc_video.c1148 static int uvc_submit_urb(struct uvc_urb *uvc_urb, gfp_t mem_flags) in uvc_submit_urb() argument
1151 dma_sync_sgtable_for_device(uvc_stream_to_dmadev(uvc_urb->stream), in uvc_submit_urb()
1152 uvc_urb->sgt, in uvc_submit_urb()
1153 uvc_stream_dir(uvc_urb->stream)); in uvc_submit_urb()
1154 return usb_submit_urb(uvc_urb->urb, mem_flags); in uvc_submit_urb()
1165 struct uvc_urb *uvc_urb = container_of(work, struct uvc_urb, work); in uvc_video_copy_data_work() local
1169 for (i = 0; i < uvc_urb->async_operations; i++) { in uvc_video_copy_data_work()
1170 struct uvc_copy_op *op = &uvc_urb->copy_operations[i]; in uvc_video_copy_data_work()
1178 ret = uvc_submit_urb(uvc_urb, GFP_KERNEL); in uvc_video_copy_data_work()
1180 dev_err(&uvc_urb->stream->intf->dev, in uvc_video_copy_data_work()
[all …]
Duvcvideo.h415 struct uvc_urb { struct
459 void (*decode)(struct uvc_urb *uvc_urb, struct uvc_buffer *buf,
477 struct uvc_urb uvc_urb[UVC_URBS]; member
512 #define for_each_uvc_urb(uvc_urb, uvc_streaming) \ argument
513 for ((uvc_urb) = &(uvc_streaming)->uvc_urb[0]; \
514 (uvc_urb) < &(uvc_streaming)->uvc_urb[UVC_URBS]; \
515 ++(uvc_urb))
517 static inline u32 uvc_urb_index(const struct uvc_urb *uvc_urb) in uvc_urb_index() argument
519 return uvc_urb - &uvc_urb->stream->uvc_urb[0]; in uvc_urb_index()
776 void uvc_video_decode_isight(struct uvc_urb *uvc_urb,
Duvc_isight.c98 void uvc_video_decode_isight(struct uvc_urb *uvc_urb, struct uvc_buffer *buf, in uvc_video_decode_isight() argument
101 struct urb *urb = uvc_urb->urb; in uvc_video_decode_isight()
102 struct uvc_streaming *stream = uvc_urb->stream; in uvc_video_decode_isight()