Home
last modified time | relevance | path

Searched refs:uvc_device (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/drivers/usb/gadget/function/
Duvc.h28 struct uvc_device;
87 struct uvc_device *uvc;
127 struct uvc_device { struct
157 static inline struct uvc_device *to_uvc(struct usb_function *f) in to_uvc() argument
159 return container_of(f, struct uvc_device, func); in to_uvc()
175 extern void uvc_function_setup_continue(struct uvc_device *uvc);
176 extern void uvc_endpoint_stream(struct uvc_device *dev);
178 extern void uvc_function_connect(struct uvc_device *uvc);
179 extern void uvc_function_disconnect(struct uvc_device *uvc);
Duvc_v4l2.c33 uvc_send_response(struct uvc_device *uvc, struct uvc_request_data *data) in uvc_send_response()
67 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_querycap()
81 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_get_format()
100 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_set_format()
141 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_reqbufs()
154 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_querybuf()
164 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_qbuf()
182 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_dqbuf()
192 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_streamon()
218 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_streamoff()
[all …]
Df_uvc.h12 struct uvc_device;
14 void uvc_function_setup_continue(struct uvc_device *uvc);
16 void uvc_function_connect(struct uvc_device *uvc);
18 void uvc_function_disconnect(struct uvc_device *uvc);
Df_uvc.c210 struct uvc_device *uvc = req->context; in uvc_function_ep0_complete()
228 struct uvc_device *uvc = to_uvc(f); in uvc_function_setup()
256 void uvc_function_setup_continue(struct uvc_device *uvc) in uvc_function_setup_continue()
266 struct uvc_device *uvc = to_uvc(f); in uvc_function_get_alt()
281 struct uvc_device *uvc = to_uvc(f); in uvc_function_set_alt()
366 struct uvc_device *uvc = to_uvc(f); in uvc_function_disable()
386 uvc_function_connect(struct uvc_device *uvc) in uvc_function_connect()
395 uvc_function_disconnect(struct uvc_device *uvc) in uvc_function_disconnect()
410 struct uvc_device *uvc = dev_get_drvdata(dev); in function_name_show()
418 uvc_register_video(struct uvc_device *uvc) in uvc_register_video()
[all …]
Duvc_video.h19 int uvcg_video_init(struct uvc_video *video, struct uvc_device *uvc);
Duvc_video.c31 struct uvc_device *uvc = container_of(video, struct uvc_device, video); in uvc_video_encode_header()
251 struct uvc_device *uvc = video->uvc; in uvc_video_complete()
496 int uvcg_video_init(struct uvc_video *video, struct uvc_device *uvc) in uvcg_video_init()
/linux-5.19.10/drivers/media/usb/uvc/
Duvc_status.c21 static int uvc_input_init(struct uvc_device *dev) in uvc_input_init()
52 static void uvc_input_unregister(struct uvc_device *dev) in uvc_input_unregister()
58 static void uvc_input_report_key(struct uvc_device *dev, unsigned int code, in uvc_input_report_key()
92 static void uvc_event_streaming(struct uvc_device *dev, in uvc_event_streaming()
133 static struct uvc_control *uvc_event_find_ctrl(struct uvc_device *dev, in uvc_event_find_ctrl()
159 struct uvc_device *dev = urb->context; in uvc_event_control()
195 struct uvc_device *dev = urb->context; in uvc_status_complete()
252 int uvc_status_init(struct uvc_device *dev) in uvc_status_init()
290 void uvc_status_unregister(struct uvc_device *dev) in uvc_status_unregister()
296 void uvc_status_cleanup(struct uvc_device *dev) in uvc_status_cleanup()
[all …]
Duvcvideo.h226 struct uvc_device;
379 int (*get_info)(struct uvc_device *dev, struct uvc_entity *entity,
381 int (*get_cur)(struct uvc_device *dev, struct uvc_entity *entity,
471 struct uvc_device *dev;
574 struct uvc_device *dev;
672 struct uvc_device { struct
788 struct uvc_entity *uvc_entity_by_id(struct uvc_device *dev, int id);
850 int uvc_query_ctrl(struct uvc_device *dev, u8 query, u8 unit,
857 int uvc_register_video_device(struct uvc_device *dev,
866 int uvc_status_init(struct uvc_device *dev);
[all …]
Duvc_driver.c416 struct uvc_entity *uvc_entity_by_id(struct uvc_device *dev, int id) in uvc_entity_by_id()
428 static struct uvc_entity *uvc_entity_by_reference(struct uvc_device *dev, in uvc_entity_by_reference()
445 static struct uvc_streaming *uvc_stream_by_id(struct uvc_device *dev, int id) in uvc_stream_by_id()
475 static struct uvc_streaming *uvc_stream_new(struct uvc_device *dev, in uvc_stream_new()
505 static int uvc_parse_format(struct uvc_device *dev, in uvc_parse_format()
784 static int uvc_parse_streaming(struct uvc_device *dev, in uvc_parse_streaming()
1094 static int uvc_parse_vendor_control(struct uvc_device *dev, in uvc_parse_vendor_control()
1172 static int uvc_parse_standard_control(struct uvc_device *dev, in uvc_parse_standard_control()
1433 static int uvc_parse_control(struct uvc_device *dev) in uvc_parse_control()
1485 static void uvc_gpio_event(struct uvc_device *dev) in uvc_gpio_event()
[all …]
Duvc_metadata.c64 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()
Duvc_ctrl.c1395 struct uvc_device *dev = container_of(work, struct uvc_device, in uvc_ctrl_status_event_work()
1413 struct uvc_device *dev = chain->dev; in uvc_ctrl_status_event_async()
1584 static int uvc_ctrl_commit_entity(struct uvc_device *dev, in uvc_ctrl_commit_entity()
1828 static int uvc_ctrl_get_flags(struct uvc_device *dev, in uvc_ctrl_get_flags()
1859 static void uvc_ctrl_fixup_xu_info(struct uvc_device *dev, in uvc_ctrl_fixup_xu_info()
1901 static int uvc_ctrl_fill_xu_info(struct uvc_device *dev, in uvc_ctrl_fill_xu_info()
1952 static int uvc_ctrl_add_info(struct uvc_device *dev, struct uvc_control *ctrl,
1955 static int uvc_ctrl_init_xu_ctrl(struct uvc_device *dev, in uvc_ctrl_init_xu_ctrl()
2114 int uvc_ctrl_restore_values(struct uvc_device *dev) in uvc_ctrl_restore_values()
2152 static int uvc_ctrl_add_info(struct uvc_device *dev, struct uvc_control *ctrl, in uvc_ctrl_add_info()
[all …]
Duvc_video.c31 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()