dwc_cfi_common.h File Reference

This file contains the CFI specific common constants, interfaces (functions and macros) and structures for Linux. More...

Go to the source code of this file.

Data Structures

struct  cfi_all_features_header
 This structure is the header of the Core Features dataset returned to the Host. More...
struct  cfi_feature_desc_header
 This structure is a header of the Core Feature descriptor dataset returned to the Host after the VEN_CORE_GET_FEATURES request. More...
struct  cfi_string
 This structure describes a NULL terminated string referenced by its id field. More...

Defines

#define __DWC_CFI_COMMON_H__
#define VEN_CORE_GET_FEATURES   0xB1
 This is a request for all Core Features.
#define VEN_CORE_GET_FEATURE   0xB2
 This is a request to get the value of a specific Core Feature.
#define VEN_CORE_SET_FEATURE   0xB3
 This command allows the host to set the value of a specific Core Feature.
#define VEN_CORE_RESET_FEATURES   0xB4
 This command allows the host to set the default values of either all or any specific Core Feature.
#define VEN_CORE_ACTIVATE_FEATURES   0xB5
 This command forces the PCD to write the deferred values of a Core Features.
#define VEN_CORE_READ_REGISTER   0xB6
 This request reads a DWORD value from a register at the specified offset.
#define VEN_CORE_WRITE_REGISTER   0xB7
 This request writes a DWORD value into a register at the specified offset.
#define CFI_ALL_FEATURES_HDR_LEN   8
 The features header structure length is.
#define CFI_CORE_ID_UDC   1
#define CFI_CORE_ID_OTG   2
#define CFI_CORE_ID_WUDEV   3
#define CFI_FEATURE_DESC_HDR_LEN   8
#define CFI_FEATURE_ATTR_RO   1
#define CFI_FEATURE_ATTR_RW   0

Typedefs

typedef cfi_all_features_header cfi_all_features_header_t
typedef cfi_feature_desc_header cfi_feature_desc_header_t
typedef cfi_string cfi_string_t

Variables

cfi_all_features_header UPACKED
 This structure is the header of the Core Features dataset returned to the Host.
cfi_feature_desc_header UPACKED
 This structure is a header of the Core Feature descriptor dataset returned to the Host after the VEN_CORE_GET_FEATURES request.


Detailed Description

This file contains the CFI specific common constants, interfaces (functions and macros) and structures for Linux.

No PCD specific data structure or definition is to be included in this file.

Definition in file dwc_cfi_common.h.


Generated on Tue May 5 02:22:48 2009 for DesignWare USB 2.0 OTG Controller (DWC_otg) Device Driver by  doxygen 1.4.7