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

Go to the source code of this file.

Data Structures

struct  musb_fifo_cfg
 
struct  musb_hdrc_eps_bits
 
struct  musb_hdrc_config
 
struct  musb_hdrc_platform_data
 

Macros

#define MUSB_EP_FIFO(ep, st, m, pkt)
 
#define MUSB_EP_FIFO_SINGLE(ep, st, pkt)   MUSB_EP_FIFO(ep, st, BUF_SINGLE, pkt)
 
#define MUSB_EP_FIFO_DOUBLE(ep, st, pkt)   MUSB_EP_FIFO(ep, st, BUF_DOUBLE, pkt)
 
#define TUSB6010_OSCCLK_60   16667 /* psec/clk @ 60.0 MHz */
 
#define TUSB6010_REFCLK_24   41667 /* psec/clk @ 24.0 MHz XI */
 
#define TUSB6010_REFCLK_19   52083 /* psec/clk @ 19.2 MHz CLKIN */
 

Enumerations

enum  musb_mode { MUSB_UNDEFINED = 0, MUSB_HOST, MUSB_PERIPHERAL, MUSB_OTG }
 
enum  musb_fifo_style
 
enum  musb_buf_mode
 

Functions

enum musb_fifo_style __attribute__ ((packed))
 

Variables

 FIFO_RXTX
 
 FIFO_TX
 
 FIFO_RX
 
 BUF_SINGLE
 
 BUF_DOUBLE
 
struct musb_fifo_cfg __attribute__
 

Macro Definition Documentation

#define MUSB_EP_FIFO (   ep,
  st,
  m,
  pkt 
)
Value:
{ \
.hw_ep_num = ep, \
.style = st, \
.mode = m, \
.maxpacket = pkt, \
}

Definition at line 43 of file musb.h.

#define MUSB_EP_FIFO_DOUBLE (   ep,
  st,
  pkt 
)    MUSB_EP_FIFO(ep, st, BUF_DOUBLE, pkt)

Definition at line 54 of file musb.h.

#define MUSB_EP_FIFO_SINGLE (   ep,
  st,
  pkt 
)    MUSB_EP_FIFO(ep, st, BUF_SINGLE, pkt)

Definition at line 51 of file musb.h.

#define TUSB6010_OSCCLK_60   16667 /* psec/clk @ 60.0 MHz */

Definition at line 136 of file musb.h.

#define TUSB6010_REFCLK_19   52083 /* psec/clk @ 19.2 MHz CLKIN */

Definition at line 138 of file musb.h.

#define TUSB6010_REFCLK_24   41667 /* psec/clk @ 24.0 MHz XI */

Definition at line 137 of file musb.h.

Enumeration Type Documentation

Definition at line 31 of file musb.h.

Definition at line 25 of file musb.h.

enum musb_mode
Enumerator:
MUSB_UNDEFINED 
MUSB_HOST 
MUSB_PERIPHERAL 
MUSB_OTG 

Definition at line 16 of file musb.h.

Function Documentation

enum musb_fifo_style __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

BUF_DOUBLE

Definition at line 35 of file musb.h.

BUF_SINGLE

Definition at line 35 of file musb.h.

FIFO_RX

Definition at line 30 of file musb.h.

@ FIFO_RXTX

Definition at line 30 of file musb.h.

FIFO_TX

Definition at line 30 of file musb.h.