summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/g_zero.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-26 16:56:25 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-26 16:56:25 -0800
commit87cf5586fdc91ea3b27739372af430b35b9c99db (patch)
treeb83f696e996aff2c1203fd59cbe43b522c0623f2 /drivers/usb/gadget/function/g_zero.h
parentbfccd95e7aba73d0d3154912b17b855cb9938c50 (diff)
parent5072cfc40a80cea3749fd3413b3896630d8c787e (diff)
downloadop-kernel-dev-87cf5586fdc91ea3b27739372af430b35b9c99db.zip
op-kernel-dev-87cf5586fdc91ea3b27739372af430b35b9c99db.tar.gz
Merge tag 'usb-for-v4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next
Felipe writes: usb: patches for v4.5 A ton of improvements to dwc2 have been made. The driver should be a lot more stable on v4.5 then ever before. Our good old dwc3 got a few cleanups and misc fixes and also added support to Xilinx's integration of this IP. Yoshihiro Shimoda gives us support for a new USB3 peripheral controller from Renesas. Other than these, the usual misc fixes all over the place.
Diffstat (limited to 'drivers/usb/gadget/function/g_zero.h')
-rw-r--r--drivers/usb/gadget/function/g_zero.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/usb/gadget/function/g_zero.h b/drivers/usb/gadget/function/g_zero.h
index 15f1809..492924d0 100644
--- a/drivers/usb/gadget/function/g_zero.h
+++ b/drivers/usb/gadget/function/g_zero.h
@@ -10,6 +10,8 @@
#define GZERO_QLEN 32
#define GZERO_ISOC_INTERVAL 4
#define GZERO_ISOC_MAXPACKET 1024
+#define GZERO_SS_BULK_QLEN 1
+#define GZERO_SS_ISO_QLEN 8
struct usb_zero_options {
unsigned pattern;
@@ -19,6 +21,8 @@ struct usb_zero_options {
unsigned isoc_maxburst;
unsigned bulk_buflen;
unsigned qlen;
+ unsigned ss_bulk_qlen;
+ unsigned ss_iso_qlen;
};
struct f_ss_opts {
@@ -29,6 +33,8 @@ struct f_ss_opts {
unsigned isoc_mult;
unsigned isoc_maxburst;
unsigned bulk_buflen;
+ unsigned bulk_qlen;
+ unsigned iso_qlen;
/*
* Read/write access to configfs attributes is handled by configfs.
@@ -59,7 +65,6 @@ void lb_modexit(void);
int lb_modinit(void);
/* common utilities */
-void free_ep_req(struct usb_ep *ep, struct usb_request *req);
void disable_endpoints(struct usb_composite_dev *cdev,
struct usb_ep *in, struct usb_ep *out,
struct usb_ep *iso_in, struct usb_ep *iso_out);
OpenPOWER on IntegriCloud