Lines Matching refs:b43_phy_read

373 	val = b43_phy_read(dev, B43_PHY_NRSSILT_DATA);  in b43_nrssi_hw_read()
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()
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()
460 v47F = (s16) ((b43_phy_read(dev, 0x047F) >> 8) & 0x003F); in b43_calc_nrssi_offset()
468 (s16) ((b43_phy_read(dev, 0x047F) >> 8) & 0x003F); in b43_calc_nrssi_offset()
503 v47F = (s16) ((b43_phy_read(dev, 0x047F) >> 8) & 0x003F); in b43_calc_nrssi_offset()
511 (s16) ((b43_phy_read(dev, 0x047F) >> 8) & in b43_calc_nrssi_offset()
542 b43_phy_write(dev, 0x0802, b43_phy_read(dev, 0x0802) | 0x1 | 0x2); in b43_calc_nrssi_offset()
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()
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()
620 nrssi0 = (s16) ((b43_phy_read(dev, 0x047F) >> 8) & 0x003F); in b43_calc_nrssi_slope()
652 nrssi1 = (s16) ((b43_phy_read(dev, 0x047F) >> 8) & 0x003F); in b43_calc_nrssi_slope()
748 tmp_u16 = b43_phy_read(dev, 0x048A) & 0xF000; in b43_calc_nrssi_threshold()
794 b43_phy_read(dev, (offset))); \
885 if (b43_phy_read(dev, 0x0033) & 0x0800) in b43_radio_interference_mitigation_enable()
1026 if (!(b43_phy_read(dev, 0x0033) & 0x0800)) in b43_radio_interference_mitigation_disable()
1260 sav.phy_pgactl = b43_phy_read(dev, B43_PHY_PGACTL); in b43_radio_init2050()
1261 sav.phy_cck_5A = b43_phy_read(dev, B43_PHY_CCK(0x5A)); in b43_radio_init2050()
1262 sav.phy_cck_59 = b43_phy_read(dev, B43_PHY_CCK(0x59)); in b43_radio_init2050()
1263 sav.phy_cck_58 = b43_phy_read(dev, B43_PHY_CCK(0x58)); in b43_radio_init2050()
1266 sav.phy_cck_30 = b43_phy_read(dev, B43_PHY_CCK(0x30)); in b43_radio_init2050()
1272 sav.phy_rfover = b43_phy_read(dev, B43_PHY_RFOVER); in b43_radio_init2050()
1273 sav.phy_rfoverval = b43_phy_read(dev, B43_PHY_RFOVERVAL); in b43_radio_init2050()
1274 sav.phy_analogover = b43_phy_read(dev, B43_PHY_ANALOGOVER); in b43_radio_init2050()
1276 b43_phy_read(dev, B43_PHY_ANALOGOVERVAL); in b43_radio_init2050()
1277 sav.phy_crs0 = b43_phy_read(dev, B43_PHY_CRS0); in b43_radio_init2050()
1278 sav.phy_classctl = b43_phy_read(dev, B43_PHY_CLASSCTL); in b43_radio_init2050()
1285 sav.phy_lo_mask = b43_phy_read(dev, B43_PHY_LO_MASK); in b43_radio_init2050()
1286 sav.phy_lo_ctl = b43_phy_read(dev, B43_PHY_LO_CTL); in b43_radio_init2050()
1303 sav.phy_syncctl = b43_phy_read(dev, B43_PHY_SYNCCTL); in b43_radio_init2050()
1372 tmp1 += b43_phy_read(dev, B43_PHY_LO_LEAKAGE); in b43_radio_init2050()
1423 tmp2 += b43_phy_read(dev, B43_PHY_LO_LEAKAGE); in b43_radio_init2050()
1706 backup_phy[0] = b43_phy_read(dev, B43_PHY_CRS0); in b43_calc_loopback_gain()
1707 backup_phy[1] = b43_phy_read(dev, B43_PHY_CCKBBANDCFG); in b43_calc_loopback_gain()
1708 backup_phy[2] = b43_phy_read(dev, B43_PHY_RFOVER); in b43_calc_loopback_gain()
1709 backup_phy[3] = b43_phy_read(dev, B43_PHY_RFOVERVAL); in b43_calc_loopback_gain()
1711 backup_phy[4] = b43_phy_read(dev, B43_PHY_ANALOGOVER); in b43_calc_loopback_gain()
1712 backup_phy[5] = b43_phy_read(dev, B43_PHY_ANALOGOVERVAL); in b43_calc_loopback_gain()
1714 backup_phy[6] = b43_phy_read(dev, B43_PHY_CCK(0x5A)); in b43_calc_loopback_gain()
1715 backup_phy[7] = b43_phy_read(dev, B43_PHY_CCK(0x59)); in b43_calc_loopback_gain()
1716 backup_phy[8] = b43_phy_read(dev, B43_PHY_CCK(0x58)); in b43_calc_loopback_gain()
1717 backup_phy[9] = b43_phy_read(dev, B43_PHY_CCK(0x0A)); in b43_calc_loopback_gain()
1718 backup_phy[10] = b43_phy_read(dev, B43_PHY_CCK(0x03)); in b43_calc_loopback_gain()
1719 backup_phy[11] = b43_phy_read(dev, B43_PHY_LO_MASK); in b43_calc_loopback_gain()
1720 backup_phy[12] = b43_phy_read(dev, B43_PHY_LO_CTL); in b43_calc_loopback_gain()
1721 backup_phy[13] = b43_phy_read(dev, B43_PHY_CCK(0x2B)); in b43_calc_loopback_gain()
1722 backup_phy[14] = b43_phy_read(dev, B43_PHY_PGACTL); in b43_calc_loopback_gain()
1723 backup_phy[15] = b43_phy_read(dev, B43_PHY_LO_LEAKAGE); in b43_calc_loopback_gain()
1794 if (b43_phy_read(dev, B43_PHY_LO_LEAKAGE) >= 0xDFC) in b43_calc_loopback_gain()
1810 if (b43_phy_read(dev, B43_PHY_LO_LEAKAGE) >= 0xDFC) in b43_calc_loopback_gain()
1955 gphy->cur_idle_tssi = b43_phy_read(dev, B43_PHY_ITSSI); in b43_phy_init_pctl()
1985 if (b43_phy_read(dev, B43_PHY_ENCORE) & B43_PHY_ENCORE_EN) in b43_phy_inita()
2024 tmp = b43_phy_read(dev, B43_PHY_VERSION_OFDM); in b43_phy_initg()
2260 saved = b43_phy_read(dev, 0x0403); in b43_gphy_aci_detect()
2264 rssi = b43_phy_read(dev, 0x048A) & 0x3F; in b43_gphy_aci_detect()
2271 temp = (b43_phy_read(dev, 0x047F) >> 8) & 0x3F; in b43_gphy_aci_detect()
2627 rfover = b43_phy_read(dev, B43_PHY_RFOVER); in b43_gphy_op_software_rfkill()
2628 rfoverval = b43_phy_read(dev, B43_PHY_RFOVERVAL); in b43_gphy_op_software_rfkill()
2668 tmp = b43_phy_read(dev, B43_PHY_ANTDWELL); in b43_gphy_op_set_rx_antenna()
2676 tmp = b43_phy_read(dev, B43_PHY_ANTWRSETT); in b43_gphy_op_set_rx_antenna()