| * This header declares the utility functions used by "Gadget Zero", plus |
| * interfaces to its two single-configuration function drivers. |
| #define GZERO_BULK_BUFLEN 4096 |
| #define GZERO_ISOC_INTERVAL 4 |
| #define GZERO_ISOC_MAXPACKET 1024 |
| struct usb_zero_options { |
| struct usb_function_instance func_inst; |
| * Read/write access to configfs attributes is handled by configfs. |
| * This is to protect the data from concurrent access by read/write |
| * and create symlink/remove symlink. |
| struct usb_function_instance func_inst; |
| * Read/write access to configfs attributes is handled by configfs. |
| * This is to protect the data from concurrent access by read/write |
| * and create symlink/remove symlink. |
| 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); |