H A D | phy.c | 1149 u16 regstack[12] = { 0 }; b43legacy_phy_lo_b_measure() local 1155 regstack[0] = b43legacy_phy_read(dev, 0x0015); b43legacy_phy_lo_b_measure() 1156 regstack[1] = b43legacy_radio_read16(dev, 0x0052) & 0xFFF0; 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() 1166 regstack[8] = b43legacy_radio_read16(dev, 0x0043); b43legacy_phy_lo_b_measure() 1167 regstack[9] = b43legacy_radio_read16(dev, 0x007A); b43legacy_phy_lo_b_measure() 1168 regstack[10] = b43legacy_read16(dev, 0x03EC); b43legacy_phy_lo_b_measure() 1169 regstack[11] = b43legacy_radio_read16(dev, 0x0052) & 0x00F0; b43legacy_phy_lo_b_measure() 1173 b43legacy_phy_write(dev, 0x0035, regstack[4] & 0xFF7F); b43legacy_phy_lo_b_measure() 1174 b43legacy_radio_write16(dev, 0x007A, regstack[9] & 0xFFF0); b43legacy_phy_lo_b_measure() 1187 b43legacy_radio_write16(dev, 0x0052, regstack[1] | i); b43legacy_phy_lo_b_measure() 1191 b43legacy_radio_write16(dev, 0x0052, regstack[1] | i); b43legacy_phy_lo_b_measure() 1198 b43legacy_radio_write16(dev, 0x0052, regstack[1] b43legacy_phy_lo_b_measure() 1221 b43legacy_phy_write(dev, 0x000A, regstack[2]); b43legacy_phy_lo_b_measure() 1222 b43legacy_phy_write(dev, 0x002A, regstack[3]); b43legacy_phy_lo_b_measure() 1223 b43legacy_phy_write(dev, 0x0035, regstack[4]); b43legacy_phy_lo_b_measure() 1224 b43legacy_phy_write(dev, 0x0003, regstack[5]); b43legacy_phy_lo_b_measure() 1225 b43legacy_phy_write(dev, 0x0001, regstack[6]); b43legacy_phy_lo_b_measure() 1226 b43legacy_phy_write(dev, 0x0030, regstack[7]); b43legacy_phy_lo_b_measure() 1228 b43legacy_radio_write16(dev, 0x0043, regstack[8]); b43legacy_phy_lo_b_measure() 1229 b43legacy_radio_write16(dev, 0x007A, regstack[9]); b43legacy_phy_lo_b_measure() 1233 & 0x000F) | regstack[11]); b43legacy_phy_lo_b_measure() 1235 b43legacy_write16(dev, 0x03EC, regstack[10]); b43legacy_phy_lo_b_measure() 1237 b43legacy_phy_write(dev, 0x0015, regstack[0]); b43legacy_phy_lo_b_measure() 1503 u16 regstack[16] = { 0 }; b43legacy_phy_lo_g_measure() local 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() 1515 b43legacy_phy_write(dev, B43legacy_PHY_G_CRS, regstack[0] b43legacy_phy_lo_g_measure() 1517 b43legacy_phy_write(dev, 0x0802, regstack[1] & 0xFFFC); b43legacy_phy_lo_g_measure() 1519 regstack[3] = b43legacy_read16(dev, 0x03E2); b43legacy_phy_lo_g_measure() 1520 b43legacy_write16(dev, 0x03E2, regstack[3] | 0x8000); b43legacy_phy_lo_g_measure() 1521 regstack[4] = b43legacy_read16(dev, B43legacy_MMIO_CHANNEL_EXT); 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() 1526 regstack[9] = b43legacy_radio_read16(dev, 0x43); b43legacy_phy_lo_g_measure() 1527 regstack[10] = b43legacy_radio_read16(dev, 0x7A); b43legacy_phy_lo_g_measure() 1528 regstack[11] = b43legacy_radio_read16(dev, 0x52); 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() 1537 b43legacy_phy_write(dev, B43legacy_PHY_G_CRS, regstack[0] b43legacy_phy_lo_g_measure() 1539 b43legacy_phy_write(dev, 0x0802, regstack[1] & 0xFFFC); b43legacy_phy_lo_g_measure() 1549 b43legacy_phy_write(dev, 0x0035, regstack[7] & ~(1 << 7)); b43legacy_phy_lo_g_measure() 1550 b43legacy_radio_write16(dev, 0x007A, regstack[10] & 0xFFF0); b43legacy_phy_lo_g_measure() 1554 b43legacy_phy_write(dev, 0x0814, regstack[14] | 0x0003); b43legacy_phy_lo_g_measure() 1555 b43legacy_phy_write(dev, 0x0815, regstack[15] & 0xFFFC); b43legacy_phy_lo_g_measure() 1612 tmp = (regstack[10] & 0xFFF0); b43legacy_phy_lo_g_measure() 1663 tmp = (regstack[10] & 0xFFF0); b43legacy_phy_lo_g_measure() 1691 b43legacy_write16(dev, B43legacy_MMIO_CHANNEL_EXT, regstack[4]); b43legacy_phy_lo_g_measure() 1692 b43legacy_phy_write(dev, 0x0015, regstack[5]); b43legacy_phy_lo_g_measure() 1693 b43legacy_phy_write(dev, 0x002A, regstack[6]); b43legacy_phy_lo_g_measure() 1694 b43legacy_phy_write(dev, 0x0035, regstack[7]); b43legacy_phy_lo_g_measure() 1695 b43legacy_phy_write(dev, 0x0060, regstack[8]); b43legacy_phy_lo_g_measure() 1696 b43legacy_radio_write16(dev, 0x0043, regstack[9]); b43legacy_phy_lo_g_measure() 1697 b43legacy_radio_write16(dev, 0x007A, regstack[10]); b43legacy_phy_lo_g_measure() 1698 regstack[11] &= 0x00F0; b43legacy_phy_lo_g_measure() 1699 regstack[11] |= (b43legacy_radio_read16(dev, 0x52) & 0x000F); b43legacy_phy_lo_g_measure() 1700 b43legacy_radio_write16(dev, 0x52, regstack[11]); b43legacy_phy_lo_g_measure() 1701 b43legacy_write16(dev, 0x03E2, regstack[3]); b43legacy_phy_lo_g_measure() 1703 b43legacy_phy_write(dev, 0x0811, regstack[12]); b43legacy_phy_lo_g_measure() 1704 b43legacy_phy_write(dev, 0x0812, regstack[13]); b43legacy_phy_lo_g_measure() 1705 b43legacy_phy_write(dev, 0x0814, regstack[14]); b43legacy_phy_lo_g_measure() 1706 b43legacy_phy_write(dev, 0x0815, regstack[15]); b43legacy_phy_lo_g_measure() 1707 b43legacy_phy_write(dev, B43legacy_PHY_G_CRS, regstack[0]); b43legacy_phy_lo_g_measure() 1708 b43legacy_phy_write(dev, 0x0802, regstack[1]); b43legacy_phy_lo_g_measure()
|