linux/drivers/usb/gadget/function/g_zero.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * This header declares the utility functions used by "Gadget Zero", plus
 * interfaces to its two single-configuration function drivers.
 */

#ifndef __G_ZERO_H
#define __G_ZERO_H

#define GZERO_BULK_BUFLEN
#define GZERO_QLEN
#define GZERO_ISOC_INTERVAL
#define GZERO_ISOC_MAXPACKET
#define GZERO_SS_BULK_QLEN
#define GZERO_SS_ISO_QLEN

struct usb_zero_options {};

struct f_ss_opts {};

struct f_lb_opts {};

void lb_modexit(void);
int lb_modinit(void);

/* common utilities */
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);

#endif /* __G_ZERO_H */