4 * Utility definitions for the uvc function
6 * Copyright (c) 2013-2014 Samsung Electronics Co., Ltd.
7 * http://www.samsung.com
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
19 #include <linux/usb/composite.h>
21 #define to_f_uvc_opts(f) container_of(f, struct f_uvc_opts, func_inst)
24 struct usb_function_instance func_inst;
25 unsigned int uvc_gadget_trace_param;
26 unsigned int streaming_interval;
27 unsigned int streaming_maxpacket;
28 unsigned int streaming_maxburst;
29 const struct uvc_descriptor_header * const *fs_control;
30 const struct uvc_descriptor_header * const *ss_control;
31 const struct uvc_descriptor_header * const *fs_streaming;
32 const struct uvc_descriptor_header * const *hs_streaming;
33 const struct uvc_descriptor_header * const *ss_streaming;
36 void uvc_set_trace_param(unsigned int trace);