Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
mv_u3d_phy.h File Reference

Go to the source code of this file.

Macros

#define USB3_POWER_PLL_CONTROL   0x1
 
#define USB3_KVCO_CALI_CONTROL   0x2
 
#define USB3_IMPEDANCE_CALI_CTRL   0x3
 
#define USB3_IMPEDANCE_TX_SSC   0x4
 
#define USB3_SQUELCH_FFE   0x6
 
#define USB3_GEN1_SET0   0xD
 
#define USB3_GEN2_SET0   0xF
 
#define USB3_GEN2_SET1   0x10
 
#define USB3_DIGITAL_LOOPBACK_EN   0x23
 
#define USB3_PHY_ISOLATION_MODE   0x26
 
#define USB3_TXDETRX   0x48
 
#define USB3_TX_EMPPH   0x5E
 
#define USB3_RESET_CONTROL   0x90
 
#define USB3_PIPE_SM_CTRL   0x91
 
#define USB3_RESET_CONTROL_RESET_PIPE   0x1
 
#define USB3_RESET_CONTROL_RESET_PHY   0x2
 
#define USB3_POWER_PLL_CONTROL_REF_FREF_SEL_MASK   (0x1F << 0)
 
#define USB3_POWER_PLL_CONTROL_REF_FREF_SEL_SHIFT   0
 
#define USB3_PLL_25MHZ   0x2
 
#define USB3_PLL_26MHZ   0x5
 
#define USB3_POWER_PLL_CONTROL_PHY_MODE_MASK   (0x7 << 5)
 
#define USB3_POWER_PLL_CONTROL_PHY_MODE_SHIFT   5
 
#define USB3_POWER_PLL_CONTROL_PU_MASK   (0xF << 12)
 
#define USB3_POWER_PLL_CONTROL_PU_SHIFT   12
 
#define USB3_POWER_PLL_CONTROL_PU   (0xF << 12)
 
#define USB3_KVCO_CALI_CONTROL_USE_MAX_PLL_RATE_MASK   (0x1 << 12)
 
#define USB3_KVCO_CALI_CONTROL_USE_MAX_PLL_RATE_SHIFT   12
 
#define USB3_KVCO_CALI_CONTROL_CAL_DONE_SHIFT   14
 
#define USB3_KVCO_CALI_CONTROL_CAL_START_SHIFT   15
 
#define USB3_SQUELCH_FFE_FFE_CAP_SEL_MASK   0xF
 
#define USB3_SQUELCH_FFE_FFE_CAP_SEL_SHIFT   0
 
#define USB3_SQUELCH_FFE_FFE_RES_SEL_MASK   (0x7 << 4)
 
#define USB3_SQUELCH_FFE_FFE_RES_SEL_SHIFT   4
 
#define USB3_SQUELCH_FFE_SQ_THRESH_IN_MASK   (0x1F << 8)
 
#define USB3_SQUELCH_FFE_SQ_THRESH_IN_SHIFT   8
 
#define USB3_GEN1_SET0_G1_TX_SLEW_CTRL_EN_MASK   (0x1 << 15)
 
#define USB3_GEN1_SET0_G1_TX_EMPH_EN_SHIFT   11
 
#define USB3_GEN2_SET0_G2_TX_AMP_MASK   (0x1F << 1)
 
#define USB3_GEN2_SET0_G2_TX_AMP_SHIFT   1
 
#define USB3_GEN2_SET0_G2_TX_AMP_ADJ_SHIFT   6
 
#define USB3_GEN2_SET0_G2_TX_EMPH_AMP_MASK   (0xF << 7)
 
#define USB3_GEN2_SET0_G2_TX_EMPH_AMP_SHIFT   7
 
#define USB3_GEN2_SET0_G2_TX_EMPH_EN_MASK   (0x1 << 11)
 
#define USB3_GEN2_SET0_G2_TX_EMPH_EN_SHIFT   11
 
#define USB3_GEN2_SET0_G2_TX_SLEW_CTRL_EN_MASK   (0x1 << 15)
 
#define USB3_GEN2_SET0_G2_TX_SLEW_CTRL_EN_SHIFT   15
 
#define USB3_GEN2_SET1_G2_RX_SELMUPI_MASK   (0x7 << 0)
 
#define USB3_GEN2_SET1_G2_RX_SELMUPI_SHIFT   0
 
#define USB3_GEN2_SET1_G2_RX_SELMUPF_MASK   (0x7 << 3)
 
#define USB3_GEN2_SET1_G2_RX_SELMUPF_SHIFT   3
 
#define USB3_GEN2_SET1_G2_RX_SELMUFI_MASK   (0x3 << 6)
 
#define USB3_GEN2_SET1_G2_RX_SELMUFI_SHIFT   6
 
#define USB3_GEN2_SET1_G2_RX_SELMUFF_MASK   (0x3 << 8)
 
#define USB3_GEN2_SET1_G2_RX_SELMUFF_SHIFT   8
 
#define USB3_DIGITAL_LOOPBACK_EN_SEL_BITS_MASK   (0x3 << 10)
 
#define USB3_DIGITAL_LOOPBACK_EN_SEL_BITS_SHIFT   10
 
#define USB3_IMPEDANCE_CALI_CTRL_IMP_CAL_THR_MASK   (0x7 << 12)
 
#define USB3_IMPEDANCE_CALI_CTRL_IMP_CAL_THR_SHIFT   12
 
#define USB3_IMPEDANCE_TX_SSC_SSC_AMP_MASK   (0x3F << 0)
 
#define USB3_IMPEDANCE_TX_SSC_SSC_AMP_SHIFT   0
 
#define USB3_PHY_ISOLATION_MODE_PHY_GEN_RX_MASK   0xF
 
#define USB3_PHY_ISOLATION_MODE_PHY_GEN_RX_SHIFT   0
 
#define USB3_PHY_ISOLATION_MODE_PHY_GEN_TX_MASK   (0xF << 4)
 
#define USB3_PHY_ISOLATION_MODE_PHY_GEN_TX_SHIFT   4
 
#define USB3_PHY_ISOLATION_MODE_TX_DRV_IDLE_MASK   (0x1 << 8)
 
#define USB3_TXDETRX_VTHSEL_MASK   (0x3 << 4)
 
#define USB3_TXDETRX_VTHSEL_SHIFT   4
 
#define USB3_TX_EMPPH_AMP_MASK   (0xF << 0)
 
#define USB3_TX_EMPPH_AMP_SHIFT   0
 
#define USB3_TX_EMPPH_EN_MASK   (0x1 << 6)
 
#define USB3_TX_EMPPH_EN_SHIFT   6
 
#define USB3_TX_EMPPH_AMP_FORCE_MASK   (0x1 << 7)
 
#define USB3_TX_EMPPH_AMP_FORCE_SHIFT   7
 
#define USB3_TX_EMPPH_PAR1_MASK   (0x1F << 8)
 
#define USB3_TX_EMPPH_PAR1_SHIFT   8
 
#define USB3_TX_EMPPH_PAR2_MASK   (0x1 << 13)
 
#define USB3_TX_EMPPH_PAR2_SHIFT   13
 
#define USB3_PIPE_SM_CTRL_PHY_INIT_DONE   15
 

Macro Definition Documentation

#define USB3_DIGITAL_LOOPBACK_EN   0x23

Definition at line 20 of file mv_u3d_phy.h.

#define USB3_DIGITAL_LOOPBACK_EN_SEL_BITS_MASK   (0x3 << 10)

Definition at line 74 of file mv_u3d_phy.h.

#define USB3_DIGITAL_LOOPBACK_EN_SEL_BITS_SHIFT   10

Definition at line 75 of file mv_u3d_phy.h.

#define USB3_GEN1_SET0   0xD

Definition at line 17 of file mv_u3d_phy.h.

#define USB3_GEN1_SET0_G1_TX_EMPH_EN_SHIFT   11

Definition at line 53 of file mv_u3d_phy.h.

#define USB3_GEN1_SET0_G1_TX_SLEW_CTRL_EN_MASK   (0x1 << 15)

Definition at line 52 of file mv_u3d_phy.h.

#define USB3_GEN2_SET0   0xF

Definition at line 18 of file mv_u3d_phy.h.

#define USB3_GEN2_SET0_G2_TX_AMP_ADJ_SHIFT   6

Definition at line 57 of file mv_u3d_phy.h.

#define USB3_GEN2_SET0_G2_TX_AMP_MASK   (0x1F << 1)

Definition at line 55 of file mv_u3d_phy.h.

#define USB3_GEN2_SET0_G2_TX_AMP_SHIFT   1

Definition at line 56 of file mv_u3d_phy.h.

#define USB3_GEN2_SET0_G2_TX_EMPH_AMP_MASK   (0xF << 7)

Definition at line 58 of file mv_u3d_phy.h.

#define USB3_GEN2_SET0_G2_TX_EMPH_AMP_SHIFT   7

Definition at line 59 of file mv_u3d_phy.h.

#define USB3_GEN2_SET0_G2_TX_EMPH_EN_MASK   (0x1 << 11)

Definition at line 60 of file mv_u3d_phy.h.

#define USB3_GEN2_SET0_G2_TX_EMPH_EN_SHIFT   11

Definition at line 61 of file mv_u3d_phy.h.

#define USB3_GEN2_SET0_G2_TX_SLEW_CTRL_EN_MASK   (0x1 << 15)

Definition at line 62 of file mv_u3d_phy.h.

#define USB3_GEN2_SET0_G2_TX_SLEW_CTRL_EN_SHIFT   15

Definition at line 63 of file mv_u3d_phy.h.

#define USB3_GEN2_SET1   0x10

Definition at line 19 of file mv_u3d_phy.h.

#define USB3_GEN2_SET1_G2_RX_SELMUFF_MASK   (0x3 << 8)

Definition at line 71 of file mv_u3d_phy.h.

#define USB3_GEN2_SET1_G2_RX_SELMUFF_SHIFT   8

Definition at line 72 of file mv_u3d_phy.h.

#define USB3_GEN2_SET1_G2_RX_SELMUFI_MASK   (0x3 << 6)

Definition at line 69 of file mv_u3d_phy.h.

#define USB3_GEN2_SET1_G2_RX_SELMUFI_SHIFT   6

Definition at line 70 of file mv_u3d_phy.h.

#define USB3_GEN2_SET1_G2_RX_SELMUPF_MASK   (0x7 << 3)

Definition at line 67 of file mv_u3d_phy.h.

#define USB3_GEN2_SET1_G2_RX_SELMUPF_SHIFT   3

Definition at line 68 of file mv_u3d_phy.h.

#define USB3_GEN2_SET1_G2_RX_SELMUPI_MASK   (0x7 << 0)

Definition at line 65 of file mv_u3d_phy.h.

#define USB3_GEN2_SET1_G2_RX_SELMUPI_SHIFT   0

Definition at line 66 of file mv_u3d_phy.h.

#define USB3_IMPEDANCE_CALI_CTRL   0x3

Definition at line 14 of file mv_u3d_phy.h.

#define USB3_IMPEDANCE_CALI_CTRL_IMP_CAL_THR_MASK   (0x7 << 12)

Definition at line 77 of file mv_u3d_phy.h.

#define USB3_IMPEDANCE_CALI_CTRL_IMP_CAL_THR_SHIFT   12

Definition at line 78 of file mv_u3d_phy.h.

#define USB3_IMPEDANCE_TX_SSC   0x4

Definition at line 15 of file mv_u3d_phy.h.

#define USB3_IMPEDANCE_TX_SSC_SSC_AMP_MASK   (0x3F << 0)

Definition at line 80 of file mv_u3d_phy.h.

#define USB3_IMPEDANCE_TX_SSC_SSC_AMP_SHIFT   0

Definition at line 81 of file mv_u3d_phy.h.

#define USB3_KVCO_CALI_CONTROL   0x2

Definition at line 13 of file mv_u3d_phy.h.

#define USB3_KVCO_CALI_CONTROL_CAL_DONE_SHIFT   14

Definition at line 42 of file mv_u3d_phy.h.

#define USB3_KVCO_CALI_CONTROL_CAL_START_SHIFT   15

Definition at line 43 of file mv_u3d_phy.h.

#define USB3_KVCO_CALI_CONTROL_USE_MAX_PLL_RATE_MASK   (0x1 << 12)

Definition at line 40 of file mv_u3d_phy.h.

#define USB3_KVCO_CALI_CONTROL_USE_MAX_PLL_RATE_SHIFT   12

Definition at line 41 of file mv_u3d_phy.h.

#define USB3_PHY_ISOLATION_MODE   0x26

Definition at line 21 of file mv_u3d_phy.h.

#define USB3_PHY_ISOLATION_MODE_PHY_GEN_RX_MASK   0xF

Definition at line 83 of file mv_u3d_phy.h.

#define USB3_PHY_ISOLATION_MODE_PHY_GEN_RX_SHIFT   0

Definition at line 84 of file mv_u3d_phy.h.

#define USB3_PHY_ISOLATION_MODE_PHY_GEN_TX_MASK   (0xF << 4)

Definition at line 85 of file mv_u3d_phy.h.

#define USB3_PHY_ISOLATION_MODE_PHY_GEN_TX_SHIFT   4

Definition at line 86 of file mv_u3d_phy.h.

#define USB3_PHY_ISOLATION_MODE_TX_DRV_IDLE_MASK   (0x1 << 8)

Definition at line 87 of file mv_u3d_phy.h.

#define USB3_PIPE_SM_CTRL   0x91

Definition at line 25 of file mv_u3d_phy.h.

#define USB3_PIPE_SM_CTRL_PHY_INIT_DONE   15

Definition at line 103 of file mv_u3d_phy.h.

#define USB3_PLL_25MHZ   0x2

Definition at line 32 of file mv_u3d_phy.h.

#define USB3_PLL_26MHZ   0x5

Definition at line 33 of file mv_u3d_phy.h.

#define USB3_POWER_PLL_CONTROL   0x1

Definition at line 12 of file mv_u3d_phy.h.

#define USB3_POWER_PLL_CONTROL_PHY_MODE_MASK   (0x7 << 5)

Definition at line 34 of file mv_u3d_phy.h.

#define USB3_POWER_PLL_CONTROL_PHY_MODE_SHIFT   5

Definition at line 35 of file mv_u3d_phy.h.

#define USB3_POWER_PLL_CONTROL_PU   (0xF << 12)

Definition at line 38 of file mv_u3d_phy.h.

#define USB3_POWER_PLL_CONTROL_PU_MASK   (0xF << 12)

Definition at line 36 of file mv_u3d_phy.h.

#define USB3_POWER_PLL_CONTROL_PU_SHIFT   12

Definition at line 37 of file mv_u3d_phy.h.

#define USB3_POWER_PLL_CONTROL_REF_FREF_SEL_MASK   (0x1F << 0)

Definition at line 30 of file mv_u3d_phy.h.

#define USB3_POWER_PLL_CONTROL_REF_FREF_SEL_SHIFT   0

Definition at line 31 of file mv_u3d_phy.h.

#define USB3_RESET_CONTROL   0x90

Definition at line 24 of file mv_u3d_phy.h.

#define USB3_RESET_CONTROL_RESET_PHY   0x2

Definition at line 28 of file mv_u3d_phy.h.

#define USB3_RESET_CONTROL_RESET_PIPE   0x1

Definition at line 27 of file mv_u3d_phy.h.

#define USB3_SQUELCH_FFE   0x6

Definition at line 16 of file mv_u3d_phy.h.

#define USB3_SQUELCH_FFE_FFE_CAP_SEL_MASK   0xF

Definition at line 45 of file mv_u3d_phy.h.

#define USB3_SQUELCH_FFE_FFE_CAP_SEL_SHIFT   0

Definition at line 46 of file mv_u3d_phy.h.

#define USB3_SQUELCH_FFE_FFE_RES_SEL_MASK   (0x7 << 4)

Definition at line 47 of file mv_u3d_phy.h.

#define USB3_SQUELCH_FFE_FFE_RES_SEL_SHIFT   4

Definition at line 48 of file mv_u3d_phy.h.

#define USB3_SQUELCH_FFE_SQ_THRESH_IN_MASK   (0x1F << 8)

Definition at line 49 of file mv_u3d_phy.h.

#define USB3_SQUELCH_FFE_SQ_THRESH_IN_SHIFT   8

Definition at line 50 of file mv_u3d_phy.h.

#define USB3_TX_EMPPH   0x5E

Definition at line 23 of file mv_u3d_phy.h.

#define USB3_TX_EMPPH_AMP_FORCE_MASK   (0x1 << 7)

Definition at line 96 of file mv_u3d_phy.h.

#define USB3_TX_EMPPH_AMP_FORCE_SHIFT   7

Definition at line 97 of file mv_u3d_phy.h.

#define USB3_TX_EMPPH_AMP_MASK   (0xF << 0)

Definition at line 92 of file mv_u3d_phy.h.

#define USB3_TX_EMPPH_AMP_SHIFT   0

Definition at line 93 of file mv_u3d_phy.h.

#define USB3_TX_EMPPH_EN_MASK   (0x1 << 6)

Definition at line 94 of file mv_u3d_phy.h.

#define USB3_TX_EMPPH_EN_SHIFT   6

Definition at line 95 of file mv_u3d_phy.h.

#define USB3_TX_EMPPH_PAR1_MASK   (0x1F << 8)

Definition at line 98 of file mv_u3d_phy.h.

#define USB3_TX_EMPPH_PAR1_SHIFT   8

Definition at line 99 of file mv_u3d_phy.h.

#define USB3_TX_EMPPH_PAR2_MASK   (0x1 << 13)

Definition at line 100 of file mv_u3d_phy.h.

#define USB3_TX_EMPPH_PAR2_SHIFT   13

Definition at line 101 of file mv_u3d_phy.h.

#define USB3_TXDETRX   0x48

Definition at line 22 of file mv_u3d_phy.h.

#define USB3_TXDETRX_VTHSEL_MASK   (0x3 << 4)

Definition at line 89 of file mv_u3d_phy.h.

#define USB3_TXDETRX_VTHSEL_SHIFT   4

Definition at line 90 of file mv_u3d_phy.h.