• Home
  • Raw
  • Download

Lines Matching refs:r

77 	int r;  in zd1211b_al7230b_finalize()  local
86 r = zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); in zd1211b_al7230b_finalize()
87 if (r) in zd1211b_al7230b_finalize()
88 return r; in zd1211b_al7230b_finalize()
92 r = zd_iowrite16_locked(chip, 0xe5, ZD_CR9); in zd1211b_al7230b_finalize()
93 if (r) in zd1211b_al7230b_finalize()
94 return r; in zd1211b_al7230b_finalize()
102 int r; in zd1211_al7230b_init_hw() local
171 r = zd_iowrite16a_locked(chip, ioreqs_1, ARRAY_SIZE(ioreqs_1)); in zd1211_al7230b_init_hw()
172 if (r) in zd1211_al7230b_init_hw()
173 return r; in zd1211_al7230b_init_hw()
175 r = zd_rfwritev_cr_locked(chip, chan_rv[0], ARRAY_SIZE(chan_rv[0])); in zd1211_al7230b_init_hw()
176 if (r) in zd1211_al7230b_init_hw()
177 return r; in zd1211_al7230b_init_hw()
179 r = zd_rfwritev_cr_locked(chip, std_rv, ARRAY_SIZE(std_rv)); in zd1211_al7230b_init_hw()
180 if (r) in zd1211_al7230b_init_hw()
181 return r; in zd1211_al7230b_init_hw()
183 r = zd_rfwritev_cr_locked(chip, rv_init1, ARRAY_SIZE(rv_init1)); in zd1211_al7230b_init_hw()
184 if (r) in zd1211_al7230b_init_hw()
185 return r; in zd1211_al7230b_init_hw()
187 r = zd_iowrite16a_locked(chip, ioreqs_2, ARRAY_SIZE(ioreqs_2)); in zd1211_al7230b_init_hw()
188 if (r) in zd1211_al7230b_init_hw()
189 return r; in zd1211_al7230b_init_hw()
191 r = zd_rfwritev_cr_locked(chip, rv_init2, ARRAY_SIZE(rv_init2)); in zd1211_al7230b_init_hw()
192 if (r) in zd1211_al7230b_init_hw()
193 return r; in zd1211_al7230b_init_hw()
195 r = zd_iowrite16_locked(chip, 0x06, ZD_CR203); in zd1211_al7230b_init_hw()
196 if (r) in zd1211_al7230b_init_hw()
197 return r; in zd1211_al7230b_init_hw()
198 r = zd_iowrite16_locked(chip, 0x80, ZD_CR240); in zd1211_al7230b_init_hw()
199 if (r) in zd1211_al7230b_init_hw()
200 return r; in zd1211_al7230b_init_hw()
207 int r; in zd1211b_al7230b_init_hw() local
286 r = zd_iowrite16a_locked(chip, ioreqs_1, ARRAY_SIZE(ioreqs_1)); in zd1211b_al7230b_init_hw()
287 if (r) in zd1211b_al7230b_init_hw()
288 return r; in zd1211b_al7230b_init_hw()
291 r = zd_iowrite16a_locked(chip, ioreqs_new_phy, in zd1211b_al7230b_init_hw()
294 r = zd_iowrite16a_locked(chip, ioreqs_old_phy, in zd1211b_al7230b_init_hw()
296 if (r) in zd1211b_al7230b_init_hw()
297 return r; in zd1211b_al7230b_init_hw()
299 r = zd_iowrite16a_locked(chip, ioreqs_2, ARRAY_SIZE(ioreqs_2)); in zd1211b_al7230b_init_hw()
300 if (r) in zd1211b_al7230b_init_hw()
301 return r; in zd1211b_al7230b_init_hw()
303 r = zd_rfwritev_cr_locked(chip, chan_rv[0], ARRAY_SIZE(chan_rv[0])); in zd1211b_al7230b_init_hw()
304 if (r) in zd1211b_al7230b_init_hw()
305 return r; in zd1211b_al7230b_init_hw()
307 r = zd_rfwritev_cr_locked(chip, std_rv, ARRAY_SIZE(std_rv)); in zd1211b_al7230b_init_hw()
308 if (r) in zd1211b_al7230b_init_hw()
309 return r; in zd1211b_al7230b_init_hw()
311 r = zd_rfwritev_cr_locked(chip, rv_init1, ARRAY_SIZE(rv_init1)); in zd1211b_al7230b_init_hw()
312 if (r) in zd1211b_al7230b_init_hw()
313 return r; in zd1211b_al7230b_init_hw()
315 r = zd_iowrite16a_locked(chip, ioreqs_3, ARRAY_SIZE(ioreqs_3)); in zd1211b_al7230b_init_hw()
316 if (r) in zd1211b_al7230b_init_hw()
317 return r; in zd1211b_al7230b_init_hw()
319 r = zd_rfwritev_cr_locked(chip, rv_init2, ARRAY_SIZE(rv_init2)); in zd1211b_al7230b_init_hw()
320 if (r) in zd1211b_al7230b_init_hw()
321 return r; in zd1211b_al7230b_init_hw()
328 int r; in zd1211_al7230b_set_channel() local
338 r = zd_iowrite16_locked(chip, 0x57, ZD_CR240); in zd1211_al7230b_set_channel()
339 if (r) in zd1211_al7230b_set_channel()
340 return r; in zd1211_al7230b_set_channel()
343 r = zd_iowrite16_locked(chip, 0x2f, ZD_CR251); in zd1211_al7230b_set_channel()
344 if (r) in zd1211_al7230b_set_channel()
345 return r; in zd1211_al7230b_set_channel()
347 r = zd_rfwritev_cr_locked(chip, std_rv, ARRAY_SIZE(std_rv)); in zd1211_al7230b_set_channel()
348 if (r) in zd1211_al7230b_set_channel()
349 return r; in zd1211_al7230b_set_channel()
351 r = zd_rfwrite_cr_locked(chip, 0x3c9000); in zd1211_al7230b_set_channel()
352 if (r) in zd1211_al7230b_set_channel()
353 return r; in zd1211_al7230b_set_channel()
354 r = zd_rfwrite_cr_locked(chip, 0xf15d58); in zd1211_al7230b_set_channel()
355 if (r) in zd1211_al7230b_set_channel()
356 return r; in zd1211_al7230b_set_channel()
358 r = zd_iowrite16a_locked(chip, ioreqs_sw, ARRAY_SIZE(ioreqs_sw)); in zd1211_al7230b_set_channel()
359 if (r) in zd1211_al7230b_set_channel()
360 return r; in zd1211_al7230b_set_channel()
362 r = zd_rfwritev_cr_locked(chip, rv, 2); in zd1211_al7230b_set_channel()
363 if (r) in zd1211_al7230b_set_channel()
364 return r; in zd1211_al7230b_set_channel()
366 r = zd_rfwrite_cr_locked(chip, 0x3c9000); in zd1211_al7230b_set_channel()
367 if (r) in zd1211_al7230b_set_channel()
368 return r; in zd1211_al7230b_set_channel()
375 int r; in zd1211b_al7230b_set_channel() local
379 r = zd_iowrite16_locked(chip, 0x57, ZD_CR240); in zd1211b_al7230b_set_channel()
380 if (r) in zd1211b_al7230b_set_channel()
381 return r; in zd1211b_al7230b_set_channel()
382 r = zd_iowrite16_locked(chip, 0xe4, ZD_CR9); in zd1211b_al7230b_set_channel()
383 if (r) in zd1211b_al7230b_set_channel()
384 return r; in zd1211b_al7230b_set_channel()
387 r = zd_iowrite16_locked(chip, 0x2f, ZD_CR251); in zd1211b_al7230b_set_channel()
388 if (r) in zd1211b_al7230b_set_channel()
389 return r; in zd1211b_al7230b_set_channel()
390 r = zd_rfwritev_cr_locked(chip, std_rv, ARRAY_SIZE(std_rv)); in zd1211b_al7230b_set_channel()
391 if (r) in zd1211b_al7230b_set_channel()
392 return r; in zd1211b_al7230b_set_channel()
394 r = zd_rfwrite_cr_locked(chip, 0x3c9000); in zd1211b_al7230b_set_channel()
395 if (r) in zd1211b_al7230b_set_channel()
396 return r; in zd1211b_al7230b_set_channel()
397 r = zd_rfwrite_cr_locked(chip, 0xf15d58); in zd1211b_al7230b_set_channel()
398 if (r) in zd1211b_al7230b_set_channel()
399 return r; in zd1211b_al7230b_set_channel()
401 r = zd_iowrite16a_locked(chip, ioreqs_sw, ARRAY_SIZE(ioreqs_sw)); in zd1211b_al7230b_set_channel()
402 if (r) in zd1211b_al7230b_set_channel()
403 return r; in zd1211b_al7230b_set_channel()
405 r = zd_rfwritev_cr_locked(chip, rv, 2); in zd1211b_al7230b_set_channel()
406 if (r) in zd1211b_al7230b_set_channel()
407 return r; in zd1211b_al7230b_set_channel()
409 r = zd_rfwrite_cr_locked(chip, 0x3c9000); in zd1211b_al7230b_set_channel()
410 if (r) in zd1211b_al7230b_set_channel()
411 return r; in zd1211b_al7230b_set_channel()
413 r = zd_iowrite16_locked(chip, 0x7f, ZD_CR251); in zd1211b_al7230b_set_channel()
414 if (r) in zd1211b_al7230b_set_channel()
415 return r; in zd1211b_al7230b_set_channel()