Lines Matching full:backup
412 u16 backup[20] = { 0 }; in b43_calc_nrssi_offset() local
417 backup[0] = b43_phy_read(dev, 0x0001); in b43_calc_nrssi_offset()
418 backup[1] = b43_phy_read(dev, 0x0811); in b43_calc_nrssi_offset()
419 backup[2] = b43_phy_read(dev, 0x0812); in b43_calc_nrssi_offset()
421 backup[3] = b43_phy_read(dev, 0x0814); in b43_calc_nrssi_offset()
422 backup[4] = b43_phy_read(dev, 0x0815); in b43_calc_nrssi_offset()
424 backup[5] = b43_phy_read(dev, 0x005A); in b43_calc_nrssi_offset()
425 backup[6] = b43_phy_read(dev, 0x0059); in b43_calc_nrssi_offset()
426 backup[7] = b43_phy_read(dev, 0x0058); in b43_calc_nrssi_offset()
427 backup[8] = b43_phy_read(dev, 0x000A); in b43_calc_nrssi_offset()
428 backup[9] = b43_phy_read(dev, 0x0003); in b43_calc_nrssi_offset()
429 backup[10] = b43_radio_read16(dev, 0x007A); in b43_calc_nrssi_offset()
430 backup[11] = b43_radio_read16(dev, 0x0043); in b43_calc_nrssi_offset()
438 backup[12] = b43_phy_read(dev, 0x002E); in b43_calc_nrssi_offset()
439 backup[13] = b43_phy_read(dev, 0x002F); in b43_calc_nrssi_offset()
440 backup[14] = b43_phy_read(dev, 0x080F); in b43_calc_nrssi_offset()
441 backup[15] = b43_phy_read(dev, 0x0810); in b43_calc_nrssi_offset()
442 backup[16] = b43_phy_read(dev, 0x0801); in b43_calc_nrssi_offset()
443 backup[17] = b43_phy_read(dev, 0x0060); in b43_calc_nrssi_offset()
444 backup[18] = b43_phy_read(dev, 0x0014); in b43_calc_nrssi_offset()
445 backup[19] = b43_phy_read(dev, 0x0478); in b43_calc_nrssi_offset()
526 b43_phy_write(dev, 0x002E, backup[12]); in b43_calc_nrssi_offset()
527 b43_phy_write(dev, 0x002F, backup[13]); in b43_calc_nrssi_offset()
528 b43_phy_write(dev, 0x080F, backup[14]); in b43_calc_nrssi_offset()
529 b43_phy_write(dev, 0x0810, backup[15]); in b43_calc_nrssi_offset()
532 b43_phy_write(dev, 0x0814, backup[3]); in b43_calc_nrssi_offset()
533 b43_phy_write(dev, 0x0815, backup[4]); in b43_calc_nrssi_offset()
535 b43_phy_write(dev, 0x005A, backup[5]); in b43_calc_nrssi_offset()
536 b43_phy_write(dev, 0x0059, backup[6]); in b43_calc_nrssi_offset()
537 b43_phy_write(dev, 0x0058, backup[7]); in b43_calc_nrssi_offset()
538 b43_phy_write(dev, 0x000A, backup[8]); in b43_calc_nrssi_offset()
539 b43_phy_write(dev, 0x0003, backup[9]); in b43_calc_nrssi_offset()
540 b43_radio_write16(dev, 0x0043, backup[11]); in b43_calc_nrssi_offset()
541 b43_radio_write16(dev, 0x007A, backup[10]); in b43_calc_nrssi_offset()
546 b43_phy_write(dev, 0x0801, backup[16]); in b43_calc_nrssi_offset()
547 b43_phy_write(dev, 0x0060, backup[17]); in b43_calc_nrssi_offset()
548 b43_phy_write(dev, 0x0014, backup[18]); in b43_calc_nrssi_offset()
549 b43_phy_write(dev, 0x0478, backup[19]); in b43_calc_nrssi_offset()
551 b43_phy_write(dev, 0x0001, backup[0]); in b43_calc_nrssi_offset()
552 b43_phy_write(dev, 0x0812, backup[2]); in b43_calc_nrssi_offset()
553 b43_phy_write(dev, 0x0811, backup[1]); in b43_calc_nrssi_offset()
560 u16 backup[18] = { 0 }; in b43_calc_nrssi_slope() local
573 backup[7] = b43_read16(dev, 0x03E2); in b43_calc_nrssi_slope()
575 backup[0] = b43_radio_read16(dev, 0x007A); in b43_calc_nrssi_slope()
576 backup[1] = b43_radio_read16(dev, 0x0052); in b43_calc_nrssi_slope()
577 backup[2] = b43_radio_read16(dev, 0x0043); in b43_calc_nrssi_slope()
578 backup[3] = b43_phy_read(dev, 0x0015); in b43_calc_nrssi_slope()
579 backup[4] = b43_phy_read(dev, 0x005A); in b43_calc_nrssi_slope()
580 backup[5] = b43_phy_read(dev, 0x0059); in b43_calc_nrssi_slope()
581 backup[6] = b43_phy_read(dev, 0x0058); in b43_calc_nrssi_slope()
582 backup[8] = b43_read16(dev, 0x03E6); in b43_calc_nrssi_slope()
583 backup[9] = b43_read16(dev, B43_MMIO_CHANNEL_EXT); in b43_calc_nrssi_slope()
585 backup[10] = b43_phy_read(dev, 0x002E); in b43_calc_nrssi_slope()
586 backup[11] = b43_phy_read(dev, 0x002F); in b43_calc_nrssi_slope()
587 backup[12] = b43_phy_read(dev, 0x080F); in b43_calc_nrssi_slope()
588 backup[13] = b43_phy_read(dev, B43_PHY_G_LO_CONTROL); in b43_calc_nrssi_slope()
589 backup[14] = b43_phy_read(dev, 0x0801); in b43_calc_nrssi_slope()
590 backup[15] = b43_phy_read(dev, 0x0060); in b43_calc_nrssi_slope()
591 backup[16] = b43_phy_read(dev, 0x0014); in b43_calc_nrssi_slope()
592 backup[17] = b43_phy_read(dev, 0x0478); in b43_calc_nrssi_slope()
664 b43_phy_write(dev, 0x002E, backup[10]); in b43_calc_nrssi_slope()
665 b43_phy_write(dev, 0x002F, backup[11]); in b43_calc_nrssi_slope()
666 b43_phy_write(dev, 0x080F, backup[12]); in b43_calc_nrssi_slope()
667 b43_phy_write(dev, B43_PHY_G_LO_CONTROL, backup[13]); in b43_calc_nrssi_slope()
674 b43_radio_write16(dev, 0x007A, backup[0]); in b43_calc_nrssi_slope()
675 b43_radio_write16(dev, 0x0052, backup[1]); in b43_calc_nrssi_slope()
676 b43_radio_write16(dev, 0x0043, backup[2]); in b43_calc_nrssi_slope()
677 b43_write16(dev, 0x03E2, backup[7]); in b43_calc_nrssi_slope()
678 b43_write16(dev, 0x03E6, backup[8]); in b43_calc_nrssi_slope()
679 b43_write16(dev, B43_MMIO_CHANNEL_EXT, backup[9]); in b43_calc_nrssi_slope()
680 b43_phy_write(dev, 0x0015, backup[3]); in b43_calc_nrssi_slope()
681 b43_phy_write(dev, 0x005A, backup[4]); in b43_calc_nrssi_slope()
682 b43_phy_write(dev, 0x0059, backup[5]); in b43_calc_nrssi_slope()
683 b43_phy_write(dev, 0x0058, backup[6]); in b43_calc_nrssi_slope()
689 b43_phy_write(dev, 0x0801, backup[14]); in b43_calc_nrssi_slope()
690 b43_phy_write(dev, 0x0060, backup[15]); in b43_calc_nrssi_slope()
691 b43_phy_write(dev, 0x0014, backup[16]); in b43_calc_nrssi_slope()
692 b43_phy_write(dev, 0x0478, backup[17]); in b43_calc_nrssi_slope()