Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
multi.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include "f_mass_storage.c"
#include "u_serial.c"
#include "f_acm.c"
#include "f_ecm.c"
#include "f_subset.c"
#include "u_ether.c"

Go to the source code of this file.

Macros

#define DRIVER_DESC   "Multifunction Composite Gadget"
 
#define MULTI_VENDOR_NUM   0x1d6b /* Linux Foundation */
 
#define MULTI_PRODUCT_NUM   0x0104 /* Multifunction Composite Gadget */
 

Enumerations

enum  { __MULTI_NO_CONFIG }
 
enum  { MULTI_STRING_RNDIS_CONFIG_IDX = USB_GADGET_FIRST_AVAIL_IDX, MULTI_STRING_CDC_CONFIG_IDX }
 

Functions

 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_AUTHOR ("Michal Nazarewicz")
 
 MODULE_LICENSE ("GPL")
 
 USB_GADGET_COMPOSITE_OPTIONS ()
 
 FSG_MODULE_PARAMETERS (, fsg_mod_data)
 
 module_init (multi_init)
 
 module_exit (multi_exit)
 

Macro Definition Documentation

#define DRIVER_DESC   "Multifunction Composite Gadget"

Definition at line 27 of file multi.c.

#define MULTI_PRODUCT_NUM   0x0104 /* Multifunction Composite Gadget */

Definition at line 61 of file multi.c.

#define MULTI_VENDOR_NUM   0x1d6b /* Linux Foundation */

Definition at line 60 of file multi.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
__MULTI_NO_CONFIG 

Definition at line 64 of file multi.c.

anonymous enum
Enumerator:
MULTI_STRING_RNDIS_CONFIG_IDX 
MULTI_STRING_CDC_CONFIG_IDX 

Definition at line 106 of file multi.c.

Function Documentation

FSG_MODULE_PARAMETERS ( fsg_mod_data  )
MODULE_AUTHOR ( "Michal Nazarewicz"  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
module_exit ( multi_exit  )
module_init ( multi_init  )
MODULE_LICENSE ( "GPL"  )
USB_GADGET_COMPOSITE_OPTIONS ( )