Lines Matching defs:n
21 #define MVEBU_COMPHY_SERDES_CFG0(n) (0x0 + (n) * 0x1000) argument
23 #define MVEBU_COMPHY_SERDES_CFG0_GEN_RX(n) ((n) << 3) argument
24 #define MVEBU_COMPHY_SERDES_CFG0_GEN_TX(n) ((n) << 7) argument
29 #define MVEBU_COMPHY_SERDES_CFG1(n) (0x4 + (n) * 0x1000) argument
34 #define MVEBU_COMPHY_SERDES_CFG2(n) (0x8 + (n) * 0x1000) argument
36 #define MVEBU_COMPHY_SERDES_STATUS0(n) (0x18 + (n) * 0x1000) argument
40 #define MVEBU_COMPHY_PWRPLL_CTRL(n) (0x804 + (n) * 0x1000) argument
41 #define MVEBU_COMPHY_PWRPLL_CTRL_RFREQ(n) ((n) << 0) argument
42 #define MVEBU_COMPHY_PWRPLL_PHY_MODE(n) ((n) << 5) argument
43 #define MVEBU_COMPHY_IMP_CAL(n) (0x80c + (n) * 0x1000) argument
44 #define MVEBU_COMPHY_IMP_CAL_TX_EXT(n) ((n) << 10) argument
46 #define MVEBU_COMPHY_DFE_RES(n) (0x81c + (n) * 0x1000) argument
48 #define MVEBU_COMPHY_COEF(n) (0x828 + (n) * 0x1000) argument
51 #define MVEBU_COMPHY_GEN1_S0(n) (0x834 + (n) * 0x1000) argument
52 #define MVEBU_COMPHY_GEN1_S0_TX_AMP(n) ((n) << 1) argument
53 #define MVEBU_COMPHY_GEN1_S0_TX_EMPH(n) ((n) << 7) argument
54 #define MVEBU_COMPHY_GEN1_S1(n) (0x838 + (n) * 0x1000) argument
55 #define MVEBU_COMPHY_GEN1_S1_RX_MUL_PI(n) ((n) << 0) argument
56 #define MVEBU_COMPHY_GEN1_S1_RX_MUL_PF(n) ((n) << 3) argument
57 #define MVEBU_COMPHY_GEN1_S1_RX_MUL_FI(n) ((n) << 6) argument
58 #define MVEBU_COMPHY_GEN1_S1_RX_MUL_FF(n) ((n) << 8) argument
60 #define MVEBU_COMPHY_GEN1_S1_RX_DIV(n) ((n) << 11) argument
61 #define MVEBU_COMPHY_GEN1_S2(n) (0x8f4 + (n) * 0x1000) argument
62 #define MVEBU_COMPHY_GEN1_S2_TX_EMPH(n) ((n) << 0) argument
64 #define MVEBU_COMPHY_LOOPBACK(n) (0x88c + (n) * 0x1000) argument
65 #define MVEBU_COMPHY_LOOPBACK_DBUS_WIDTH(n) ((n) << 1) argument
66 #define MVEBU_COMPHY_VDD_CAL0(n) (0x908 + (n) * 0x1000) argument
68 #define MVEBU_COMPHY_EXT_SELV(n) (0x914 + (n) * 0x1000) argument
69 #define MVEBU_COMPHY_EXT_SELV_RX_SAMPL(n) ((n) << 5) argument
70 #define MVEBU_COMPHY_MISC_CTRL0(n) (0x93c + (n) * 0x1000) argument
73 #define MVEBU_COMPHY_RX_CTRL1(n) (0x940 + (n) * 0x1000) argument
76 #define MVEBU_COMPHY_SPEED_DIV(n) (0x954 + (n) * 0x1000) argument
78 #define MVEBU_SP_CALIB(n) (0x96c + (n) * 0x1000) argument
79 #define MVEBU_SP_CALIB_SAMPLER(n) ((n) << 8) argument
81 #define MVEBU_COMPHY_TX_SLEW_RATE(n) (0x974 + (n) * 0x1000) argument
82 #define MVEBU_COMPHY_TX_SLEW_RATE_EMPH(n) ((n) << 5) argument
83 #define MVEBU_COMPHY_TX_SLEW_RATE_SLC(n) ((n) << 10) argument
84 #define MVEBU_COMPHY_DTL_CTRL(n) (0x984 + (n) * 0x1000) argument
86 #define MVEBU_COMPHY_FRAME_DETECT0(n) (0xa14 + (n) * 0x1000) argument
87 #define MVEBU_COMPHY_FRAME_DETECT0_PATN(n) ((n) << 7) argument
88 #define MVEBU_COMPHY_FRAME_DETECT3(n) (0xa20 + (n) * 0x1000) argument
90 #define MVEBU_COMPHY_DME(n) (0xa28 + (n) * 0x1000) argument
92 #define MVEBU_COMPHY_TRAINING0(n) (0xa68 + (n) * 0x1000) argument
94 #define MVEBU_COMPHY_TRAINING5(n) (0xaa4 + (n) * 0x1000) argument
95 #define MVEBU_COMPHY_TRAINING5_RX_TIMER(n) ((n) << 0) argument
96 #define MVEBU_COMPHY_TX_TRAIN_PRESET(n) (0xb1c + (n) * 0x1000) argument
99 #define MVEBU_COMPHY_GEN1_S3(n) (0xc40 + (n) * 0x1000) argument
101 #define MVEBU_COMPHY_GEN1_S4(n) (0xc44 + (n) * 0x1000) argument
102 #define MVEBU_COMPHY_GEN1_S4_DFE_RES(n) ((n) << 8) argument
103 #define MVEBU_COMPHY_TX_PRESET(n) (0xc68 + (n) * 0x1000) argument
104 #define MVEBU_COMPHY_TX_PRESET_INDEX(n) ((n) << 0) argument
105 #define MVEBU_COMPHY_GEN1_S5(n) (0xd38 + (n) * 0x1000) argument
106 #define MVEBU_COMPHY_GEN1_S5_ICP(n) ((n) << 0) argument
109 #define MVEBU_COMPHY_CONF1(n) (0x1000 + (n) * 0x28) argument
112 #define MVEBU_COMPHY_CONF6(n) (0x1014 + (n) * 0x28) argument
115 #define MVEBU_COMPHY_SELECTOR_PHY(n) ((n) * 0x4) argument
117 #define MVEBU_COMPHY_PIPE_SELECTOR_PIPE(n) ((n) * 0x4) argument
298 int i, n = ARRAY_SIZE(mvebu_comphy_cp110_modes); in mvebu_comphy_get_mode() local