summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-05-26 21:04:04 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-06-01 09:44:39 +0300
commit203acba635874681e3e744fbce4151d569afa572 (patch)
treeb9b166966c30c783c457d9094ac51a441c3c9dc8
parentefca6310d6edca477d6430dbcb72f8ecc00f7b94 (diff)
configfs: Document the uvc_function_config structure
The structure is part of the API towards the UVC gadget application, document it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--configfs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/configfs.h b/configfs.h
index fe513ea..b5c7480 100644
--- a/configfs.h
+++ b/configfs.h
@@ -10,6 +10,16 @@
#ifndef __CONFIGFS_H__
#define __CONFIGFS_H__
+/*
+ * struct uvc_function_config - UVC function configuration parameters
+ * @video: Full path to the video device node
+ * @udc: UDC name
+ * @control_interface: Control interface number
+ * @streaming_interface: Streaming interface number
+ * @streaming_interval: Isochronous interval for the streaming endpoint
+ * @streaming_maxburts: Isochronous maximum burst for the streaming endpoint
+ * @streaming_maxpacket: Isochronous maximum packets for the streaming endpoint
+ */
struct uvc_function_config {
char *video;
char *udc;