Lines Matching refs:b43_phy_write

265 		b43_phy_write(dev, 0x380 + (i / 2), value);  in b43_gphy_tssi_power_lt_init()
290 b43_phy_write(dev, 0x3C0 + nr_written, tmp); in b43_gphy_gain_lt_init()
363 b43_phy_write(dev, B43_PHY_NRSSILT_CTRL, offset); in b43_nrssi_hw_write()
364 b43_phy_write(dev, B43_PHY_NRSSILT_DATA, (u16) val); in b43_nrssi_hw_write()
372 b43_phy_write(dev, B43_PHY_NRSSILT_CTRL, offset); in b43_nrssi_hw_read()
447 b43_phy_write(dev, 0x002E, 0); in b43_calc_nrssi_offset()
448 b43_phy_write(dev, 0x002F, 0); in b43_calc_nrssi_offset()
449 b43_phy_write(dev, 0x080F, 0); in b43_calc_nrssi_offset()
450 b43_phy_write(dev, 0x0810, 0); in b43_calc_nrssi_offset()
486 b43_phy_write(dev, 0x005A, 0x0480); in b43_calc_nrssi_offset()
487 b43_phy_write(dev, 0x0059, 0x0810); in b43_calc_nrssi_offset()
488 b43_phy_write(dev, 0x0058, 0x000D); in b43_calc_nrssi_offset()
490 b43_phy_write(dev, 0x0003, 0x0122); 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()
542 b43_phy_write(dev, 0x0802, b43_phy_read(dev, 0x0802) | 0x1 | 0x2); 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()
593 b43_phy_write(dev, 0x002E, 0); in b43_calc_nrssi_slope()
594 b43_phy_write(dev, B43_PHY_G_LO_CONTROL, 0); in b43_calc_nrssi_slope()
633 b43_phy_write(dev, 0x0015, 0xF330); in b43_calc_nrssi_slope()
648 b43_phy_write(dev, 0x005A, 0x0480); in b43_calc_nrssi_slope()
649 b43_phy_write(dev, 0x0059, 0x0810); in b43_calc_nrssi_slope()
650 b43_phy_write(dev, 0x0058, 0x000D); 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()
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()
751 b43_phy_write(dev, 0x048A, tmp_u16); in b43_calc_nrssi_threshold()
798 b43_phy_write(dev, (offset), \
855 b43_phy_write(dev, 0x0406, 0x7E28); in b43_radio_interference_mitigation_enable()
872 b43_phy_write(dev, 0x04A7, 0x0002); in b43_radio_interference_mitigation_enable()
874 b43_phy_write(dev, 0x04A3, 0x287A); in b43_radio_interference_mitigation_enable()
876 b43_phy_write(dev, 0x04A9, 0x2027); in b43_radio_interference_mitigation_enable()
878 b43_phy_write(dev, 0x0493, 0x32F5); in b43_radio_interference_mitigation_enable()
880 b43_phy_write(dev, 0x04AA, 0x2027); in b43_radio_interference_mitigation_enable()
882 b43_phy_write(dev, 0x04AC, 0x32F5); in b43_radio_interference_mitigation_enable()
928 b43_phy_write(dev, 0x0033, 0x0800); in b43_radio_interference_mitigation_enable()
929 b43_phy_write(dev, 0x04A3, 0x2027); in b43_radio_interference_mitigation_enable()
930 b43_phy_write(dev, 0x04A9, 0x1CA8); in b43_radio_interference_mitigation_enable()
931 b43_phy_write(dev, 0x0493, 0x287A); in b43_radio_interference_mitigation_enable()
932 b43_phy_write(dev, 0x04AA, 0x1CA8); in b43_radio_interference_mitigation_enable()
933 b43_phy_write(dev, 0x04AC, 0x287A); in b43_radio_interference_mitigation_enable()
936 b43_phy_write(dev, 0x04A7, 0x000D); in b43_radio_interference_mitigation_enable()
939 b43_phy_write(dev, 0x0406, 0xFF0D); in b43_radio_interference_mitigation_enable()
941 b43_phy_write(dev, 0x04C0, 0xFFFF); in b43_radio_interference_mitigation_enable()
942 b43_phy_write(dev, 0x04C1, 0x00A9); in b43_radio_interference_mitigation_enable()
944 b43_phy_write(dev, 0x04C0, 0x00C1); in b43_radio_interference_mitigation_enable()
945 b43_phy_write(dev, 0x04C1, 0x0059); in b43_radio_interference_mitigation_enable()
1269 b43_phy_write(dev, B43_PHY_CCK(0x30), 0xFF); in b43_radio_init2050()
1289 b43_phy_write(dev, B43_PHY_LO_MASK, 0xC020); in b43_radio_init2050()
1291 b43_phy_write(dev, B43_PHY_LO_MASK, 0x8020); in b43_radio_init2050()
1292 b43_phy_write(dev, B43_PHY_LO_CTL, 0); in b43_radio_init2050()
1295 b43_phy_write(dev, B43_PHY_RFOVERVAL, in b43_radio_init2050()
1298 b43_phy_write(dev, B43_PHY_RFOVER, in b43_radio_init2050()
1323 b43_phy_write(dev, B43_PHY_RFOVERVAL, in b43_radio_init2050()
1327 b43_phy_write(dev, B43_PHY_PGACTL, 0xBFAF); in b43_radio_init2050()
1328 b43_phy_write(dev, B43_PHY_CCK(0x2B), 0x1403); in b43_radio_init2050()
1330 b43_phy_write(dev, B43_PHY_RFOVERVAL, in b43_radio_init2050()
1334 b43_phy_write(dev, B43_PHY_PGACTL, 0xBFA0); in b43_radio_init2050()
1342 b43_phy_write(dev, B43_PHY_CCK(0x58), 0); in b43_radio_init2050()
1345 b43_phy_write(dev, B43_PHY_CCK(0x5A), 0x0480); in b43_radio_init2050()
1346 b43_phy_write(dev, B43_PHY_CCK(0x59), 0xC810); in b43_radio_init2050()
1347 b43_phy_write(dev, B43_PHY_CCK(0x58), 0x000D); in b43_radio_init2050()
1349 b43_phy_write(dev, B43_PHY_RFOVERVAL, in b43_radio_init2050()
1354 b43_phy_write(dev, B43_PHY_PGACTL, 0xAFB0); in b43_radio_init2050()
1357 b43_phy_write(dev, B43_PHY_RFOVERVAL, in b43_radio_init2050()
1362 b43_phy_write(dev, B43_PHY_PGACTL, 0xEFB0); in b43_radio_init2050()
1365 b43_phy_write(dev, B43_PHY_RFOVERVAL, in b43_radio_init2050()
1370 b43_phy_write(dev, B43_PHY_PGACTL, 0xFFF0); in b43_radio_init2050()
1373 b43_phy_write(dev, B43_PHY_CCK(0x58), 0); in b43_radio_init2050()
1375 b43_phy_write(dev, B43_PHY_RFOVERVAL, in b43_radio_init2050()
1380 b43_phy_write(dev, B43_PHY_PGACTL, 0xAFB0); in b43_radio_init2050()
1384 b43_phy_write(dev, B43_PHY_CCK(0x58), 0); in b43_radio_init2050()
1393 b43_phy_write(dev, B43_PHY_CCK(0x5A), 0x0D80); in b43_radio_init2050()
1394 b43_phy_write(dev, B43_PHY_CCK(0x59), 0xC810); in b43_radio_init2050()
1395 b43_phy_write(dev, B43_PHY_CCK(0x58), 0x000D); in b43_radio_init2050()
1397 b43_phy_write(dev, B43_PHY_RFOVERVAL, in b43_radio_init2050()
1403 b43_phy_write(dev, B43_PHY_PGACTL, 0xAFB0); in b43_radio_init2050()
1406 b43_phy_write(dev, B43_PHY_RFOVERVAL, in b43_radio_init2050()
1412 b43_phy_write(dev, B43_PHY_PGACTL, 0xEFB0); in b43_radio_init2050()
1415 b43_phy_write(dev, B43_PHY_RFOVERVAL, in b43_radio_init2050()
1421 b43_phy_write(dev, B43_PHY_PGACTL, 0xFFF0); in b43_radio_init2050()
1424 b43_phy_write(dev, B43_PHY_CCK(0x58), 0); in b43_radio_init2050()
1426 b43_phy_write(dev, B43_PHY_RFOVERVAL, in b43_radio_init2050()
1432 b43_phy_write(dev, B43_PHY_PGACTL, 0xAFB0); in b43_radio_init2050()
1441 b43_phy_write(dev, B43_PHY_PGACTL, sav.phy_pgactl); in b43_radio_init2050()
1445 b43_phy_write(dev, B43_PHY_CCK(0x5A), sav.phy_cck_5A); in b43_radio_init2050()
1446 b43_phy_write(dev, B43_PHY_CCK(0x59), sav.phy_cck_59); in b43_radio_init2050()
1447 b43_phy_write(dev, B43_PHY_CCK(0x58), sav.phy_cck_58); in b43_radio_init2050()
1451 b43_phy_write(dev, B43_PHY_SYNCCTL, sav.phy_syncctl); in b43_radio_init2050()
1454 b43_phy_write(dev, B43_PHY_CCK(0x30), sav.phy_cck_30); in b43_radio_init2050()
1460 b43_phy_write(dev, B43_PHY_RFOVER, sav.phy_rfover); in b43_radio_init2050()
1461 b43_phy_write(dev, B43_PHY_RFOVERVAL, sav.phy_rfoverval); in b43_radio_init2050()
1462 b43_phy_write(dev, B43_PHY_ANALOGOVER, sav.phy_analogover); in b43_radio_init2050()
1463 b43_phy_write(dev, B43_PHY_ANALOGOVERVAL, in b43_radio_init2050()
1465 b43_phy_write(dev, B43_PHY_CRS0, sav.phy_crs0); in b43_radio_init2050()
1466 b43_phy_write(dev, B43_PHY_CLASSCTL, sav.phy_classctl); in b43_radio_init2050()
1468 b43_phy_write(dev, B43_PHY_LO_MASK, sav.phy_lo_mask); in b43_radio_init2050()
1469 b43_phy_write(dev, B43_PHY_LO_CTL, sav.phy_lo_ctl); in b43_radio_init2050()
1494 b43_phy_write(dev, offset, value); in b43_phy_initb5()
1500 b43_phy_write(dev, 0x0038, 0x0667); in b43_phy_initb5()
1512 b43_phy_write(dev, 0x001C, 0x186A); in b43_phy_initb5()
1524 b43_phy_write(dev, 0x0026, 0xCE00); in b43_phy_initb5()
1525 b43_phy_write(dev, 0x0021, 0x3763); in b43_phy_initb5()
1526 b43_phy_write(dev, 0x0022, 0x1BC3); in b43_phy_initb5()
1527 b43_phy_write(dev, 0x0023, 0x06F9); in b43_phy_initb5()
1528 b43_phy_write(dev, 0x0024, 0x037E); in b43_phy_initb5()
1530 b43_phy_write(dev, 0x0026, 0xCC00); in b43_phy_initb5()
1531 b43_phy_write(dev, 0x0030, 0x00C6); in b43_phy_initb5()
1535 b43_phy_write(dev, 0x0020, 0x3E1C); in b43_phy_initb5()
1537 b43_phy_write(dev, 0x0020, 0x301C); in b43_phy_initb5()
1566 b43_phy_write(dev, 0x0014, 0x0080); in b43_phy_initb5()
1567 b43_phy_write(dev, 0x0032, 0x00CA); in b43_phy_initb5()
1568 b43_phy_write(dev, 0x002A, 0x88A3); in b43_phy_initb5()
1586 b43_phy_write(dev, 0x003E, 0x817A); in b43_phy_initb6()
1625 b43_phy_write(dev, offset, val); in b43_phy_initb6()
1630 b43_phy_write(dev, offset, val); in b43_phy_initb6()
1635 b43_phy_write(dev, offset, (val & 0x3F3F)); in b43_phy_initb6()
1643 b43_phy_write(dev, 0x5B, 0); in b43_phy_initb6()
1644 b43_phy_write(dev, 0x5C, 0); in b43_phy_initb6()
1671 b43_phy_write(dev, 0x0014, 0x0200); in b43_phy_initb6()
1673 b43_phy_write(dev, 0x2A, 0x88C2); in b43_phy_initb6()
1675 b43_phy_write(dev, 0x2A, 0x8AC0); in b43_phy_initb6()
1676 b43_phy_write(dev, 0x0038, 0x0668); in b43_phy_initb6()
1746 b43_phy_write(dev, B43_PHY_CCK(0x5A), 0x0780); in b43_calc_loopback_gain()
1747 b43_phy_write(dev, B43_PHY_CCK(0x59), 0xC810); in b43_calc_loopback_gain()
1748 b43_phy_write(dev, B43_PHY_CCK(0x58), 0x000D); in b43_calc_loopback_gain()
1766 b43_phy_write(dev, B43_PHY_LO_MASK, 0xC020); in b43_calc_loopback_gain()
1768 b43_phy_write(dev, B43_PHY_LO_MASK, 0x8020); in b43_calc_loopback_gain()
1769 b43_phy_write(dev, B43_PHY_LO_CTL, 0); in b43_calc_loopback_gain()
1818 b43_phy_write(dev, B43_PHY_ANALOGOVER, backup_phy[4]); in b43_calc_loopback_gain()
1819 b43_phy_write(dev, B43_PHY_ANALOGOVERVAL, backup_phy[5]); in b43_calc_loopback_gain()
1821 b43_phy_write(dev, B43_PHY_CCK(0x5A), backup_phy[6]); in b43_calc_loopback_gain()
1822 b43_phy_write(dev, B43_PHY_CCK(0x59), backup_phy[7]); in b43_calc_loopback_gain()
1823 b43_phy_write(dev, B43_PHY_CCK(0x58), backup_phy[8]); in b43_calc_loopback_gain()
1824 b43_phy_write(dev, B43_PHY_CCK(0x0A), backup_phy[9]); in b43_calc_loopback_gain()
1825 b43_phy_write(dev, B43_PHY_CCK(0x03), backup_phy[10]); in b43_calc_loopback_gain()
1826 b43_phy_write(dev, B43_PHY_LO_MASK, backup_phy[11]); in b43_calc_loopback_gain()
1827 b43_phy_write(dev, B43_PHY_LO_CTL, backup_phy[12]); in b43_calc_loopback_gain()
1828 b43_phy_write(dev, B43_PHY_CCK(0x2B), backup_phy[13]); in b43_calc_loopback_gain()
1829 b43_phy_write(dev, B43_PHY_PGACTL, backup_phy[14]); in b43_calc_loopback_gain()
1837 b43_phy_write(dev, B43_PHY_RFOVER, backup_phy[2] | 0x0003); in b43_calc_loopback_gain()
1839 b43_phy_write(dev, B43_PHY_RFOVER, backup_phy[2]); in b43_calc_loopback_gain()
1840 b43_phy_write(dev, B43_PHY_RFOVERVAL, backup_phy[3]); in b43_calc_loopback_gain()
1841 b43_phy_write(dev, B43_PHY_CRS0, backup_phy[0]); in b43_calc_loopback_gain()
1842 b43_phy_write(dev, B43_PHY_CCKBBANDCFG, backup_phy[1]); in b43_calc_loopback_gain()
1854 b43_phy_write(dev, 0x047A, 0xC111); in b43_hardware_pctl_early_init()
1859 b43_phy_write(dev, 0x002F, 0x0202); in b43_hardware_pctl_early_init()
1866 b43_phy_write(dev, 0x002E, 0xC07F); in b43_hardware_pctl_early_init()
1874 b43_phy_write(dev, 0x002E, 0xC07F); in b43_hardware_pctl_early_init()
1896 b43_phy_write(dev, 0x0014, 0x0000); in b43_hardware_pctl_init_gphy()
1924 b43_phy_write(dev, 0x0028, 0x8018); in b43_phy_init_pctl()
2012 b43_phy_write(dev, B43_PHY_ANALOGOVER, 0); in b43_phy_initg()
2013 b43_phy_write(dev, B43_PHY_ANALOGOVERVAL, 0); in b43_phy_initg()
2016 b43_phy_write(dev, B43_PHY_RFOVER, 0); in b43_phy_initg()
2017 b43_phy_write(dev, B43_PHY_PGACTL, 0xC0); in b43_phy_initg()
2020 b43_phy_write(dev, B43_PHY_RFOVER, 0x400); in b43_phy_initg()
2021 b43_phy_write(dev, B43_PHY_PGACTL, 0xC0); in b43_phy_initg()
2027 b43_phy_write(dev, B43_PHY_OFDM(0xC2), 0x1816); in b43_phy_initg()
2028 b43_phy_write(dev, B43_PHY_OFDM(0xC3), 0x8006); in b43_phy_initg()
2035 b43_phy_write(dev, B43_PHY_OFDM(0x7E), 0x78); in b43_phy_initg()
2062 b43_phy_write(dev, B43_PHY_CCK(0x2E), 0x8075); in b43_phy_initg()
2064 b43_phy_write(dev, B43_PHY_CCK(0x2E), 0x807F); in b43_phy_initg()
2066 b43_phy_write(dev, B43_PHY_CCK(0x2F), 0x101); in b43_phy_initg()
2068 b43_phy_write(dev, B43_PHY_CCK(0x2F), 0x202); in b43_phy_initg()
2071 b43_phy_write(dev, B43_PHY_LO_MASK, 0x8078); in b43_phy_initg()
2091 b43_phy_write(dev, B43_PHY_EXTG(0x05), 0x3230); in b43_phy_initg()
2262 b43_phy_write(dev, 0x0403, (saved & 0xFFF8) | 5); in b43_gphy_aci_detect()
2279 b43_phy_write(dev, 0x0403, saved); in b43_gphy_aci_detect()
2609 b43_phy_write(dev, 0x0015, 0x8000); in b43_gphy_op_software_rfkill()
2610 b43_phy_write(dev, 0x0015, 0xCC00); in b43_gphy_op_software_rfkill()
2611 b43_phy_write(dev, 0x0015, (phy->gmode ? 0x00C0 : 0x0000)); in b43_gphy_op_software_rfkill()
2614 b43_phy_write(dev, B43_PHY_RFOVER, in b43_gphy_op_software_rfkill()
2616 b43_phy_write(dev, B43_PHY_RFOVERVAL, in b43_gphy_op_software_rfkill()
2632 b43_phy_write(dev, B43_PHY_RFOVER, rfover | 0x008C); in b43_gphy_op_software_rfkill()
2633 b43_phy_write(dev, B43_PHY_RFOVERVAL, rfoverval & 0xFF73); in b43_gphy_op_software_rfkill()
2673 b43_phy_write(dev, B43_PHY_ANTDWELL, tmp); in b43_gphy_op_set_rx_antenna()
2681 b43_phy_write(dev, B43_PHY_ANTWRSETT, tmp); in b43_gphy_op_set_rx_antenna()
2695 b43_phy_write(dev, B43_PHY_ADIVRELATED, 8); in b43_gphy_op_set_rx_antenna()
2700 b43_phy_write(dev, B43_PHY_OFDM9B, 0xDC); in b43_gphy_op_set_rx_antenna()