Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
s3c2410_udc.h File Reference

Go to the source code of this file.

Data Structures

struct  s3c2410_ep
 
struct  s3c2410_request
 
struct  s3c2410_udc
 

Macros

#define EP0_FIFO_SIZE   8
 
#define EP_FIFO_SIZE   64
 
#define DEFAULT_POWER_STATE   0x00
 
#define S3C2440_EP_FIFO_SIZE   128
 
#define S3C2410_ENDPOINTS   ARRAY_SIZE(ep_name)
 

Enumerations

enum  ep0_state {
  EP0_IDLE, EP0_IN_DATA_PHASE, EP0_OUT_DATA_PHASE, EP0_CONFIG,
  EP0_STALL, STATE_DEV_DISABLED = 0, STATE_DEV_OPENED, STATE_DEV_UNCONNECTED,
  STATE_DEV_CONNECTED, STATE_DEV_SETUP, STATE_DEV_UNBOUND, EP0_IDLE,
  EP0_IN_DATA_PHASE, EP0_OUT_DATA_PHASE, EP0_END_XFER, EP0_STALL,
  WAIT_FOR_SETUP, SETUP_STAGE, IN_DATA_STAGE, OUT_DATA_STAGE,
  IN_STATUS_STAGE, OUT_STATUS_STAGE, STALL, WAIT_ACK_SET_CONF_INTERF,
  EP0_IDLE, EP0_IN_DATA_PHASE, EP0_OUT_DATA_PHASE, EP0_END_XFER,
  EP0_STALL
}
 

Macro Definition Documentation

#define DEFAULT_POWER_STATE   0x00

Definition at line 41 of file s3c2410_udc.h.

#define EP0_FIFO_SIZE   8

Definition at line 39 of file s3c2410_udc.h.

#define EP_FIFO_SIZE   64

Definition at line 40 of file s3c2410_udc.h.

#define S3C2410_ENDPOINTS   ARRAY_SIZE(ep_name)

Definition at line 53 of file s3c2410_udc.h.

#define S3C2440_EP_FIFO_SIZE   128

Definition at line 43 of file s3c2410_udc.h.

Enumeration Type Documentation

enum ep0_state
Enumerator:
EP0_IDLE 
EP0_IN_DATA_PHASE 
EP0_OUT_DATA_PHASE 
EP0_CONFIG 
EP0_STALL 
STATE_DEV_DISABLED 
STATE_DEV_OPENED 
STATE_DEV_UNCONNECTED 
STATE_DEV_CONNECTED 
STATE_DEV_SETUP 
STATE_DEV_UNBOUND 
EP0_IDLE 
EP0_IN_DATA_PHASE 
EP0_OUT_DATA_PHASE 
EP0_END_XFER 
EP0_STALL 
WAIT_FOR_SETUP 
SETUP_STAGE 
IN_DATA_STAGE 
OUT_DATA_STAGE 
IN_STATUS_STAGE 
OUT_STATUS_STAGE 
STALL 
WAIT_ACK_SET_CONF_INTERF 
EP0_IDLE 
EP0_IN_DATA_PHASE 
EP0_OUT_DATA_PHASE 
EP0_END_XFER 
EP0_STALL 

Definition at line 60 of file s3c2410_udc.h.