|
Linux Kernel
3.7.1
|
#include <pxa27x_udc.h>
Data Fields | |
| void __iomem * | regs |
| int | irq |
| struct clk * | clk |
| struct usb_gadget | gadget |
| struct usb_gadget_driver * | driver |
| struct device * | dev |
| struct pxa2xx_udc_mach_info * | mach |
| struct usb_phy * | transceiver |
| enum ep0_state | ep0state |
| struct udc_stats | stats |
| struct udc_usb_ep | udc_usb_ep [NR_USB_ENDPOINTS] |
| struct pxa_ep | pxa_ep [NR_PXA_ENDPOINTS] |
| unsigned | enabled:1 |
| unsigned | pullup_on:1 |
| unsigned | pullup_resume:1 |
| unsigned | vbus_sensed:1 |
| unsigned | config:2 |
| unsigned | last_interface:3 |
| unsigned | last_alternate:3 |
struct pxa_udc - udc structure : mapped IO space : udc irq : udc clock : udc gadget structure : bound gadget (zero, g_ether, g_file_storage, ...) : device : machine info, used to activate specific GPIO : external transceiver to handle vbus sense and D+ pullup : control endpoint state machine state : statistics on udc usage : array of usb endpoints offered by the gadget : array of pxa available endpoints : UDC was enabled by a previous udc_enable() : if pullup resistor connected to D+ pin : if pullup resistor should be connected to D+ pin on resume : UDC active configuration : UDC interface of the last SET_INTERFACE host request : UDC altsetting of the last SET_INTERFACE host request : save of udccsr0 in case of suspend : root entry of debug filesystem : debugfs entry for "udcstate" : debugfs entry for "queues" : debugfs entry for "epstate"
Definition at line 423 of file pxa27x_udc.h.
Definition at line 426 of file pxa27x_udc.h.
| unsigned config |
Definition at line 444 of file pxa27x_udc.h.
Definition at line 430 of file pxa27x_udc.h.
| struct usb_gadget_driver* driver |
Definition at line 429 of file pxa27x_udc.h.
| unsigned enabled |
Definition at line 440 of file pxa27x_udc.h.
Definition at line 434 of file pxa27x_udc.h.
| struct usb_gadget gadget |
Definition at line 428 of file pxa27x_udc.h.
| int irq |
Definition at line 425 of file pxa27x_udc.h.
| unsigned last_alternate |
Definition at line 446 of file pxa27x_udc.h.
| unsigned last_interface |
Definition at line 445 of file pxa27x_udc.h.
| struct pxa2xx_udc_mach_info* mach |
Definition at line 431 of file pxa27x_udc.h.
| unsigned pullup_on |
Definition at line 441 of file pxa27x_udc.h.
| unsigned pullup_resume |
Definition at line 442 of file pxa27x_udc.h.
Definition at line 438 of file pxa27x_udc.h.
Definition at line 424 of file pxa27x_udc.h.
Definition at line 435 of file pxa27x_udc.h.
Definition at line 432 of file pxa27x_udc.h.
Definition at line 437 of file pxa27x_udc.h.
| unsigned vbus_sensed |
Definition at line 443 of file pxa27x_udc.h.
1.8.2