Lines Matching refs:tmp
95 u32 tmp; in fsl_serdes_init() local
115 tmp = in_be32(sd + FSL_SRDSCR0_OFFS); in fsl_serdes_init()
116 tmp &= ~FSL_SRDSCR0_TXEQA_MASK; in fsl_serdes_init()
117 tmp |= FSL_SRDSCR0_TXEQA_SATA; in fsl_serdes_init()
118 tmp &= ~FSL_SRDSCR0_TXEQE_MASK; in fsl_serdes_init()
119 tmp |= FSL_SRDSCR0_TXEQE_SATA; in fsl_serdes_init()
120 out_be32(sd + FSL_SRDSCR0_OFFS, tmp); in fsl_serdes_init()
122 tmp = in_be32(sd + FSL_SRDSCR1_OFFS); in fsl_serdes_init()
123 tmp &= ~FSL_SRDSCR1_LANEA_MASK; in fsl_serdes_init()
124 tmp &= ~FSL_SRDSCR1_LANEE_MASK; in fsl_serdes_init()
125 out_be32(sd + FSL_SRDSCR1_OFFS, tmp); in fsl_serdes_init()
127 tmp = in_be32(sd + FSL_SRDSCR2_OFFS); in fsl_serdes_init()
128 tmp &= ~FSL_SRDSCR2_EICA_MASK; in fsl_serdes_init()
129 tmp |= FSL_SRDSCR2_EICA_SATA; in fsl_serdes_init()
130 tmp &= ~FSL_SRDSCR2_EICE_MASK; in fsl_serdes_init()
131 tmp |= FSL_SRDSCR2_EICE_SATA; in fsl_serdes_init()
132 out_be32(sd + FSL_SRDSCR2_OFFS, tmp); in fsl_serdes_init()
134 tmp = in_be32(sd + FSL_SRDSCR3_OFFS); in fsl_serdes_init()
135 tmp &= ~FSL_SRDSCR3_LANEA_MASK; in fsl_serdes_init()
136 tmp |= FSL_SRDSCR3_LANEA_SATA; in fsl_serdes_init()
137 tmp &= ~FSL_SRDSCR3_LANEE_MASK; in fsl_serdes_init()
138 tmp |= FSL_SRDSCR3_LANEE_SATA; in fsl_serdes_init()
139 out_be32(sd + FSL_SRDSCR3_OFFS, tmp); in fsl_serdes_init()
143 tmp = in_be32(sd + FSL_SRDSCR0_OFFS); in fsl_serdes_init()
144 tmp &= ~FSL_SRDSCR0_TXEQA_MASK; in fsl_serdes_init()
145 tmp |= FSL_SRDSCR0_TXEQA_SATA; in fsl_serdes_init()
146 out_be32(sd + FSL_SRDSCR0_OFFS, tmp); in fsl_serdes_init()
148 tmp = in_be32(sd + FSL_SRDSCR1_OFFS); in fsl_serdes_init()
149 tmp &= ~FSL_SRDSCR1_LANEE_MASK; in fsl_serdes_init()
150 tmp |= FSL_SRDSCR1_LANEE_OFF; in fsl_serdes_init()
151 out_be32(sd + FSL_SRDSCR1_OFFS, tmp); in fsl_serdes_init()
153 tmp = in_be32(sd + FSL_SRDSCR2_OFFS); in fsl_serdes_init()
154 tmp &= ~FSL_SRDSCR2_EICA_MASK; in fsl_serdes_init()
155 tmp |= FSL_SRDSCR2_EICA_SATA; in fsl_serdes_init()
156 out_be32(sd + FSL_SRDSCR2_OFFS, tmp); in fsl_serdes_init()
158 tmp = in_be32(sd + FSL_SRDSCR3_OFFS); in fsl_serdes_init()
159 tmp &= ~FSL_SRDSCR3_LANEA_MASK; in fsl_serdes_init()
160 tmp |= FSL_SRDSCR3_LANEA_SATA; in fsl_serdes_init()
161 out_be32(sd + FSL_SRDSCR3_OFFS, tmp); in fsl_serdes_init()
165 tmp = in_be32(sd + FSL_SRDSCR0_OFFS); in fsl_serdes_init()
166 tmp &= ~FSL_SRDSCR0_TXEQA_MASK; in fsl_serdes_init()
167 tmp |= FSL_SRDSCR0_TXEQA_SGMII; in fsl_serdes_init()
168 tmp &= ~FSL_SRDSCR0_TXEQE_MASK; in fsl_serdes_init()
169 tmp |= FSL_SRDSCR0_TXEQE_SGMII; in fsl_serdes_init()
170 out_be32(sd + FSL_SRDSCR0_OFFS, tmp); in fsl_serdes_init()
172 tmp = in_be32(sd + FSL_SRDSCR1_OFFS); in fsl_serdes_init()
173 tmp &= ~FSL_SRDSCR1_LANEA_MASK; in fsl_serdes_init()
174 tmp &= ~FSL_SRDSCR1_LANEE_MASK; in fsl_serdes_init()
175 out_be32(sd + FSL_SRDSCR1_OFFS, tmp); in fsl_serdes_init()
177 tmp = in_be32(sd + FSL_SRDSCR2_OFFS); in fsl_serdes_init()
178 tmp &= ~FSL_SRDSCR2_EICA_MASK; in fsl_serdes_init()
179 tmp |= FSL_SRDSCR2_EICA_SGMII; in fsl_serdes_init()
180 tmp &= ~FSL_SRDSCR2_EICE_MASK; in fsl_serdes_init()
181 tmp |= FSL_SRDSCR2_EICE_SGMII; in fsl_serdes_init()
182 out_be32(sd + FSL_SRDSCR2_OFFS, tmp); in fsl_serdes_init()
184 tmp = in_be32(sd + FSL_SRDSCR3_OFFS); in fsl_serdes_init()
185 tmp &= ~FSL_SRDSCR3_LANEA_MASK; in fsl_serdes_init()
186 tmp |= FSL_SRDSCR3_LANEA_SGMII; in fsl_serdes_init()
187 tmp &= ~FSL_SRDSCR3_LANEE_MASK; in fsl_serdes_init()
188 tmp |= FSL_SRDSCR3_LANEE_SGMII; in fsl_serdes_init()
189 out_be32(sd + FSL_SRDSCR3_OFFS, tmp); in fsl_serdes_init()
193 tmp = in_be32(sd + FSL_SRDSCR0_OFFS); in fsl_serdes_init()
194 tmp &= ~FSL_SRDSCR0_TXEQA_MASK; in fsl_serdes_init()
195 tmp |= FSL_SRDSCR0_TXEQA_SGMII; in fsl_serdes_init()
196 out_be32(sd + FSL_SRDSCR0_OFFS, tmp); in fsl_serdes_init()
198 tmp = in_be32(sd + FSL_SRDSCR1_OFFS); in fsl_serdes_init()
199 tmp &= ~FSL_SRDSCR1_LANEE_MASK; in fsl_serdes_init()
200 tmp |= FSL_SRDSCR1_LANEE_OFF; in fsl_serdes_init()
201 out_be32(sd + FSL_SRDSCR1_OFFS, tmp); in fsl_serdes_init()
203 tmp = in_be32(sd + FSL_SRDSCR2_OFFS); in fsl_serdes_init()
204 tmp &= ~FSL_SRDSCR2_EICA_MASK; in fsl_serdes_init()
205 tmp |= FSL_SRDSCR2_EICA_SGMII; in fsl_serdes_init()
206 out_be32(sd + FSL_SRDSCR2_OFFS, tmp); in fsl_serdes_init()
208 tmp = in_be32(sd + FSL_SRDSCR3_OFFS); in fsl_serdes_init()
209 tmp &= ~FSL_SRDSCR3_LANEA_MASK; in fsl_serdes_init()
210 tmp |= FSL_SRDSCR3_LANEA_SGMII; in fsl_serdes_init()
211 out_be32(sd + FSL_SRDSCR3_OFFS, tmp); in fsl_serdes_init()
215 tmp = in_be32(sd + FSL_SRDSCR1_OFFS); in fsl_serdes_init()
216 tmp &= ~FSL_SRDSCR1_LANEA_MASK; in fsl_serdes_init()
217 tmp |= FSL_SRDSCR1_LANEA_OFF; in fsl_serdes_init()
218 tmp &= ~FSL_SRDSCR1_LANEE_MASK; in fsl_serdes_init()
219 tmp |= FSL_SRDSCR1_LANEE_OFF; in fsl_serdes_init()
220 out_be32(sd + FSL_SRDSCR1_OFFS, tmp); in fsl_serdes_init()