Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
chipidea.h File Reference
#include <linux/usb/otg.h>

Go to the source code of this file.

Data Structures

struct  ci13xxx_platform_data
 

Macros

#define CI13XXX_REGS_SHARED   BIT(0)
 
#define CI13XXX_REQUIRE_TRANSCEIVER   BIT(1)
 
#define CI13XXX_PULLUP_ON_VBUS   BIT(2)
 
#define CI13XXX_DISABLE_STREAMING   BIT(3)
 
#define CI13XXX_CONTROLLER_RESET_EVENT   0
 
#define CI13XXX_CONTROLLER_STOPPED_EVENT   1
 
#define DEF_CAPOFFSET   0x100
 

Functions

struct platform_deviceci13xxx_add_device (struct device *dev, struct resource *res, int nres, struct ci13xxx_platform_data *platdata)
 
void ci13xxx_remove_device (struct platform_device *pdev)
 

Macro Definition Documentation

#define CI13XXX_CONTROLLER_RESET_EVENT   0

Definition at line 23 of file chipidea.h.

#define CI13XXX_CONTROLLER_STOPPED_EVENT   1

Definition at line 24 of file chipidea.h.

#define CI13XXX_DISABLE_STREAMING   BIT(3)

Definition at line 21 of file chipidea.h.

#define CI13XXX_PULLUP_ON_VBUS   BIT(2)

Definition at line 20 of file chipidea.h.

#define CI13XXX_REGS_SHARED   BIT(0)

Definition at line 18 of file chipidea.h.

#define CI13XXX_REQUIRE_TRANSCEIVER   BIT(1)

Definition at line 19 of file chipidea.h.

#define DEF_CAPOFFSET   0x100

Definition at line 29 of file chipidea.h.

Function Documentation

struct platform_device* ci13xxx_add_device ( struct device dev,
struct resource res,
int  nres,
struct ci13xxx_platform_data platdata 
)
read

Definition at line 342 of file core.c.

void ci13xxx_remove_device ( struct platform_device pdev)

Definition at line 386 of file core.c.