Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
bcm63xx_udc Struct Reference

Data Fields

spinlock_t lock
 
struct devicedev
 
struct bcm63xx_usbd_platform_datapd
 
struct clkusbd_clk
 
struct clkusbh_clk
 
struct usb_gadget gadget
 
struct usb_gadget_driverdriver
 
void __iomemusbd_regs
 
void __iomemiudma_regs
 
struct bcm63xx_ep bep [BCM63XX_NUM_EP]
 
struct iudma_ch iudma [BCM63XX_NUM_IUDMA]
 
int cfg
 
int iface
 
int alt_iface
 
struct bcm63xx_req ep0_ctrl_req
 
u8ep0_ctrl_buf
 
int ep0state
 
struct work_struct ep0_wq
 
unsigned long wedgemap
 
unsigned ep0_req_reset:1
 
unsigned ep0_req_set_cfg:1
 
unsigned ep0_req_set_iface:1
 
unsigned ep0_req_shutdown:1
 
unsigned ep0_req_completed:1
 
struct usb_requestep0_reply
 
struct usb_requestep0_request
 
struct dentrydebugfs_root
 
struct dentrydebugfs_usbd
 
struct dentrydebugfs_iudma
 

Detailed Description

struct bcm63xx_udc - Driver/hardware private context. : Spinlock to mediate access to this struct, and (most) HW regs. : Generic Linux device structure. : Platform data (board/port info). : Clock descriptor for the USB device block. : Clock descriptor for the USB host block. : USB slave device. : Driver for USB slave devices. : Base address of the USBD/USB20D block. : Base address of the USBD's associated IUDMA block. : Array of endpoints, including ep0. : Array of all IUDMA channels used by this controller. : USB configuration number, from SET_CONFIGURATION wValue. : USB interface number, from SET_INTERFACE wIndex. : USB alt interface number, from SET_INTERFACE wValue. : Request object for bcm63xx_udc-initiated ep0 transactions. : Data buffer for ep0_ctrl_req. : Current state of the ep0 state machine. : Workqueue struct used to wake up the ep0 state machine. : Bitmap of wedged endpoints. : USB reset is pending. : Need to spoof a SET_CONFIGURATION packet. : Need to spoof a SET_INTERFACE packet. : Driver is shutting down; requesting ep0 to halt activity. : ep0 request has completed; worker has not seen it yet. : Pending reply from gadget driver. : Outstanding ep0 request. : debugfs directory: /sys/kernel/debug/<DRV_MODULE_NAME>. : debugfs file "usbd" for controller state. : debugfs file "usbd" for IUDMA state.

Definition at line 280 of file bcm63xx_udc.c.

Field Documentation

int alt_iface

Definition at line 299 of file bcm63xx_udc.c.

Definition at line 294 of file bcm63xx_udc.c.

int cfg

Definition at line 297 of file bcm63xx_udc.c.

struct dentry* debugfs_iudma

Definition at line 320 of file bcm63xx_udc.c.

struct dentry* debugfs_root

Definition at line 318 of file bcm63xx_udc.c.

struct dentry* debugfs_usbd

Definition at line 319 of file bcm63xx_udc.c.

struct device* dev

Definition at line 283 of file bcm63xx_udc.c.

Definition at line 289 of file bcm63xx_udc.c.

u8* ep0_ctrl_buf

Definition at line 302 of file bcm63xx_udc.c.

struct bcm63xx_req ep0_ctrl_req

Definition at line 301 of file bcm63xx_udc.c.

struct usb_request* ep0_reply

Definition at line 315 of file bcm63xx_udc.c.

unsigned ep0_req_completed

Definition at line 314 of file bcm63xx_udc.c.

unsigned ep0_req_reset

Definition at line 309 of file bcm63xx_udc.c.

unsigned ep0_req_set_cfg

Definition at line 310 of file bcm63xx_udc.c.

unsigned ep0_req_set_iface

Definition at line 311 of file bcm63xx_udc.c.

unsigned ep0_req_shutdown

Definition at line 312 of file bcm63xx_udc.c.

struct usb_request* ep0_request

Definition at line 316 of file bcm63xx_udc.c.

Definition at line 305 of file bcm63xx_udc.c.

Definition at line 304 of file bcm63xx_udc.c.

Definition at line 288 of file bcm63xx_udc.c.

int iface

Definition at line 298 of file bcm63xx_udc.c.

Definition at line 295 of file bcm63xx_udc.c.

void __iomem* iudma_regs

Definition at line 292 of file bcm63xx_udc.c.

spinlock_t lock

Definition at line 281 of file bcm63xx_udc.c.

Definition at line 284 of file bcm63xx_udc.c.

struct clk* usbd_clk

Definition at line 285 of file bcm63xx_udc.c.

void __iomem* usbd_regs

Definition at line 291 of file bcm63xx_udc.c.

struct clk* usbh_clk

Definition at line 286 of file bcm63xx_udc.c.

unsigned long wedgemap

Definition at line 307 of file bcm63xx_udc.c.


The documentation for this struct was generated from the following file: