lpphy 44 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy; lpphy 46 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy = kzalloc(sizeof(*lpphy), GFP_KERNEL); lpphy 47 drivers/net/wireless/broadcom/b43/phy_lp.c if (!lpphy) lpphy 49 drivers/net/wireless/broadcom/b43/phy_lp.c dev->phy.lp = lpphy; lpphy 57 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = phy->lp; lpphy 59 drivers/net/wireless/broadcom/b43/phy_lp.c memset(lpphy, 0, sizeof(*lpphy)); lpphy 60 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->antenna = B43_ANTENNA_DEFAULT; lpphy 67 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 69 drivers/net/wireless/broadcom/b43/phy_lp.c kfree(lpphy); lpphy 77 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 83 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_isolation_med_band = sprom->tri2g; lpphy 84 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->bx_arch = sprom->bxa2g; lpphy 85 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rx_pwr_offset = sprom->rxpo2g; lpphy 86 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rssi_vf = sprom->rssismf2g; lpphy 87 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rssi_vc = sprom->rssismc2g; lpphy 88 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rssi_gs = sprom->rssisav2g; lpphy 89 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpa[0] = sprom->pa0b0; lpphy 90 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpa[1] = sprom->pa0b1; lpphy 91 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpa[2] = sprom->pa0b2; lpphy 93 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->max_tx_pwr_med_band = maxpwr; lpphy 98 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_max_rate[i] = lpphy 104 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_max_rate[i] = lpphy 111 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_max_rate[i] = maxpwr; lpphy 113 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_max_rate[i] = maxpwr - opo; lpphy 116 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_isolation_low_band = sprom->tri5gl; lpphy 117 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_isolation_med_band = sprom->tri5g; lpphy 118 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_isolation_hi_band = sprom->tri5gh; lpphy 119 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->bx_arch = sprom->bxa5g; lpphy 120 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rx_pwr_offset = sprom->rxpo5g; lpphy 121 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rssi_vf = sprom->rssismf5g; lpphy 122 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rssi_vc = sprom->rssismc5g; lpphy 123 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rssi_gs = sprom->rssisav5g; lpphy 124 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpa[0] = sprom->pa1b0; lpphy 125 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpa[1] = sprom->pa1b1; lpphy 126 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpa[2] = sprom->pa1b2; lpphy 127 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpal[0] = sprom->pa1lob0; lpphy 128 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpal[1] = sprom->pa1lob1; lpphy 129 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpal[2] = sprom->pa1lob2; lpphy 130 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpah[0] = sprom->pa1hib0; lpphy 131 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpah[1] = sprom->pa1hib1; lpphy 132 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpah[2] = sprom->pa1hib2; lpphy 135 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->max_tx_pwr_low_band = maxpwr; lpphy 137 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_max_ratel[i] = maxpwr - (ofdmpo & 0xF) * 2; lpphy 142 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->max_tx_pwr_med_band = maxpwr; lpphy 144 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_max_rate[i] = maxpwr - (ofdmpo & 0xF) * 2; lpphy 149 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->max_tx_pwr_hi_band = maxpwr; lpphy 151 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_max_rateh[i] = maxpwr - (ofdmpo & 0xF) * 2; lpphy 159 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 166 drivers/net/wireless/broadcom/b43/phy_lp.c isolation = lpphy->tx_isolation_med_band; lpphy 168 drivers/net/wireless/broadcom/b43/phy_lp.c isolation = lpphy->tx_isolation_low_band; lpphy 170 drivers/net/wireless/broadcom/b43/phy_lp.c isolation = lpphy->tx_isolation_med_band; lpphy 172 drivers/net/wireless/broadcom/b43/phy_lp.c isolation = lpphy->tx_isolation_hi_band; lpphy 201 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 227 drivers/net/wireless/broadcom/b43/phy_lp.c 0xFF00, lpphy->rx_pwr_offset); lpphy 244 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = lpphy->rssi_vf | lpphy->rssi_vc << 4 | 0xA000; lpphy 252 drivers/net/wireless/broadcom/b43/phy_lp.c 0xFFF9, (lpphy->bx_arch << 1)); lpphy 366 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 370 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->dig_flt_state[i] = b43_phy_read(dev, addr[i]); lpphy 389 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 393 drivers/net/wireless/broadcom/b43/phy_lp.c b43_phy_write(dev, addr[i], lpphy->dig_flt_state[i]); lpphy 398 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 469 drivers/net/wireless/broadcom/b43/phy_lp.c b43_phy_maskset(dev, B43_LPPHY_INPUT_PWRDB, 0xFF00, lpphy->rx_pwr_offset); lpphy 474 drivers/net/wireless/broadcom/b43/phy_lp.c 0x2000 | ((u16)lpphy->rssi_gs << 10) | lpphy 475 drivers/net/wireless/broadcom/b43/phy_lp.c ((u16)lpphy->rssi_vc << 4) | lpphy->rssi_vf); lpphy 503 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 550 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->pdiv = 1; lpphy 553 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->pdiv = 2; lpphy 557 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = (((800000000 * lpphy->pdiv + crystalfreq) / lpphy 561 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = (((100 * crystalfreq + 16000000 * lpphy->pdiv) / lpphy 562 drivers/net/wireless/broadcom/b43/phy_lp.c (32000000 * lpphy->pdiv)) - 1) & 0xFF; lpphy 565 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = (((2 * crystalfreq + 1000000 * lpphy->pdiv) / lpphy 566 drivers/net/wireless/broadcom/b43/phy_lp.c (2000000 * lpphy->pdiv)) - 1) & 0xFF; lpphy 569 drivers/net/wireless/broadcom/b43/phy_lp.c ref = (1000 * lpphy->pdiv + 2 * crystalfreq) / (2000 * lpphy->pdiv); lpphy 692 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 694 drivers/net/wireless/broadcom/b43/phy_lp.c u8 rc_cap = (lpphy->rc_cap & 0x1F) >> 1; lpphy 700 drivers/net/wireless/broadcom/b43/phy_lp.c max_t(u8, lpphy->rc_cap - 4, 0x80)); lpphy 703 drivers/net/wireless/broadcom/b43/phy_lp.c ((lpphy->rc_cap & 0x1F) >> 2) | 0x80); lpphy 718 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 721 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->crs_usr_disable = true; lpphy 723 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->crs_sys_disable = true; lpphy 729 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 732 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->crs_usr_disable = false; lpphy 734 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->crs_sys_disable = false; lpphy 736 drivers/net/wireless/broadcom/b43/phy_lp.c if (!lpphy->crs_usr_disable && !lpphy->crs_sys_disable) { lpphy 1088 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 1094 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpctl_mode = B43_LPPHY_TXPCTL_OFF; lpphy 1097 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpctl_mode = B43_LPPHY_TXPCTL_SW; lpphy 1100 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpctl_mode = B43_LPPHY_TXPCTL_HW; lpphy 1103 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpctl_mode = B43_LPPHY_TXPCTL_UNKNOWN; lpphy 1112 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 1115 drivers/net/wireless/broadcom/b43/phy_lp.c switch (lpphy->txpctl_mode) { lpphy 1136 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 1140 drivers/net/wireless/broadcom/b43/phy_lp.c oldmode = lpphy->txpctl_mode; lpphy 1143 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->txpctl_mode = mode; lpphy 1152 drivers/net/wireless/broadcom/b43/phy_lp.c 0xFF80, lpphy->tssi_idx); lpphy 1154 drivers/net/wireless/broadcom/b43/phy_lp.c 0x8FFF, ((u16)lpphy->tssi_npt << 16)); lpphy 1157 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_pwr_idx_over = -1; lpphy 1174 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 1211 drivers/net/wireless/broadcom/b43/phy_lp.c old_txpctl = lpphy->txpctl_mode; lpphy 1239 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->rc_cap = i; lpphy 1268 drivers/net/wireless/broadcom/b43/phy_lp.c if (lpphy->rc_cap) lpphy 1330 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 1334 drivers/net/wireless/broadcom/b43/phy_lp.c } else if (!lpphy->rc_cap) { lpphy 1371 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 1375 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_pwr_idx_over = index; lpphy 1377 drivers/net/wireless/broadcom/b43/phy_lp.c if (lpphy->txpctl_mode != B43_LPPHY_TXPCTL_OFF) lpphy 1446 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 1451 drivers/net/wireless/broadcom/b43/phy_lp.c if ((dev->phy.rev == 1) && (lpphy->rc_cap)) lpphy 1566 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 1580 drivers/net/wireless/broadcom/b43/phy_lp.c txpctl_mode = lpphy->txpctl_mode; lpphy 1581 drivers/net/wireless/broadcom/b43/phy_lp.c tx_pwr_idx_over = lpphy->tx_pwr_idx_over; lpphy 1582 drivers/net/wireless/broadcom/b43/phy_lp.c tssi_npt = lpphy->tssi_npt; lpphy 1583 drivers/net/wireless/broadcom/b43/phy_lp.c tssi_idx = lpphy->tssi_idx; lpphy 1605 drivers/net/wireless/broadcom/b43/phy_lp.c b43_write16(dev, B43_MMIO_CHANNEL, lpphy->channel); lpphy 1606 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tssi_npt = tssi_npt; lpphy 1607 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tssi_idx = tssi_idx; lpphy 1608 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy_set_analog_filter(dev, lpphy->channel); lpphy 1611 drivers/net/wireless/broadcom/b43/phy_lp.c if (lpphy->rc_cap) lpphy 1613 drivers/net/wireless/broadcom/b43/phy_lp.c b43_lpphy_op_set_rx_antenna(dev, lpphy->antenna); lpphy 1769 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 1775 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_tone_freq = freq; lpphy 1802 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 1805 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_tone_freq = 0; lpphy 1818 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 1823 drivers/net/wireless/broadcom/b43/phy_lp.c old_txpctl = lpphy->txpctl_mode; lpphy 1842 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 1853 drivers/net/wireless/broadcom/b43/phy_lp.c if (lpphy_5354_iq_table[i].chan == lpphy->channel) { lpphy 1861 drivers/net/wireless/broadcom/b43/phy_lp.c if (lpphy_rev0_1_iq_table[i].chan == lpphy->channel) { lpphy 1934 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 1938 drivers/net/wireless/broadcom/b43/phy_lp.c if (lpphy->full_calib_chan != lpphy->channel) { lpphy 1940 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->full_calib_chan = lpphy->channel; lpphy 1949 drivers/net/wireless/broadcom/b43/phy_lp.c saved_pctl_mode = lpphy->txpctl_mode; lpphy 2389 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 2418 drivers/net/wireless/broadcom/b43/phy_lp.c tmp2 = lpphy->pdiv * 1000; lpphy 2603 drivers/net/wireless/broadcom/b43/phy_lp.c struct b43_phy_lp *lpphy = dev->phy.lp; lpphy 2618 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->channel = new_channel;