Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
fsl_devices.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  fsl_usb2_platform_data
 
struct  fsl_spi_platform_data
 
struct  mpc8xx_pcmcia_ops
 

Macros

#define FSL_UTMI_PHY_DLY
 
#define FSL_USB_PHY_CLK_TIMEOUT   10000 /* uSec */
 
#define FSL_USB_VER_OLD   0
 
#define FSL_USB_VER_1_6   1
 
#define FSL_USB_VER_2_2   2
 
#define FSL_USB_VER_2_4   3
 
#define FSL_USB2_PORT0_ENABLED   0x00000001
 
#define FSL_USB2_PORT1_ENABLED   0x00000002
 
#define FLS_USB2_WORKAROUND_ENGCM09152   (1 << 0)
 
#define SPI_QE_CPU_MODE   (1 << 0) /* QE CPU ("PIO") mode */
 
#define SPI_CPM_MODE   (1 << 1) /* CPM/QE ("DMA") mode */
 
#define SPI_CPM1   (1 << 2) /* SPI unit is in CPM1 block */
 
#define SPI_CPM2   (1 << 3) /* SPI unit is in CPM2 block */
 
#define SPI_QE   (1 << 4) /* SPI unit is in QE block */
 

Enumerations

enum  fsl_usb2_operating_modes { FSL_USB2_MPH_HOST, FSL_USB2_DR_HOST, FSL_USB2_DR_DEVICE, FSL_USB2_DR_OTG }
 
enum  fsl_usb2_phy_modes {
  FSL_USB2_PHY_NONE, FSL_USB2_PHY_ULPI, FSL_USB2_PHY_UTMI, FSL_USB2_PHY_UTMI_WIDE,
  FSL_USB2_PHY_SERIAL
}
 

Macro Definition Documentation

#define FLS_USB2_WORKAROUND_ENGCM09152   (1 << 0)

Definition at line 112 of file fsl_devices.h.

#define FSL_USB2_PORT0_ENABLED   0x00000001

Definition at line 109 of file fsl_devices.h.

#define FSL_USB2_PORT1_ENABLED   0x00000002

Definition at line 110 of file fsl_devices.h.

#define FSL_USB_PHY_CLK_TIMEOUT   10000 /* uSec */

Definition at line 21 of file fsl_devices.h.

#define FSL_USB_VER_1_6   1

Definition at line 23 of file fsl_devices.h.

#define FSL_USB_VER_2_2   2

Definition at line 24 of file fsl_devices.h.

#define FSL_USB_VER_2_4   3

Definition at line 25 of file fsl_devices.h.

#define FSL_USB_VER_OLD   0

Definition at line 22 of file fsl_devices.h.

#define FSL_UTMI_PHY_DLY
Value:
10 /*As per P1010RM, delay for UTMI
PHY CLK to become stable - 10ms*/

Definition at line 20 of file fsl_devices.h.

#define SPI_CPM1   (1 << 2) /* SPI unit is in CPM1 block */

Definition at line 122 of file fsl_devices.h.

#define SPI_CPM2   (1 << 3) /* SPI unit is in CPM2 block */

Definition at line 123 of file fsl_devices.h.

#define SPI_CPM_MODE   (1 << 1) /* CPM/QE ("DMA") mode */

Definition at line 121 of file fsl_devices.h.

#define SPI_QE   (1 << 4) /* SPI unit is in QE block */

Definition at line 124 of file fsl_devices.h.

#define SPI_QE_CPU_MODE   (1 << 0) /* QE CPU ("PIO") mode */

Definition at line 120 of file fsl_devices.h.

Enumeration Type Documentation

Enumerator:
FSL_USB2_MPH_HOST 
FSL_USB2_DR_HOST 
FSL_USB2_DR_DEVICE 
FSL_USB2_DR_OTG 

Definition at line 53 of file fsl_devices.h.

Enumerator:
FSL_USB2_PHY_NONE 
FSL_USB2_PHY_ULPI 
FSL_USB2_PHY_UTMI 
FSL_USB2_PHY_UTMI_WIDE 
FSL_USB2_PHY_SERIAL 

Definition at line 60 of file fsl_devices.h.