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

Data Fields

enum cris_io_interface ioif
 
charname
 
unsigned char groups
 
unsigned char used
 
charowner
 
unsigned int group_a
 
unsigned int group_b
 
unsigned int group_c
 
unsigned int group_d
 
unsigned int group_e
 
unsigned int group_f
 
unsigned int gpio_g_in
 
unsigned int gpio_g_out
 
unsigned char gpio_b
 

Detailed Description

is_match_usb_pxa - check if usb_ep and pxa_ep match : usb endpoint : pxa endpoint : configuration required in pxa_ep pxa_ep : altsetting required in pxa_ep

Returns 1 if all criteria match between pxa and usb endpoint, 0 otherwise

this endpoint is active : altsetting in which this endpoitn is active : max packet size in the endpoint fifo : endpoint type (bulk, iso, int, ...) : save register of UDCCSR0 for suspend/resume : save register of UDCCR for suspend/resume : endpoint statistics

The PROBLEM is that pxa's endpoint configuration scheme is both misdesigned (cares about config/interface/altsetting, thus placing needless limits on device capability) and full of implementation bugs forcing it to be set up for use more or less like a pxa255.

As we define the pxa_ep statically, we must guess all needed pxa_ep for all gadget which may work with this udc driver.

Definition at line 57 of file io_interface_mux.c.

Field Documentation

unsigned char gpio_b

Definition at line 83 of file io_interface_mux.c.

unsigned int gpio_g_in

Definition at line 81 of file io_interface_mux.c.

unsigned int gpio_g_out

Definition at line 82 of file io_interface_mux.c.

unsigned int group_a

Definition at line 70 of file io_interface_mux.c.

unsigned int group_b

Definition at line 71 of file io_interface_mux.c.

unsigned int group_c

Definition at line 72 of file io_interface_mux.c.

unsigned int group_d

Definition at line 73 of file io_interface_mux.c.

unsigned int group_e

Definition at line 74 of file io_interface_mux.c.

unsigned int group_f

Definition at line 75 of file io_interface_mux.c.

unsigned char groups

Definition at line 64 of file io_interface_mux.c.

enum cris_io_interface ioif

Definition at line 59 of file io_interface_mux.c.

char* name

Definition at line 61 of file io_interface_mux.c.

char* owner

Definition at line 67 of file io_interface_mux.c.

unsigned char used

Definition at line 66 of file io_interface_mux.c.


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