/drivers/usb/gadget/function/ |
D | uvc_v4l2.c | 76 static struct uvcg_format *find_format_by_index(struct uvc_device *uvc, int index) in find_format_by_index() 93 static struct uvcg_frame *find_frame_by_index(struct uvc_device *uvc, in find_frame_by_index() 115 static struct uvcg_format *find_format_by_pix(struct uvc_device *uvc, in find_format_by_pix() 133 static struct uvcg_frame *find_closest_frame_by_size(struct uvc_device *uvc, in find_closest_frame_by_size() 182 uvc_send_response(struct uvc_device *uvc, struct uvc_request_data *data) in uvc_send_response() 206 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_querycap() 220 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_get_format() 239 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_try_format() 279 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_set_format() 301 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_enum_frameintervals() [all …]
|
D | uvc.h | 28 struct uvc_device; 88 struct uvc_device *uvc; 138 struct uvc_device { struct 172 static inline struct uvc_device *to_uvc(struct usb_function *f) in to_uvc() argument 174 return container_of(f, struct uvc_device, func); in to_uvc() 190 extern void uvc_function_setup_continue(struct uvc_device *uvc, int disable_ep); 191 extern void uvc_function_connect(struct uvc_device *uvc); 192 extern void uvc_function_disconnect(struct uvc_device *uvc);
|
D | f_uvc.h | 12 struct uvc_device; 14 void uvc_function_setup_continue(struct uvc_device *uvc, int disable_ep); 16 void uvc_function_connect(struct uvc_device *uvc); 18 void uvc_function_disconnect(struct uvc_device *uvc);
|
D | f_uvc.c | 207 struct uvc_device *uvc = req->context; in uvc_function_ep0_complete() 226 struct uvc_device *uvc = to_uvc(f); in uvc_function_setup() 266 void uvc_function_setup_continue(struct uvc_device *uvc, int disable_ep) in uvc_function_setup_continue() 279 struct uvc_device *uvc = to_uvc(f); in uvc_function_get_alt() 294 struct uvc_device *uvc = to_uvc(f); in uvc_function_set_alt() 378 struct uvc_device *uvc = to_uvc(f); in uvc_function_disable() 399 uvc_function_connect(struct uvc_device *uvc) in uvc_function_connect() 408 uvc_function_disconnect(struct uvc_device *uvc) in uvc_function_disconnect() 423 struct uvc_device *uvc = dev_get_drvdata(dev); in function_name_show() 431 uvc_register_video(struct uvc_device *uvc) in uvc_register_video() [all …]
|
D | uvc_video.h | 20 int uvcg_video_init(struct uvc_video *video, struct uvc_device *uvc);
|
D | uvc_video.c | 31 struct uvc_device *uvc = container_of(video, struct uvc_device, video); in uvc_video_encode_header() 769 int uvcg_video_init(struct uvc_video *video, struct uvc_device *uvc) in uvcg_video_init()
|
/drivers/media/usb/uvc/ |
D | uvc_status.c | 23 static bool uvc_input_has_button(struct uvc_device *dev) in uvc_input_has_button() 42 static int uvc_input_init(struct uvc_device *dev) in uvc_input_init() 76 static void uvc_input_unregister(struct uvc_device *dev) in uvc_input_unregister() 82 static void uvc_input_report_key(struct uvc_device *dev, unsigned int code, in uvc_input_report_key() 100 static void uvc_event_streaming(struct uvc_device *dev, in uvc_event_streaming() 142 static struct uvc_control *uvc_event_find_ctrl(struct uvc_device *dev, in uvc_event_find_ctrl() 168 struct uvc_device *dev = urb->context; in uvc_event_control() 204 struct uvc_device *dev = urb->context; in uvc_status_complete() 254 int uvc_status_init(struct uvc_device *dev) in uvc_status_init() 293 void uvc_status_unregister(struct uvc_device *dev) in uvc_status_unregister() [all …]
|
D | uvcvideo.h | 90 struct uvc_device; 238 int (*get_info)(struct uvc_device *dev, struct uvc_entity *entity, 240 int (*get_cur)(struct uvc_device *dev, struct uvc_entity *entity, 328 struct uvc_device *dev; 431 struct uvc_device *dev; 551 struct uvc_device { struct 669 struct uvc_entity *uvc_entity_by_id(struct uvc_device *dev, int id); 731 int uvc_query_ctrl(struct uvc_device *dev, u8 query, u8 unit, 738 int uvc_register_video_device(struct uvc_device *dev, 747 int uvc_status_init(struct uvc_device *dev); [all …]
|
D | uvc_driver.c | 134 struct uvc_entity *uvc_entity_by_id(struct uvc_device *dev, int id) in uvc_entity_by_id() 146 static struct uvc_entity *uvc_entity_by_reference(struct uvc_device *dev, in uvc_entity_by_reference() 163 static struct uvc_streaming *uvc_stream_by_id(struct uvc_device *dev, int id) in uvc_stream_by_id() 193 static struct uvc_streaming *uvc_stream_new(struct uvc_device *dev, in uvc_stream_new() 223 static int uvc_parse_format(struct uvc_device *dev, in uvc_parse_format() 510 static int uvc_parse_streaming(struct uvc_device *dev, in uvc_parse_streaming() 824 static void uvc_entity_set_name(struct uvc_device *dev, struct uvc_entity *entity, in uvc_entity_set_name() 846 static int uvc_parse_vendor_control(struct uvc_device *dev, in uvc_parse_vendor_control() 921 static int uvc_parse_standard_control(struct uvc_device *dev, in uvc_parse_standard_control() 1167 static int uvc_parse_control(struct uvc_device *dev) in uvc_parse_control() [all …]
|
D | uvc_metadata.c | 64 struct uvc_device *dev = stream->dev; in uvc_meta_v4l2_try_format() 114 struct uvc_device *dev = stream->dev; in uvc_meta_v4l2_enum_formats() 161 struct uvc_device *dev = stream->dev; in uvc_meta_register()
|
D | uvc_ctrl.c | 1571 struct uvc_device *dev = container_of(work, struct uvc_device, in uvc_ctrl_status_event_work() 1593 struct uvc_device *dev = chain->dev; in uvc_ctrl_status_event_async() 1766 static int uvc_ctrl_commit_entity(struct uvc_device *dev, in uvc_ctrl_commit_entity() 2015 static int uvc_ctrl_get_flags(struct uvc_device *dev, in uvc_ctrl_get_flags() 2053 static void uvc_ctrl_fixup_xu_info(struct uvc_device *dev, in uvc_ctrl_fixup_xu_info() 2095 static int uvc_ctrl_fill_xu_info(struct uvc_device *dev, in uvc_ctrl_fill_xu_info() 2146 static int uvc_ctrl_add_info(struct uvc_device *dev, struct uvc_control *ctrl, 2149 static int uvc_ctrl_init_xu_ctrl(struct uvc_device *dev, in uvc_ctrl_init_xu_ctrl() 2308 int uvc_ctrl_restore_values(struct uvc_device *dev) in uvc_ctrl_restore_values() 2346 static int uvc_ctrl_add_info(struct uvc_device *dev, struct uvc_control *ctrl, in uvc_ctrl_add_info() [all …]
|
D | uvc_video.c | 31 static int __uvc_query_ctrl(struct uvc_device *dev, u8 query, u8 unit, in __uvc_query_ctrl() 70 int uvc_query_ctrl(struct uvc_device *dev, u8 query, u8 unit, in uvc_query_ctrl()
|