Lines Matching refs:res

122 	int res;  in process_setupcmd()  local
134 res = miiphy_read(bus, addr, reg, &orig_data); in process_setupcmd()
135 if (res) in process_setupcmd()
143 res = miiphy_write(bus, addr, reg, data); in process_setupcmd()
146 res = miiphy_read(bus, addr, reg, &orig_data); in process_setupcmd()
147 if (res) in process_setupcmd()
150 res = -1; in process_setupcmd()
152 orig_data, res ? "FAIL" : "PASS"); in process_setupcmd()
155 res = -1; in process_setupcmd()
157 while ((res != 0) && (get_timer(start) < timeout)) { in process_setupcmd()
158 res = miiphy_read(bus, addr, reg, &orig_data); in process_setupcmd()
159 if (res) in process_setupcmd()
162 res = -1; in process_setupcmd()
165 mask, orig_data, res ? "FAIL" : "PASS", in process_setupcmd()
169 res = -1; in process_setupcmd()
173 return res; in process_setupcmd()
179 int res = 0; in process_setup() local
183 res = process_setupcmd(bus, addr, &setupcmd[k]); in process_setup()
184 if (res) { in process_setup()
191 return res; in process_setup()
196 int res; in setup_88e1518() local
198 res = process_setup(bus, addr, in setup_88e1518()
200 if (res) in setup_88e1518()
201 return res; in setup_88e1518()
203 res = process_setup(bus, addr, in setup_88e1518()
205 if (res) in setup_88e1518()
206 return res; in setup_88e1518()
208 res = process_setup(bus, addr, in setup_88e1518()
210 if (res) in setup_88e1518()
211 return res; in setup_88e1518()
214 res = process_setup(bus, addr, in setup_88e1518()
216 if (res) in setup_88e1518()
217 return res; in setup_88e1518()
220 res = process_setup(bus, addr, in setup_88e1518()
222 if (res) in setup_88e1518()
223 return res; in setup_88e1518()
230 int res; in setup_88e1514() local
232 res = process_setup(bus, addr, in setup_88e1514()
234 if (res) in setup_88e1514()
235 return res; in setup_88e1514()
237 res = process_setup(bus, addr, in setup_88e1514()
239 if (res) in setup_88e1514()
240 return res; in setup_88e1514()
242 res = process_setup(bus, addr, in setup_88e1514()
245 if (res) in setup_88e1514()
246 return res; in setup_88e1514()
248 res = process_setup(bus, addr, in setup_88e1514()
251 if (res) in setup_88e1514()
252 return res; in setup_88e1514()
254 res = process_setup(bus, addr, in setup_88e1514()
257 if (res) in setup_88e1514()
258 return res; in setup_88e1514()
260 res = process_setup(bus, addr, in setup_88e1514()
262 if (res) in setup_88e1514()
263 return res; in setup_88e1514()
266 res = process_setup(bus, addr, in setup_88e1514()
268 if (res) in setup_88e1514()
269 return res; in setup_88e1514()
272 res = process_setup(bus, addr, in setup_88e1514()
274 if (res) in setup_88e1514()
275 return res; in setup_88e1514()