H A D | phy.c | 128 u16 b43legacy_phy_read(struct b43legacy_wldev *dev, u16 offset) b43legacy_phy_read() function 207 phy->savedpctlreg = b43legacy_phy_read(dev, B43legacy_PHY_G_PCTL); b43legacy_phy_init_pctl() 239 b43legacy_phy_write(dev, 0x04A5, (b43legacy_phy_read(dev, 0x04A5) b43legacy_phy_agcsetup() 241 b43legacy_phy_write(dev, 0x041A, (b43legacy_phy_read(dev, 0x041A) b43legacy_phy_agcsetup() 243 b43legacy_phy_write(dev, 0x041A, (b43legacy_phy_read(dev, 0x041A) b43legacy_phy_agcsetup() 245 b43legacy_phy_write(dev, 0x048C, (b43legacy_phy_read(dev, 0x048C) b43legacy_phy_agcsetup() 252 b43legacy_phy_write(dev, 0x04A0, (b43legacy_phy_read(dev, 0x04A0) b43legacy_phy_agcsetup() 254 b43legacy_phy_write(dev, 0x04A1, (b43legacy_phy_read(dev, 0x04A1) b43legacy_phy_agcsetup() 256 b43legacy_phy_write(dev, 0x04A2, (b43legacy_phy_read(dev, 0x04A2) b43legacy_phy_agcsetup() 258 b43legacy_phy_write(dev, 0x04A0, (b43legacy_phy_read(dev, 0x04A0) b43legacy_phy_agcsetup() 263 (b43legacy_phy_read(dev, 0x04A2) b43legacy_phy_agcsetup() 266 b43legacy_phy_write(dev, 0x0488, (b43legacy_phy_read(dev, 0x0488) b43legacy_phy_agcsetup() 268 b43legacy_phy_write(dev, 0x0488, (b43legacy_phy_read(dev, 0x0488) b43legacy_phy_agcsetup() 270 b43legacy_phy_write(dev, 0x0496, (b43legacy_phy_read(dev, 0x0496) b43legacy_phy_agcsetup() 272 b43legacy_phy_write(dev, 0x0489, (b43legacy_phy_read(dev, 0x0489) b43legacy_phy_agcsetup() 274 b43legacy_phy_write(dev, 0x0489, (b43legacy_phy_read(dev, 0x0489) b43legacy_phy_agcsetup() 276 b43legacy_phy_write(dev, 0x0482, (b43legacy_phy_read(dev, 0x0482) b43legacy_phy_agcsetup() 278 b43legacy_phy_write(dev, 0x0496, (b43legacy_phy_read(dev, 0x0496) b43legacy_phy_agcsetup() 280 b43legacy_phy_write(dev, 0x0481, (b43legacy_phy_read(dev, 0x0481) b43legacy_phy_agcsetup() 282 b43legacy_phy_write(dev, 0x0481, (b43legacy_phy_read(dev, 0x0481) b43legacy_phy_agcsetup() 288 (b43legacy_phy_read(dev, 0x041B) b43legacy_phy_agcsetup() 292 b43legacy_phy_read(dev, 0x041B) & 0xFFE1); b43legacy_phy_agcsetup() 295 (b43legacy_phy_read(dev, 0x0420) b43legacy_phy_agcsetup() 302 (b43legacy_phy_read(dev, 0x0420) b43legacy_phy_agcsetup() 306 b43legacy_phy_write(dev, 0x04A8, (b43legacy_phy_read(dev, 0x04A8) b43legacy_phy_agcsetup() 312 (b43legacy_phy_read(dev, 0x04AB) b43legacy_phy_agcsetup() 316 (b43legacy_phy_read(dev, 0x048C) & 0xFF00) b43legacy_phy_agcsetup() 328 (b43legacy_phy_read(dev, 0x0426) & 0xFFFC)); b43legacy_phy_agcsetup() 330 (b43legacy_phy_read(dev, 0x0426) & 0xEFFF)); b43legacy_phy_agcsetup() 343 (b43legacy_phy_read(dev, b43legacy_phy_setupg() 369 b43legacy_phy_write(dev, 0x042B, b43legacy_phy_read(dev, b43legacy_phy_setupg() 383 else if ((phy->rev >= 7) && (b43legacy_phy_read(dev, 0x0449) & 0x0200)) b43legacy_phy_setupg() 420 b43legacy_phy_read(dev, 0x0400); /* dummy read */ b43legacy_phy_setupg() 571 (b43legacy_phy_read(dev, 0x0035) & 0xF0FF) b43legacy_phy_initb5() 587 b43legacy_phy_write(dev, 0x0802, b43legacy_phy_read(dev, 0x0802) b43legacy_phy_initb5() 589 b43legacy_phy_write(dev, 0x042B, b43legacy_phy_read(dev, 0x042B) b43legacy_phy_initb5() 594 b43legacy_phy_write(dev, 0x0013, (b43legacy_phy_read(dev, b43legacy_phy_initb5() 596 b43legacy_phy_write(dev, 0x0035, (b43legacy_phy_read(dev, b43legacy_phy_initb5() 598 b43legacy_phy_write(dev, 0x005D, (b43legacy_phy_read(dev, b43legacy_phy_initb5() 606 b43legacy_phy_read(dev, b43legacy_phy_initb5() 737 b43legacy_phy_read(dev, 0x0802) | 0x0100); b43legacy_phy_initb6() 739 b43legacy_phy_read(dev, 0x042B) | 0x2000); b43legacy_phy_initb6() 779 b43legacy_phy_write(dev, 0x005D, (b43legacy_phy_read(dev, b43legacy_phy_initb6() 786 b43legacy_phy_write(dev, 0x61, b43legacy_phy_read(dev, 0x61) b43legacy_phy_initb6() 789 b43legacy_phy_write(dev, 0x0002, (b43legacy_phy_read(dev, b43legacy_phy_initb6() 821 backup_phy[0] = b43legacy_phy_read(dev, 0x0429); b43legacy_calc_loopback_gain() 822 backup_phy[1] = b43legacy_phy_read(dev, 0x0001); b43legacy_calc_loopback_gain() 823 backup_phy[2] = b43legacy_phy_read(dev, 0x0811); b43legacy_calc_loopback_gain() 824 backup_phy[3] = b43legacy_phy_read(dev, 0x0812); b43legacy_calc_loopback_gain() 826 backup_phy[4] = b43legacy_phy_read(dev, 0x0814); b43legacy_calc_loopback_gain() 827 backup_phy[5] = b43legacy_phy_read(dev, 0x0815); b43legacy_calc_loopback_gain() 829 backup_phy[6] = b43legacy_phy_read(dev, 0x005A); b43legacy_calc_loopback_gain() 830 backup_phy[7] = b43legacy_phy_read(dev, 0x0059); b43legacy_calc_loopback_gain() 831 backup_phy[8] = b43legacy_phy_read(dev, 0x0058); b43legacy_calc_loopback_gain() 832 backup_phy[9] = b43legacy_phy_read(dev, 0x000A); b43legacy_calc_loopback_gain() 833 backup_phy[10] = b43legacy_phy_read(dev, 0x0003); b43legacy_calc_loopback_gain() 834 backup_phy[11] = b43legacy_phy_read(dev, 0x080F); b43legacy_calc_loopback_gain() 835 backup_phy[12] = b43legacy_phy_read(dev, 0x0810); b43legacy_calc_loopback_gain() 836 backup_phy[13] = b43legacy_phy_read(dev, 0x002B); b43legacy_calc_loopback_gain() 837 backup_phy[14] = b43legacy_phy_read(dev, 0x0015); b43legacy_calc_loopback_gain() 838 b43legacy_phy_read(dev, 0x002D); /* dummy read */ b43legacy_calc_loopback_gain() 845 b43legacy_phy_read(dev, 0x0429) & 0x3FFF); b43legacy_calc_loopback_gain() 847 b43legacy_phy_read(dev, 0x0001) & 0x8000); b43legacy_calc_loopback_gain() 849 b43legacy_phy_read(dev, 0x0811) | 0x0002); b43legacy_calc_loopback_gain() 851 b43legacy_phy_read(dev, 0x0812) & 0xFFFD); b43legacy_calc_loopback_gain() 853 b43legacy_phy_read(dev, 0x0811) | 0x0001); b43legacy_calc_loopback_gain() 855 b43legacy_phy_read(dev, 0x0812) & 0xFFFE); b43legacy_calc_loopback_gain() 858 b43legacy_phy_read(dev, 0x0814) | 0x0001); b43legacy_calc_loopback_gain() 860 b43legacy_phy_read(dev, 0x0815) & 0xFFFE); b43legacy_calc_loopback_gain() 862 b43legacy_phy_read(dev, 0x0814) | 0x0002); b43legacy_calc_loopback_gain() 864 b43legacy_phy_read(dev, 0x0815) & 0xFFFD); b43legacy_calc_loopback_gain() 866 b43legacy_phy_write(dev, 0x0811, b43legacy_phy_read(dev, 0x0811) | b43legacy_calc_loopback_gain() 868 b43legacy_phy_write(dev, 0x0812, b43legacy_phy_read(dev, 0x0812) | b43legacy_calc_loopback_gain() 871 b43legacy_phy_write(dev, 0x0811, (b43legacy_phy_read(dev, 0x0811) b43legacy_calc_loopback_gain() 873 b43legacy_phy_write(dev, 0x0812, (b43legacy_phy_read(dev, 0x0812) b43legacy_calc_loopback_gain() 883 b43legacy_phy_read(dev, 0x000A) b43legacy_calc_loopback_gain() 887 b43legacy_phy_read(dev, 0x0814) | 0x0004); b43legacy_calc_loopback_gain() 889 b43legacy_phy_read(dev, 0x0815) & 0xFFFB); b43legacy_calc_loopback_gain() 892 (b43legacy_phy_read(dev, 0x0003) b43legacy_calc_loopback_gain() 915 (b43legacy_phy_read(dev, 0x002B) b43legacy_calc_loopback_gain() 918 (b43legacy_phy_read(dev, 0x002B) b43legacy_calc_loopback_gain() 921 b43legacy_phy_read(dev, 0x0811) | 0x0100); b43legacy_calc_loopback_gain() 923 b43legacy_phy_read(dev, 0x0812) & 0xCFFF); b43legacy_calc_loopback_gain() 927 b43legacy_phy_read(dev, 0x0811) b43legacy_calc_loopback_gain() 930 b43legacy_phy_read(dev, 0x0812) b43legacy_calc_loopback_gain() 941 (b43legacy_phy_read(dev, 0x0812) b43legacy_calc_loopback_gain() 944 (b43legacy_phy_read(dev, 0x0015) b43legacy_calc_loopback_gain() 947 (b43legacy_phy_read(dev, 0x0015) b43legacy_calc_loopback_gain() 950 if (b43legacy_phy_read(dev, 0x002D) >= 0x0DFC) b43legacy_calc_loopback_gain() 959 b43legacy_phy_read(dev, 0x0812) b43legacy_calc_loopback_gain() 963 (b43legacy_phy_read(dev, 0x0812) b43legacy_calc_loopback_gain() 966 (b43legacy_phy_read(dev, 0x0015) b43legacy_calc_loopback_gain() 969 (b43legacy_phy_read(dev, 0x0015) b43legacy_calc_loopback_gain() 972 if (b43legacy_phy_read(dev, 0x002D) >= 0x0DFC) b43legacy_calc_loopback_gain() 1033 tmp = b43legacy_phy_read(dev, 0x0400) & 0xFF; b43legacy_phy_initg() 1042 (b43legacy_phy_read(dev, b43legacy_phy_initg() 1050 b43legacy_phy_write(dev, 0x0801, b43legacy_phy_read(dev, 0x0801) b43legacy_phy_initg() 1052 b43legacy_phy_write(dev, 0x043E, b43legacy_phy_read(dev, 0x043E) b43legacy_phy_initg() 1077 (b43legacy_phy_read(dev, 0x0036) b43legacy_phy_initg() 1118 b43legacy_phy_read(dev, 0x0429) & 0xBFFF); b43legacy_phy_initg() 1120 b43legacy_phy_read(dev, 0x04C3) & 0x7FFF); b43legacy_phy_initg() 1138 ret += b43legacy_phy_read(dev, 0x002C); b43legacy_phy_lo_b_r15_loop() 1155 regstack[0] = b43legacy_phy_read(dev, 0x0015); b43legacy_phy_lo_b_measure() 1159 regstack[2] = b43legacy_phy_read(dev, 0x000A); b43legacy_phy_lo_b_measure() 1160 regstack[3] = b43legacy_phy_read(dev, 0x002A); b43legacy_phy_lo_b_measure() 1161 regstack[4] = b43legacy_phy_read(dev, 0x0035); b43legacy_phy_lo_b_measure() 1162 regstack[5] = b43legacy_phy_read(dev, 0x0003); b43legacy_phy_lo_b_measure() 1163 regstack[6] = b43legacy_phy_read(dev, 0x0001); b43legacy_phy_lo_b_measure() 1164 regstack[7] = b43legacy_phy_read(dev, 0x0030); b43legacy_phy_lo_b_measure() 1268 ret = b43legacy_phy_read(dev, 0x002D); b43legacy_phy_lo_g_deviation_subval() 1480 value = b43legacy_phy_read(dev, 0x0060) & 0xFFC3; b43legacy_phy_set_baseband_attenuation() 1483 value = b43legacy_phy_read(dev, 0x0060) & 0xFF87; b43legacy_phy_set_baseband_attenuation() 1513 regstack[0] = b43legacy_phy_read(dev, B43legacy_PHY_G_CRS); b43legacy_phy_lo_g_measure() 1514 regstack[1] = b43legacy_phy_read(dev, 0x0802); b43legacy_phy_lo_g_measure() 1522 regstack[5] = b43legacy_phy_read(dev, 0x15); b43legacy_phy_lo_g_measure() 1523 regstack[6] = b43legacy_phy_read(dev, 0x2A); b43legacy_phy_lo_g_measure() 1524 regstack[7] = b43legacy_phy_read(dev, 0x35); b43legacy_phy_lo_g_measure() 1525 regstack[8] = b43legacy_phy_read(dev, 0x60); b43legacy_phy_lo_g_measure() 1530 regstack[12] = b43legacy_phy_read(dev, 0x0811); b43legacy_phy_lo_g_measure() 1531 regstack[13] = b43legacy_phy_read(dev, 0x0812); b43legacy_phy_lo_g_measure() 1532 regstack[14] = b43legacy_phy_read(dev, 0x0814); b43legacy_phy_lo_g_measure() 1533 regstack[15] = b43legacy_phy_read(dev, 0x0815); b43legacy_phy_lo_g_measure() 2124 (b43legacy_phy_read(dev, offset + 1) b43legacy_phy_set_antenna_diversity() 2133 (b43legacy_phy_read(dev, b43legacy_phy_set_antenna_diversity() 2141 b43legacy_phy_read(dev, b43legacy_phy_set_antenna_diversity() 2145 b43legacy_phy_read(dev, b43legacy_phy_set_antenna_diversity() 2149 b43legacy_phy_read(dev, b43legacy_phy_set_antenna_diversity() 2152 (b43legacy_phy_read(dev, b43legacy_phy_set_antenna_diversity() 2160 (b43legacy_phy_read(dev, 0x0427) b43legacy_phy_set_antenna_diversity() 2167 (b43legacy_phy_read(dev, b43legacy_phy_set_antenna_diversity() 2172 b43legacy_phy_read(dev, b43legacy_phy_set_antenna_diversity() 2183 (b43legacy_phy_read(dev, 0x0027) b43legacy_phy_set_antenna_diversity() 2195 (b43legacy_phy_read(dev, 0x03E2) b43legacy_phy_set_antenna_diversity()
|