/linux/drivers/usb/gadget/function/ |
H A 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() 136 static struct uvcg_frame *find_closest_frame_by_size(struct uvc_device *uvc, in find_closest_frame_by_size() 185 uvc_send_response(struct uvc_device *uvc, struct uvc_request_data *data) in uvc_send_response() 209 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_querycap() 223 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_get_format() 242 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_try_format() 300 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_set_format() 322 struct uvc_device *uvc = video_get_drvdata(vdev); in uvc_v4l2_enum_frameintervals() [all …]
|
H A 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);
|
H A 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);
|
H A 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 …]
|
H A D | uvc_video.h | 20 int uvcg_video_init(struct uvc_video *video, struct uvc_device *uvc);
|
H A D | uvc_video.c | 31 struct uvc_device *uvc = container_of(video, struct uvc_device, video); in uvc_video_encode_header() 764 int uvcg_video_init(struct uvc_video *video, struct uvc_device *uvc) in uvcg_video_init()
|
/linux/drivers/media/usb/uvc/ |
H A 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 …]
|
H A D | uvcvideo.h | 91 struct uvc_device; 243 int (*get_info)(struct uvc_device *dev, struct uvc_entity *entity, 245 int (*get_cur)(struct uvc_device *dev, struct uvc_entity *entity, 333 struct uvc_device *dev; 436 struct uvc_device *dev; 556 struct uvc_device { struct 674 struct uvc_entity *uvc_entity_by_id(struct uvc_device *dev, int id); 736 int uvc_query_ctrl(struct uvc_device *dev, u8 query, u8 unit, 743 int uvc_register_video_device(struct uvc_device *dev, 752 int uvc_status_init(struct uvc_device *dev); [all …]
|
H A 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() 834 static void uvc_entity_set_name(struct uvc_device *dev, struct uvc_entity *entity, in uvc_entity_set_name() 856 static int uvc_parse_vendor_control(struct uvc_device *dev, in uvc_parse_vendor_control() 931 static int uvc_parse_standard_control(struct uvc_device *dev, in uvc_parse_standard_control() 1177 static int uvc_parse_control(struct uvc_device *dev) in uvc_parse_control() [all …]
|
H A 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()
|
H A D | uvc_ctrl.c | 1618 struct uvc_device *dev = container_of(work, struct uvc_device, in uvc_ctrl_status_event_work() 1640 struct uvc_device *dev = chain->dev; in uvc_ctrl_status_event_async() 1813 static int uvc_ctrl_commit_entity(struct uvc_device *dev, in uvc_ctrl_commit_entity() 2064 static int uvc_ctrl_get_flags(struct uvc_device *dev, in uvc_ctrl_get_flags() 2102 static void uvc_ctrl_fixup_xu_info(struct uvc_device *dev, in uvc_ctrl_fixup_xu_info() 2144 static int uvc_ctrl_fill_xu_info(struct uvc_device *dev, in uvc_ctrl_fill_xu_info() 2195 static int uvc_ctrl_add_info(struct uvc_device *dev, struct uvc_control *ctrl, 2198 static int uvc_ctrl_init_xu_ctrl(struct uvc_device *dev, in uvc_ctrl_init_xu_ctrl() 2357 int uvc_ctrl_restore_values(struct uvc_device *dev) in uvc_ctrl_restore_values() 2395 static int uvc_ctrl_add_info(struct uvc_device *dev, struct uvc_control *ctrl, in uvc_ctrl_add_info() [all …]
|
H A 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()
|