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

Data Fields

struct usb_gadget gadget
 
struct usb_gadget_driverdriver
 
struct pci_devpdev
 
struct pch_udc_ep ep [PCH_UDC_EP_NUM]
 
spinlock_t lock
 
unsigned active:1
 
unsigned stall:1
 
unsigned prot_stall:1
 
unsigned irq_registered:1
 
unsigned mem_region:1
 
unsigned registered:1
 
unsigned suspended:1
 
unsigned connected:1
 
unsigned vbus_session:1
 
unsigned set_cfg_not_acked:1
 
unsigned waiting_zlp_ack:1
 
struct pci_pool * data_requests
 
struct pci_pool * stp_requests
 
dma_addr_t dma_addr
 
voidep0out_buf
 
struct usb_ctrlrequest setup_data
 
unsigned long phys_addr
 
void __iomembase_addr
 
unsigned irq
 
struct pch_udc_cfg_data cfg_data
 
struct pch_vbus_gpio_data vbus_gpio
 

Detailed Description

struct pch_udc_dev - Structure holding complete information of the PCH USB device : gadget driver data : reference to gadget driver bound : reference to the PCI device : array of endpoints : protects all state : enabled the PCI device : stall requested : protcol stall requested : irq registered with system : device memory mapped : driver regsitered with system : driver in suspended state : gadget driver associated : required vbus_session state : pending acknowledgement 4 setup : pending acknowledgement 4 ZLP : DMA pool for data requests : DMA pool for setup requests : DMA pool for received : Buffer for DMA : Received setup data : of device memory : for mapped device memory : IRQ line for the device : current cfg, intf, and alt in use : GPIO informaton for detecting VBUS

Definition at line 350 of file pch_udc.c.

Field Documentation

unsigned active

Definition at line 356 of file pch_udc.c.

void __iomem* base_addr

Definition at line 373 of file pch_udc.c.

Definition at line 375 of file pch_udc.c.

unsigned connected

Definition at line 356 of file pch_udc.c.

struct pci_pool* data_requests

Definition at line 367 of file pch_udc.c.

dma_addr_t dma_addr

Definition at line 369 of file pch_udc.c.

Definition at line 352 of file pch_udc.c.

Definition at line 354 of file pch_udc.c.

void* ep0out_buf

Definition at line 370 of file pch_udc.c.

Definition at line 351 of file pch_udc.c.

unsigned irq

Definition at line 374 of file pch_udc.c.

unsigned irq_registered

Definition at line 356 of file pch_udc.c.

spinlock_t lock

Definition at line 355 of file pch_udc.c.

unsigned mem_region

Definition at line 356 of file pch_udc.c.

struct pci_dev* pdev

Definition at line 353 of file pch_udc.c.

unsigned long phys_addr

Definition at line 372 of file pch_udc.c.

unsigned prot_stall

Definition at line 356 of file pch_udc.c.

unsigned registered

Definition at line 356 of file pch_udc.c.

unsigned set_cfg_not_acked

Definition at line 356 of file pch_udc.c.

Definition at line 371 of file pch_udc.c.

unsigned stall

Definition at line 356 of file pch_udc.c.

struct pci_pool* stp_requests

Definition at line 368 of file pch_udc.c.

unsigned suspended

Definition at line 356 of file pch_udc.c.

Definition at line 376 of file pch_udc.c.

unsigned vbus_session

Definition at line 356 of file pch_udc.c.

unsigned waiting_zlp_ack

Definition at line 356 of file pch_udc.c.


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