Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
core.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/io.h>
#include <linux/list.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/of.h>
#include <linux/usb/otg.h>
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
#include "core.h"
#include "gadget.h"
#include "io.h"
#include "debug.h"

Go to the source code of this file.

Macros

#define DWC3_DEVS_POSSIBLE   32
 
#define DWC3_ALIGN_MASK   (16 - 1)
 

Functions

 module_param (maximum_speed, charp, 0)
 
 MODULE_PARM_DESC (maximum_speed,"Maximum supported speed.")
 
int dwc3_get_device_id (void)
 
 EXPORT_SYMBOL_GPL (dwc3_get_device_id)
 
void dwc3_put_device_id (int id)
 
 EXPORT_SYMBOL_GPL (dwc3_put_device_id)
 
void dwc3_set_mode (struct dwc3 *dwc, u32 mode)
 
 module_platform_driver (dwc3_driver)
 
 MODULE_ALIAS ("platform:dwc3")
 
 MODULE_AUTHOR ("Felipe Balbi <[email protected]>")
 
 MODULE_LICENSE ("Dual BSD/GPL")
 
 MODULE_DESCRIPTION ("DesignWare USB3 DRD Controller Driver")
 

Macro Definition Documentation

#define DWC3_ALIGN_MASK   (16 - 1)

Definition at line 418 of file core.c.

#define DWC3_DEVS_POSSIBLE   32

Definition at line 69 of file core.c.

Function Documentation

int dwc3_get_device_id ( void  )

Definition at line 73 of file core.c.

void dwc3_put_device_id ( int  id)

Definition at line 94 of file core.c.

void dwc3_set_mode ( struct dwc3 dwc,
u32  mode 
)

Definition at line 108 of file core.c.

EXPORT_SYMBOL_GPL ( dwc3_get_device_id  )
EXPORT_SYMBOL_GPL ( dwc3_put_device_id  )
MODULE_ALIAS ( "platform:dwc3"  )
MODULE_AUTHOR ( "Felipe Balbi <[email protected]>"  )
MODULE_DESCRIPTION ( "DesignWare USB3 DRD Controller Driver"  )
MODULE_LICENSE ( "Dual BSD/GPL"  )
module_param ( maximum_speed  ,
charp  ,
 
)
MODULE_PARM_DESC ( maximum_speed  ,
"Maximum supported speed."   
)
module_platform_driver ( dwc3_driver  )