nphy 547 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = phy->n; nphy 551 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->deaf_count++ == 0) { nphy 552 drivers/net/wireless/broadcom/b43/phy_n.c nphy->classifier_state = b43_nphy_classifier(dev, 0, 0); nphy 555 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_read_clip_detection(dev, nphy->clip_state); nphy 560 drivers/net/wireless/broadcom/b43/phy_n.c if (--nphy->deaf_count == 0) { nphy 561 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_classifier(dev, 0x7, nphy->classifier_state); nphy 562 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_write_clip_detection(dev, nphy->clip_state); nphy 578 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 587 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 590 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->gain_boost) { nphy 606 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->elna_gain_config) { nphy 627 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 635 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 641 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 652 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 1437 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 1471 drivers/net/wireless/broadcom/b43/phy_n.c if (!nphy->gain_boost) { nphy 1505 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 1514 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 1524 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 1578 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 1601 drivers/net/wireless/broadcom/b43/phy_n.c nphy->lpf_bw_overrode_for_sample_play = true; nphy 1605 drivers/net/wireless/broadcom/b43/phy_n.c if ((nphy->bb_mult_save & 0x80000000) == 0) { nphy 1607 drivers/net/wireless/broadcom/b43/phy_n.c nphy->bb_mult_save = (tmp & 0xFFFF) | 0x80000000; nphy 2032 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 2249 drivers/net/wireless/broadcom/b43/phy_n.c rssical_radio_regs = nphy->rssical_cache.rssical_radio_regs_2G; nphy 2250 drivers/net/wireless/broadcom/b43/phy_n.c rssical_phy_regs = nphy->rssical_cache.rssical_phy_regs_2G; nphy 2252 drivers/net/wireless/broadcom/b43/phy_n.c rssical_radio_regs = nphy->rssical_cache.rssical_radio_regs_5G; nphy 2253 drivers/net/wireless/broadcom/b43/phy_n.c rssical_phy_regs = nphy->rssical_cache.rssical_phy_regs_5G; nphy 2281 drivers/net/wireless/broadcom/b43/phy_n.c nphy->rssical_chanspec_2G.center_freq = phy->chandef->chan->center_freq; nphy 2283 drivers/net/wireless/broadcom/b43/phy_n.c nphy->rssical_chanspec_5G.center_freq = phy->chandef->chan->center_freq; nphy 2576 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 2619 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->gain_boost) { nphy 2642 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->elna_gain_config) { nphy 3143 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 3201 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hw_phyrxchain != 3 && nphy 3202 drivers/net/wireless/broadcom/b43/phy_n.c nphy->hw_phyrxchain != nphy->hw_phytxchain) { nphy 3353 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = phy->n; nphy 3368 drivers/net/wireless/broadcom/b43/phy_n.c nphy->band5g_pwrgain) { nphy 3440 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = phy->n; nphy 3447 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 3461 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 3487 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 3492 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->txrx_chain == 0) { nphy 3495 drivers/net/wireless/broadcom/b43/phy_n.c } else if (nphy->txrx_chain == 1) { nphy 3516 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 3519 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 3530 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->bb_mult_save & 0x80000000) { nphy 3531 drivers/net/wireless/broadcom/b43/phy_n.c tmp = nphy->bb_mult_save & 0xFFFF; nphy 3533 drivers/net/wireless/broadcom/b43/phy_n.c nphy->bb_mult_save = 0; nphy 3536 drivers/net/wireless/broadcom/b43/phy_n.c if (phy->rev >= 7 && nphy->lpf_bw_overrode_for_sample_play) { nphy 3542 drivers/net/wireless/broadcom/b43/phy_n.c nphy->lpf_bw_overrode_for_sample_play = false; nphy 3545 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 3602 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 3607 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 3610 drivers/net/wireless/broadcom/b43/phy_n.c nphy->txpwrctrl = enable; nphy 3618 drivers/net/wireless/broadcom/b43/phy_n.c nphy->tx_pwr_idx[0] = b43_phy_read(dev, nphy 3620 drivers/net/wireless/broadcom/b43/phy_n.c nphy->tx_pwr_idx[1] = b43_phy_read(dev, nphy 3655 drivers/net/wireless/broadcom/b43/phy_n.c nphy->adj_pwr_tbl); nphy 3657 drivers/net/wireless/broadcom/b43/phy_n.c nphy->adj_pwr_tbl); nphy 3693 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->tx_pwr_idx[0] != 128 && nphy 3694 drivers/net/wireless/broadcom/b43/phy_n.c nphy->tx_pwr_idx[1] != 128) { nphy 3698 drivers/net/wireless/broadcom/b43/phy_n.c nphy->tx_pwr_idx[0]); nphy 3702 drivers/net/wireless/broadcom/b43/phy_n.c ~0xff, nphy->tx_pwr_idx[1]); nphy 3731 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 3739 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 3748 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 3843 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 3934 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 3971 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwr_ctl_info[0].idle_tssi_5g = (tmp >> 24) & 0xFF; nphy 3972 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwr_ctl_info[1].idle_tssi_5g = (tmp >> 8) & 0xFF; nphy 3974 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwr_ctl_info[0].idle_tssi_5g = (tmp >> 16) & 0xFF; nphy 3975 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwr_ctl_info[1].idle_tssi_5g = tmp & 0xFF; nphy 3977 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwr_ctl_info[0].idle_tssi_2g = (tmp >> 24) & 0xFF; nphy 3978 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwr_ctl_info[1].idle_tssi_2g = (tmp >> 8) & 0xFF; nphy 3984 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 4004 drivers/net/wireless/broadcom/b43/phy_n.c nphy->adj_pwr_tbl[i] = nphy->tx_power_offset[i]; nphy 4029 drivers/net/wireless/broadcom/b43/phy_n.c nphy->adj_pwr_tbl[4 + 4 * i + stf_mode] = nphy 4030 drivers/net/wireless/broadcom/b43/phy_n.c nphy->tx_power_offset[idx]; nphy 4046 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 4067 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 4082 drivers/net/wireless/broadcom/b43/phy_n.c idle[0] = nphy->pwr_ctl_info[0].idle_tssi_2g; nphy 4083 drivers/net/wireless/broadcom/b43/phy_n.c idle[1] = nphy->pwr_ctl_info[1].idle_tssi_2g; nphy 4091 drivers/net/wireless/broadcom/b43/phy_n.c idle[c] = nphy->pwr_ctl_info[c].idle_tssi_2g; nphy 4099 drivers/net/wireless/broadcom/b43/phy_n.c idle[c] = nphy->pwr_ctl_info[c].idle_tssi_5g; nphy 4107 drivers/net/wireless/broadcom/b43/phy_n.c idle[c] = nphy->pwr_ctl_info[c].idle_tssi_5g; nphy 4115 drivers/net/wireless/broadcom/b43/phy_n.c idle[c] = nphy->pwr_ctl_info[c].idle_tssi_5g; nphy 4122 drivers/net/wireless/broadcom/b43/phy_n.c idle[0] = nphy->pwr_ctl_info[0].idle_tssi_5g; nphy 4123 drivers/net/wireless/broadcom/b43/phy_n.c idle[1] = nphy->pwr_ctl_info[1].idle_tssi_5g; nphy 4131 drivers/net/wireless/broadcom/b43/phy_n.c ppr_max = b43_ppr_get_max(dev, &nphy->tx_pwr_max_ppr); nphy 4210 drivers/net/wireless/broadcom/b43/phy_n.c b43_ntab_write_bulk(dev, B43_NTAB16(26, 64), 84, nphy->adj_pwr_tbl); nphy 4211 drivers/net/wireless/broadcom/b43/phy_n.c b43_ntab_write_bulk(dev, B43_NTAB16(27, 64), 84, nphy->adj_pwr_tbl); nphy 4213 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 4238 drivers/net/wireless/broadcom/b43/phy_n.c nphy->gmval = (table[0] >> 16) & 0x7000; nphy 4278 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 4283 drivers/net/wireless/broadcom/b43/phy_n.c nphy->rfctrl_intc1_save = b43_phy_read(dev, nphy 4285 drivers/net/wireless/broadcom/b43/phy_n.c nphy->rfctrl_intc2_save = b43_phy_read(dev, nphy 4305 drivers/net/wireless/broadcom/b43/phy_n.c nphy->rfctrl_intc1_save); nphy 4307 drivers/net/wireless/broadcom/b43/phy_n.c nphy->rfctrl_intc2_save); nphy 4592 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 4600 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 4603 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->gband_spurwar_en) { nphy 4612 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->aband_spurwar_en) { nphy 4644 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 4651 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 4658 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 4710 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 4720 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 4726 drivers/net/wireless/broadcom/b43/phy_n.c if (!nphy->rssical_chanspec_2G.center_freq) nphy 4728 drivers/net/wireless/broadcom/b43/phy_n.c rssical_radio_regs = nphy->rssical_cache.rssical_radio_regs_2G; nphy 4729 drivers/net/wireless/broadcom/b43/phy_n.c rssical_phy_regs = nphy->rssical_cache.rssical_phy_regs_2G; nphy 4731 drivers/net/wireless/broadcom/b43/phy_n.c if (!nphy->rssical_chanspec_5G.center_freq) nphy 4733 drivers/net/wireless/broadcom/b43/phy_n.c rssical_radio_regs = nphy->rssical_cache.rssical_radio_regs_5G; nphy 4734 drivers/net/wireless/broadcom/b43/phy_n.c rssical_phy_regs = nphy->rssical_cache.rssical_phy_regs_5G; nphy 4775 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 4776 drivers/net/wireless/broadcom/b43/phy_n.c u16 *save = nphy->tx_rx_cal_radio_saveregs; nphy 4801 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->use_int_tx_iq_lo_cal) { nphy 4815 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->use_int_tx_iq_lo_cal) { nphy 4829 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 4830 drivers/net/wireless/broadcom/b43/phy_n.c u16 *save = nphy->tx_rx_cal_radio_saveregs; nphy 4861 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->ipa5g_on) { nphy 4876 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->ipa2g_on) { nphy 4927 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 4931 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp = nphy->txcal_bbmult; nphy 5008 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 5014 drivers/net/wireless/broadcom/b43/phy_n.c if (!nphy->txpwrctrl) { nphy 5017 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 5020 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 5113 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 5145 drivers/net/wireless/broadcom/b43/phy_n.c if (!nphy->use_int_tx_iq_lo_cal) nphy 5167 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->use_int_tx_iq_lo_cal && true /* FIXME */) { nphy 5214 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 5221 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 5225 drivers/net/wireless/broadcom/b43/phy_n.c rxcal_coeffs = &nphy->cal_cache.rxcal_coeffs_2G; nphy 5226 drivers/net/wireless/broadcom/b43/phy_n.c txcal_radio_regs = nphy->cal_cache.txcal_radio_regs_2G; nphy 5227 drivers/net/wireless/broadcom/b43/phy_n.c iqcal_chanspec = &nphy->iqcal_chanspec_2G; nphy 5228 drivers/net/wireless/broadcom/b43/phy_n.c table = nphy->cal_cache.txcal_coeffs_2G; nphy 5230 drivers/net/wireless/broadcom/b43/phy_n.c rxcal_coeffs = &nphy->cal_cache.rxcal_coeffs_5G; nphy 5231 drivers/net/wireless/broadcom/b43/phy_n.c txcal_radio_regs = nphy->cal_cache.txcal_radio_regs_5G; nphy 5232 drivers/net/wireless/broadcom/b43/phy_n.c iqcal_chanspec = &nphy->iqcal_chanspec_5G; nphy 5233 drivers/net/wireless/broadcom/b43/phy_n.c table = nphy->cal_cache.txcal_coeffs_5G; nphy 5277 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 5285 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 5296 drivers/net/wireless/broadcom/b43/phy_n.c if (!nphy->iqcal_chanspec_2G.center_freq) nphy 5298 drivers/net/wireless/broadcom/b43/phy_n.c table = nphy->cal_cache.txcal_coeffs_2G; nphy 5299 drivers/net/wireless/broadcom/b43/phy_n.c loft = &nphy->cal_cache.txcal_coeffs_2G[5]; nphy 5301 drivers/net/wireless/broadcom/b43/phy_n.c if (!nphy->iqcal_chanspec_5G.center_freq) nphy 5303 drivers/net/wireless/broadcom/b43/phy_n.c table = nphy->cal_cache.txcal_coeffs_5G; nphy 5304 drivers/net/wireless/broadcom/b43/phy_n.c loft = &nphy->cal_cache.txcal_coeffs_5G[5]; nphy 5324 drivers/net/wireless/broadcom/b43/phy_n.c txcal_radio_regs = nphy->cal_cache.txcal_radio_regs_2G; nphy 5325 drivers/net/wireless/broadcom/b43/phy_n.c rxcal_coeffs = &nphy->cal_cache.rxcal_coeffs_2G; nphy 5327 drivers/net/wireless/broadcom/b43/phy_n.c txcal_radio_regs = nphy->cal_cache.txcal_radio_regs_5G; nphy 5328 drivers/net/wireless/broadcom/b43/phy_n.c rxcal_coeffs = &nphy->cal_cache.rxcal_coeffs_5G; nphy 5375 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 5395 drivers/net/wireless/broadcom/b43/phy_n.c avoid = nphy->hang_avoid; nphy 5396 drivers/net/wireless/broadcom/b43/phy_n.c nphy->hang_avoid = false; nphy 5412 drivers/net/wireless/broadcom/b43/phy_n.c (dev->phy.rev == 5 && nphy->ipa2g_on && nphy 5441 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->mphase_cal_phase_id > 2) nphy 5448 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->mphase_cal_phase_id > 2) { nphy 5449 drivers/net/wireless/broadcom/b43/phy_n.c table = nphy->mphase_txcal_bestcoeffs; nphy 5454 drivers/net/wireless/broadcom/b43/phy_n.c if (!full && nphy->txiqlocal_coeffsvalid) { nphy 5455 drivers/net/wireless/broadcom/b43/phy_n.c table = nphy->txiqlocal_bestc; nphy 5486 drivers/net/wireless/broadcom/b43/phy_n.c count = nphy->mphase_txcal_cmdidx; nphy 5488 drivers/net/wireless/broadcom/b43/phy_n.c (u16)(count + nphy->mphase_txcal_numcmds)); nphy 5545 drivers/net/wireless/broadcom/b43/phy_n.c nphy->mphase_txcal_cmdidx = (numb >= max) ? 0 : numb; nphy 5549 drivers/net/wireless/broadcom/b43/phy_n.c if (!mphase || nphy->mphase_cal_phase_id == last) { nphy 5570 drivers/net/wireless/broadcom/b43/phy_n.c nphy->txiqlocal_bestc); nphy 5571 drivers/net/wireless/broadcom/b43/phy_n.c nphy->txiqlocal_coeffsvalid = true; nphy 5572 drivers/net/wireless/broadcom/b43/phy_n.c nphy->txiqlocal_chanspec.center_freq = nphy 5574 drivers/net/wireless/broadcom/b43/phy_n.c nphy->txiqlocal_chanspec.channel_type = nphy 5581 drivers/net/wireless/broadcom/b43/phy_n.c nphy->mphase_txcal_bestcoeffs); nphy 5591 drivers/net/wireless/broadcom/b43/phy_n.c if (dev->phy.rev < 2 && (!mphase || nphy->mphase_cal_phase_id == last)) nphy 5595 drivers/net/wireless/broadcom/b43/phy_n.c nphy->hang_avoid = avoid; nphy 5605 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 5610 drivers/net/wireless/broadcom/b43/phy_n.c if (!nphy->txiqlocal_coeffsvalid || nphy 5611 drivers/net/wireless/broadcom/b43/phy_n.c nphy->txiqlocal_chanspec.center_freq != dev->phy.chandef->chan->center_freq || nphy 5612 drivers/net/wireless/broadcom/b43/phy_n.c nphy->txiqlocal_chanspec.channel_type != cfg80211_get_chandef_type(dev->phy.chandef)) nphy 5617 drivers/net/wireless/broadcom/b43/phy_n.c if (buffer[i] != nphy->txiqlocal_bestc[i]) { nphy 5625 drivers/net/wireless/broadcom/b43/phy_n.c nphy->txiqlocal_bestc); nphy 5631 drivers/net/wireless/broadcom/b43/phy_n.c &nphy->txiqlocal_bestc[5]); nphy 5633 drivers/net/wireless/broadcom/b43/phy_n.c &nphy->txiqlocal_bestc[5]); nphy 5641 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 5702 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->rxcalparams & 0xFF000000) { nphy 5719 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->rxcalparams & 0x10000) { nphy 5767 drivers/net/wireless/broadcom/b43/phy_n.c (nphy->rxcalparams & 0xFFFF), nphy 5841 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = phy->n; nphy 5844 drivers/net/wireless/broadcom/b43/phy_n.c nphy->phyrxchain = mask; nphy 5851 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 5871 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->hang_avoid) nphy 5881 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 5883 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_ppr *ppr = &nphy->tx_pwr_max_ppr; nphy 5886 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->tx_pwr_last_recalc_freq == channel->center_freq && nphy 5887 drivers/net/wireless/broadcom/b43/phy_n.c nphy->tx_pwr_last_recalc_limit == phy->desired_txpower) nphy 5927 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_tx_power_ctrl(dev, nphy->txpwrctrl); nphy 5932 drivers/net/wireless/broadcom/b43/phy_n.c nphy->tx_pwr_last_recalc_freq = channel->center_freq; nphy 5933 drivers/net/wireless/broadcom/b43/phy_n.c nphy->tx_pwr_last_recalc_limit = phy->desired_txpower; nphy 6028 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = phy->n; nphy 6055 drivers/net/wireless/broadcom/b43/phy_n.c nphy->use_int_tx_iq_lo_cal = b43_nphy_ipa(dev) || nphy 6059 drivers/net/wireless/broadcom/b43/phy_n.c nphy->deaf_count = 0; nphy 6061 drivers/net/wireless/broadcom/b43/phy_n.c nphy->crsminpwr_adjusted = false; nphy 6062 drivers/net/wireless/broadcom/b43/phy_n.c nphy->noisevars_adjusted = false; nphy 6116 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_update_mimo_config(dev, nphy->preamble_override); nphy 6128 drivers/net/wireless/broadcom/b43/phy_n.c nphy->papd_epsilon_offset[0] << 7); nphy 6131 drivers/net/wireless/broadcom/b43/phy_n.c nphy->papd_epsilon_offset[1] << 7); nphy 6160 drivers/net/wireless/broadcom/b43/phy_n.c tx_pwr_state = nphy->txpwrctrl; nphy 6167 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->phyrxchain != 3) nphy 6168 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_set_rx_core_state(dev, nphy->phyrxchain); nphy 6169 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->mphase_cal_phase_id > 0) nphy 6175 drivers/net/wireless/broadcom/b43/phy_n.c do_rssi_cal = !nphy->rssical_chanspec_2G.center_freq; nphy 6177 drivers/net/wireless/broadcom/b43/phy_n.c do_rssi_cal = !nphy->rssical_chanspec_5G.center_freq; nphy 6187 drivers/net/wireless/broadcom/b43/phy_n.c if (!((nphy->measure_hold & 0x6) != 0)) { nphy 6189 drivers/net/wireless/broadcom/b43/phy_n.c do_cal = !nphy->iqcal_chanspec_2G.center_freq; nphy 6191 drivers/net/wireless/broadcom/b43/phy_n.c do_cal = !nphy->iqcal_chanspec_5G.center_freq; nphy 6193 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->mute) nphy 6199 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->antsel_type == 2) nphy 6201 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->perical != 2) { nphy 6204 drivers/net/wireless/broadcom/b43/phy_n.c nphy->cal_orig_pwr_idx[0] = nphy 6205 drivers/net/wireless/broadcom/b43/phy_n.c nphy->txpwrindex[0].index_internal; nphy 6206 drivers/net/wireless/broadcom/b43/phy_n.c nphy->cal_orig_pwr_idx[1] = nphy 6207 drivers/net/wireless/broadcom/b43/phy_n.c nphy->txpwrindex[1].index_internal; nphy 6214 drivers/net/wireless/broadcom/b43/phy_n.c } else if (nphy->mphase_cal_phase_id == 0) nphy 6274 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = dev->phy.n; nphy 6310 drivers/net/wireless/broadcom/b43/phy_n.c if (!nphy->txpwrctrl) nphy 6345 drivers/net/wireless/broadcom/b43/phy_n.c if (nphy->aband_spurwar_en && nphy 6464 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy; nphy 6466 drivers/net/wireless/broadcom/b43/phy_n.c nphy = kzalloc(sizeof(*nphy), GFP_KERNEL); nphy 6467 drivers/net/wireless/broadcom/b43/phy_n.c if (!nphy) nphy 6470 drivers/net/wireless/broadcom/b43/phy_n.c dev->phy.n = nphy; nphy 6478 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = phy->n; nphy 6481 drivers/net/wireless/broadcom/b43/phy_n.c memset(nphy, 0, sizeof(*nphy)); nphy 6483 drivers/net/wireless/broadcom/b43/phy_n.c nphy->hang_avoid = (phy->rev == 3 || phy->rev == 4); nphy 6484 drivers/net/wireless/broadcom/b43/phy_n.c nphy->spur_avoid = (phy->rev >= 3) ? nphy 6486 drivers/net/wireless/broadcom/b43/phy_n.c nphy->gain_boost = true; /* this way we follow wl, assume it is true */ nphy 6487 drivers/net/wireless/broadcom/b43/phy_n.c nphy->txrx_chain = 2; /* sth different than 0 and 1 for now */ nphy 6488 drivers/net/wireless/broadcom/b43/phy_n.c nphy->phyrxchain = 3; /* to avoid b43_nphy_set_rx_core_state like wl */ nphy 6489 drivers/net/wireless/broadcom/b43/phy_n.c nphy->perical = 2; /* avoid additional rssi cal on init (like wl) */ nphy 6492 drivers/net/wireless/broadcom/b43/phy_n.c nphy->tx_pwr_idx[0] = 128; nphy 6493 drivers/net/wireless/broadcom/b43/phy_n.c nphy->tx_pwr_idx[1] = 128; nphy 6496 drivers/net/wireless/broadcom/b43/phy_n.c nphy->txpwrctrl = false; nphy 6497 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwg_gain_5ghz = false; nphy 6501 drivers/net/wireless/broadcom/b43/phy_n.c nphy->txpwrctrl = true; nphy 6502 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwg_gain_5ghz = true; nphy 6506 drivers/net/wireless/broadcom/b43/phy_n.c nphy->txpwrctrl = true; nphy 6514 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwg_gain_5ghz = true; nphy 6518 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwg_gain_5ghz = true; nphy 6523 drivers/net/wireless/broadcom/b43/phy_n.c nphy->ipa2g_on = sprom->fem.ghz2.extpa_gain == 2; nphy 6524 drivers/net/wireless/broadcom/b43/phy_n.c nphy->ipa5g_on = sprom->fem.ghz5.extpa_gain == 2; nphy 6531 drivers/net/wireless/broadcom/b43/phy_n.c struct b43_phy_n *nphy = phy->n; nphy 6533 drivers/net/wireless/broadcom/b43/phy_n.c kfree(nphy);