Lines Matching defs:n
20 #define MVEBU_COMPHY_SERDES_CFG0(n) (0x0 + (n) * 0x1000) argument
22 #define MVEBU_COMPHY_SERDES_CFG0_GEN_RX(n) ((n) << 3) argument
23 #define MVEBU_COMPHY_SERDES_CFG0_GEN_TX(n) ((n) << 7) argument
28 #define MVEBU_COMPHY_SERDES_CFG1(n) (0x4 + (n) * 0x1000) argument
33 #define MVEBU_COMPHY_SERDES_CFG2(n) (0x8 + (n) * 0x1000) argument
35 #define MVEBU_COMPHY_SERDES_STATUS0(n) (0x18 + (n) * 0x1000) argument
39 #define MVEBU_COMPHY_PWRPLL_CTRL(n) (0x804 + (n) * 0x1000) argument
40 #define MVEBU_COMPHY_PWRPLL_CTRL_RFREQ(n) ((n) << 0) argument
41 #define MVEBU_COMPHY_PWRPLL_PHY_MODE(n) ((n) << 5) argument
42 #define MVEBU_COMPHY_IMP_CAL(n) (0x80c + (n) * 0x1000) argument
43 #define MVEBU_COMPHY_IMP_CAL_TX_EXT(n) ((n) << 10) argument
45 #define MVEBU_COMPHY_DFE_RES(n) (0x81c + (n) * 0x1000) argument
47 #define MVEBU_COMPHY_COEF(n) (0x828 + (n) * 0x1000) argument
50 #define MVEBU_COMPHY_GEN1_S0(n) (0x834 + (n) * 0x1000) argument
51 #define MVEBU_COMPHY_GEN1_S0_TX_AMP(n) ((n) << 1) argument
52 #define MVEBU_COMPHY_GEN1_S0_TX_EMPH(n) ((n) << 7) argument
53 #define MVEBU_COMPHY_GEN1_S1(n) (0x838 + (n) * 0x1000) argument
54 #define MVEBU_COMPHY_GEN1_S1_RX_MUL_PI(n) ((n) << 0) argument
55 #define MVEBU_COMPHY_GEN1_S1_RX_MUL_PF(n) ((n) << 3) argument
56 #define MVEBU_COMPHY_GEN1_S1_RX_MUL_FI(n) ((n) << 6) argument
57 #define MVEBU_COMPHY_GEN1_S1_RX_MUL_FF(n) ((n) << 8) argument
59 #define MVEBU_COMPHY_GEN1_S1_RX_DIV(n) ((n) << 11) argument
60 #define MVEBU_COMPHY_GEN1_S2(n) (0x8f4 + (n) * 0x1000) argument
61 #define MVEBU_COMPHY_GEN1_S2_TX_EMPH(n) ((n) << 0) argument
63 #define MVEBU_COMPHY_LOOPBACK(n) (0x88c + (n) * 0x1000) argument
64 #define MVEBU_COMPHY_LOOPBACK_DBUS_WIDTH(n) ((n) << 1) argument
65 #define MVEBU_COMPHY_VDD_CAL0(n) (0x908 + (n) * 0x1000) argument
67 #define MVEBU_COMPHY_EXT_SELV(n) (0x914 + (n) * 0x1000) argument
68 #define MVEBU_COMPHY_EXT_SELV_RX_SAMPL(n) ((n) << 5) argument
69 #define MVEBU_COMPHY_MISC_CTRL0(n) (0x93c + (n) * 0x1000) argument
72 #define MVEBU_COMPHY_RX_CTRL1(n) (0x940 + (n) * 0x1000) argument
75 #define MVEBU_COMPHY_SPEED_DIV(n) (0x954 + (n) * 0x1000) argument
77 #define MVEBU_SP_CALIB(n) (0x96c + (n) * 0x1000) argument
78 #define MVEBU_SP_CALIB_SAMPLER(n) ((n) << 8) argument
80 #define MVEBU_COMPHY_TX_SLEW_RATE(n) (0x974 + (n) * 0x1000) argument
81 #define MVEBU_COMPHY_TX_SLEW_RATE_EMPH(n) ((n) << 5) argument
82 #define MVEBU_COMPHY_TX_SLEW_RATE_SLC(n) ((n) << 10) argument
83 #define MVEBU_COMPHY_DTL_CTRL(n) (0x984 + (n) * 0x1000) argument
85 #define MVEBU_COMPHY_FRAME_DETECT0(n) (0xa14 + (n) * 0x1000) argument
86 #define MVEBU_COMPHY_FRAME_DETECT0_PATN(n) ((n) << 7) argument
87 #define MVEBU_COMPHY_FRAME_DETECT3(n) (0xa20 + (n) * 0x1000) argument
89 #define MVEBU_COMPHY_DME(n) (0xa28 + (n) * 0x1000) argument
91 #define MVEBU_COMPHY_TRAINING0(n) (0xa68 + (n) * 0x1000) argument
93 #define MVEBU_COMPHY_TRAINING5(n) (0xaa4 + (n) * 0x1000) argument
94 #define MVEBU_COMPHY_TRAINING5_RX_TIMER(n) ((n) << 0) argument
95 #define MVEBU_COMPHY_TX_TRAIN_PRESET(n) (0xb1c + (n) * 0x1000) argument
98 #define MVEBU_COMPHY_GEN1_S3(n) (0xc40 + (n) * 0x1000) argument
100 #define MVEBU_COMPHY_GEN1_S4(n) (0xc44 + (n) * 0x1000) argument
101 #define MVEBU_COMPHY_GEN1_S4_DFE_RES(n) ((n) << 8) argument
102 #define MVEBU_COMPHY_TX_PRESET(n) (0xc68 + (n) * 0x1000) argument
103 #define MVEBU_COMPHY_TX_PRESET_INDEX(n) ((n) << 0) argument
104 #define MVEBU_COMPHY_GEN1_S5(n) (0xd38 + (n) * 0x1000) argument
105 #define MVEBU_COMPHY_GEN1_S5_ICP(n) ((n) << 0) argument
108 #define MVEBU_COMPHY_CONF1(n) (0x1000 + (n) * 0x28) argument
111 #define MVEBU_COMPHY_CONF6(n) (0x1014 + (n) * 0x28) argument
114 #define MVEBU_COMPHY_SELECTOR_PHY(n) ((n) * 0x4) argument
116 #define MVEBU_COMPHY_PIPE_SELECTOR_PIPE(n) ((n) * 0x4) argument
297 int i, n = ARRAY_SIZE(mvebu_comphy_cp110_modes); in mvebu_comphy_get_mode() local