Lines Matching refs:nphy
547 struct b43_phy_n *nphy = phy->n; in b43_nphy_stay_in_carrier_search() local
551 if (nphy->deaf_count++ == 0) { in b43_nphy_stay_in_carrier_search()
552 nphy->classifier_state = b43_nphy_classifier(dev, 0, 0); in b43_nphy_stay_in_carrier_search()
555 b43_nphy_read_clip_detection(dev, nphy->clip_state); in b43_nphy_stay_in_carrier_search()
560 if (--nphy->deaf_count == 0) { in b43_nphy_stay_in_carrier_search()
561 b43_nphy_classifier(dev, 0x7, nphy->classifier_state); in b43_nphy_stay_in_carrier_search()
562 b43_nphy_write_clip_detection(dev, nphy->clip_state); in b43_nphy_stay_in_carrier_search()
578 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_adjust_lna_gain_table() local
587 if (nphy->hang_avoid) in b43_nphy_adjust_lna_gain_table()
590 if (nphy->gain_boost) { in b43_nphy_adjust_lna_gain_table()
606 if (nphy->elna_gain_config) { in b43_nphy_adjust_lna_gain_table()
627 if (nphy->hang_avoid) in b43_nphy_adjust_lna_gain_table()
635 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_set_rf_sequence() local
641 if (nphy->hang_avoid) in b43_nphy_set_rf_sequence()
652 if (nphy->hang_avoid) in b43_nphy_set_rf_sequence()
1437 struct b43_phy_n *nphy = dev->phy.n; in b43_radio_init2055_post() local
1471 if (!nphy->gain_boost) { in b43_radio_init2055_post()
1505 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_load_samples() local
1514 if (nphy->hang_avoid) in b43_nphy_load_samples()
1524 if (nphy->hang_avoid) in b43_nphy_load_samples()
1578 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_run_samples() local
1601 nphy->lpf_bw_overrode_for_sample_play = true; in b43_nphy_run_samples()
1605 if ((nphy->bb_mult_save & 0x80000000) == 0) { in b43_nphy_run_samples()
1607 nphy->bb_mult_save = (tmp & 0xFFFF) | 0x80000000; in b43_nphy_run_samples()
2032 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_rev3_rssi_cal() local
2249 rssical_radio_regs = nphy->rssical_cache.rssical_radio_regs_2G; in b43_nphy_rev3_rssi_cal()
2250 rssical_phy_regs = nphy->rssical_cache.rssical_phy_regs_2G; in b43_nphy_rev3_rssi_cal()
2252 rssical_radio_regs = nphy->rssical_cache.rssical_radio_regs_5G; in b43_nphy_rev3_rssi_cal()
2253 rssical_phy_regs = nphy->rssical_cache.rssical_phy_regs_5G; in b43_nphy_rev3_rssi_cal()
2281 nphy->rssical_chanspec_2G.center_freq = phy->chandef->chan->center_freq; in b43_nphy_rev3_rssi_cal()
2283 nphy->rssical_chanspec_5G.center_freq = phy->chandef->chan->center_freq; in b43_nphy_rev3_rssi_cal()
2572 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_gain_ctl_workarounds_rev1_2() local
2615 if (nphy->gain_boost) { in b43_nphy_gain_ctl_workarounds_rev1_2()
2638 if (nphy->elna_gain_config) { in b43_nphy_gain_ctl_workarounds_rev1_2()
3139 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_workarounds_rev3plus() local
3197 if (nphy->hw_phyrxchain != 3 && in b43_nphy_workarounds_rev3plus()
3198 nphy->hw_phyrxchain != nphy->hw_phytxchain) { in b43_nphy_workarounds_rev3plus()
3350 struct b43_phy_n *nphy = phy->n; in b43_nphy_workarounds_rev1_2() local
3365 nphy->band5g_pwrgain) { in b43_nphy_workarounds_rev1_2()
3437 struct b43_phy_n *nphy = phy->n; in b43_nphy_workarounds() local
3444 if (nphy->hang_avoid) in b43_nphy_workarounds()
3458 if (nphy->hang_avoid) in b43_nphy_workarounds()
3484 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_update_txrx_chain() local
3489 if (nphy->txrx_chain == 0) { in b43_nphy_update_txrx_chain()
3492 } else if (nphy->txrx_chain == 1) { in b43_nphy_update_txrx_chain()
3513 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_stop_playback() local
3516 if (nphy->hang_avoid) in b43_nphy_stop_playback()
3527 if (nphy->bb_mult_save & 0x80000000) { in b43_nphy_stop_playback()
3528 tmp = nphy->bb_mult_save & 0xFFFF; in b43_nphy_stop_playback()
3530 nphy->bb_mult_save = 0; in b43_nphy_stop_playback()
3533 if (phy->rev >= 7 && nphy->lpf_bw_overrode_for_sample_play) { in b43_nphy_stop_playback()
3539 nphy->lpf_bw_overrode_for_sample_play = false; in b43_nphy_stop_playback()
3542 if (nphy->hang_avoid) in b43_nphy_stop_playback()
3599 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_tx_power_ctrl() local
3604 if (nphy->hang_avoid) in b43_nphy_tx_power_ctrl()
3607 nphy->txpwrctrl = enable; in b43_nphy_tx_power_ctrl()
3615 nphy->tx_pwr_idx[0] = b43_phy_read(dev, in b43_nphy_tx_power_ctrl()
3617 nphy->tx_pwr_idx[1] = b43_phy_read(dev, in b43_nphy_tx_power_ctrl()
3652 nphy->adj_pwr_tbl); in b43_nphy_tx_power_ctrl()
3654 nphy->adj_pwr_tbl); in b43_nphy_tx_power_ctrl()
3690 if (nphy->tx_pwr_idx[0] != 128 && in b43_nphy_tx_power_ctrl()
3691 nphy->tx_pwr_idx[1] != 128) { in b43_nphy_tx_power_ctrl()
3695 nphy->tx_pwr_idx[0]); in b43_nphy_tx_power_ctrl()
3699 ~0xff, nphy->tx_pwr_idx[1]); in b43_nphy_tx_power_ctrl()
3728 if (nphy->hang_avoid) in b43_nphy_tx_power_ctrl()
3736 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_tx_power_fix() local
3745 if (nphy->hang_avoid) in b43_nphy_tx_power_fix()
3840 if (nphy->hang_avoid) in b43_nphy_tx_power_fix()
3931 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_tx_power_ctl_idle_tssi() local
3968 nphy->pwr_ctl_info[0].idle_tssi_5g = (tmp >> 24) & 0xFF; in b43_nphy_tx_power_ctl_idle_tssi()
3969 nphy->pwr_ctl_info[1].idle_tssi_5g = (tmp >> 8) & 0xFF; in b43_nphy_tx_power_ctl_idle_tssi()
3971 nphy->pwr_ctl_info[0].idle_tssi_5g = (tmp >> 16) & 0xFF; in b43_nphy_tx_power_ctl_idle_tssi()
3972 nphy->pwr_ctl_info[1].idle_tssi_5g = tmp & 0xFF; in b43_nphy_tx_power_ctl_idle_tssi()
3974 nphy->pwr_ctl_info[0].idle_tssi_2g = (tmp >> 24) & 0xFF; in b43_nphy_tx_power_ctl_idle_tssi()
3975 nphy->pwr_ctl_info[1].idle_tssi_2g = (tmp >> 8) & 0xFF; in b43_nphy_tx_power_ctl_idle_tssi()
3981 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_tx_prepare_adjusted_power_table() local
4001 nphy->adj_pwr_tbl[i] = nphy->tx_power_offset[i]; in b43_nphy_tx_prepare_adjusted_power_table()
4026 nphy->adj_pwr_tbl[4 + 4 * i + stf_mode] = in b43_nphy_tx_prepare_adjusted_power_table()
4027 nphy->tx_power_offset[idx]; in b43_nphy_tx_prepare_adjusted_power_table()
4043 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_tx_power_ctl_setup() local
4064 if (nphy->hang_avoid) in b43_nphy_tx_power_ctl_setup()
4079 idle[0] = nphy->pwr_ctl_info[0].idle_tssi_2g; in b43_nphy_tx_power_ctl_setup()
4080 idle[1] = nphy->pwr_ctl_info[1].idle_tssi_2g; in b43_nphy_tx_power_ctl_setup()
4088 idle[c] = nphy->pwr_ctl_info[c].idle_tssi_2g; in b43_nphy_tx_power_ctl_setup()
4096 idle[c] = nphy->pwr_ctl_info[c].idle_tssi_5g; in b43_nphy_tx_power_ctl_setup()
4104 idle[c] = nphy->pwr_ctl_info[c].idle_tssi_5g; in b43_nphy_tx_power_ctl_setup()
4112 idle[c] = nphy->pwr_ctl_info[c].idle_tssi_5g; in b43_nphy_tx_power_ctl_setup()
4119 idle[0] = nphy->pwr_ctl_info[0].idle_tssi_5g; in b43_nphy_tx_power_ctl_setup()
4120 idle[1] = nphy->pwr_ctl_info[1].idle_tssi_5g; in b43_nphy_tx_power_ctl_setup()
4128 ppr_max = b43_ppr_get_max(dev, &nphy->tx_pwr_max_ppr); in b43_nphy_tx_power_ctl_setup()
4207 b43_ntab_write_bulk(dev, B43_NTAB16(26, 64), 84, nphy->adj_pwr_tbl); in b43_nphy_tx_power_ctl_setup()
4208 b43_ntab_write_bulk(dev, B43_NTAB16(27, 64), 84, nphy->adj_pwr_tbl); in b43_nphy_tx_power_ctl_setup()
4210 if (nphy->hang_avoid) in b43_nphy_tx_power_ctl_setup()
4235 nphy->gmval = (table[0] >> 16) & 0x7000; in b43_nphy_tx_gain_table_upload()
4275 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_pa_override() local
4280 nphy->rfctrl_intc1_save = b43_phy_read(dev, in b43_nphy_pa_override()
4282 nphy->rfctrl_intc2_save = b43_phy_read(dev, in b43_nphy_pa_override()
4302 nphy->rfctrl_intc1_save); in b43_nphy_pa_override()
4304 nphy->rfctrl_intc2_save); in b43_nphy_pa_override()
4589 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_spur_workaround() local
4593 if (nphy->hang_avoid) in b43_nphy_spur_workaround()
4596 if (nphy->hang_avoid) in b43_nphy_spur_workaround()
4603 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_tx_pwr_ctrl_coef_setup() local
4610 if (nphy->hang_avoid) in b43_nphy_tx_pwr_ctrl_coef_setup()
4662 if (nphy->hang_avoid) in b43_nphy_tx_pwr_ctrl_coef_setup()
4672 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_restore_rssi_cal() local
4678 if (!nphy->rssical_chanspec_2G.center_freq) in b43_nphy_restore_rssi_cal()
4680 rssical_radio_regs = nphy->rssical_cache.rssical_radio_regs_2G; in b43_nphy_restore_rssi_cal()
4681 rssical_phy_regs = nphy->rssical_cache.rssical_phy_regs_2G; in b43_nphy_restore_rssi_cal()
4683 if (!nphy->rssical_chanspec_5G.center_freq) in b43_nphy_restore_rssi_cal()
4685 rssical_radio_regs = nphy->rssical_cache.rssical_radio_regs_5G; in b43_nphy_restore_rssi_cal()
4686 rssical_phy_regs = nphy->rssical_cache.rssical_phy_regs_5G; in b43_nphy_restore_rssi_cal()
4727 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_tx_cal_radio_setup_rev7() local
4728 u16 *save = nphy->tx_rx_cal_radio_saveregs; in b43_nphy_tx_cal_radio_setup_rev7()
4753 if (nphy->use_int_tx_iq_lo_cal) { in b43_nphy_tx_cal_radio_setup_rev7()
4767 if (nphy->use_int_tx_iq_lo_cal) { in b43_nphy_tx_cal_radio_setup_rev7()
4781 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_tx_cal_radio_setup() local
4782 u16 *save = nphy->tx_rx_cal_radio_saveregs; in b43_nphy_tx_cal_radio_setup()
4813 if (nphy->ipa5g_on) { in b43_nphy_tx_cal_radio_setup()
4828 if (nphy->ipa2g_on) { in b43_nphy_tx_cal_radio_setup()
4879 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_update_tx_cal_ladder() local
4883 u16 tmp = nphy->txcal_bbmult; in b43_nphy_update_tx_cal_ladder()
4960 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_get_tx_gains() local
4966 if (!nphy->txpwrctrl) { in b43_nphy_get_tx_gains()
4969 if (nphy->hang_avoid) in b43_nphy_get_tx_gains()
4972 if (nphy->hang_avoid) in b43_nphy_get_tx_gains()
5065 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_tx_cal_phy_setup() local
5097 if (!nphy->use_int_tx_iq_lo_cal) in b43_nphy_tx_cal_phy_setup()
5119 if (nphy->use_int_tx_iq_lo_cal && true /* FIXME */) { in b43_nphy_tx_cal_phy_setup()
5166 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_save_cal() local
5173 if (nphy->hang_avoid) in b43_nphy_save_cal()
5177 rxcal_coeffs = &nphy->cal_cache.rxcal_coeffs_2G; in b43_nphy_save_cal()
5178 txcal_radio_regs = nphy->cal_cache.txcal_radio_regs_2G; in b43_nphy_save_cal()
5179 iqcal_chanspec = &nphy->iqcal_chanspec_2G; in b43_nphy_save_cal()
5180 table = nphy->cal_cache.txcal_coeffs_2G; in b43_nphy_save_cal()
5182 rxcal_coeffs = &nphy->cal_cache.rxcal_coeffs_5G; in b43_nphy_save_cal()
5183 txcal_radio_regs = nphy->cal_cache.txcal_radio_regs_5G; in b43_nphy_save_cal()
5184 iqcal_chanspec = &nphy->iqcal_chanspec_5G; in b43_nphy_save_cal()
5185 table = nphy->cal_cache.txcal_coeffs_5G; in b43_nphy_save_cal()
5229 if (nphy->hang_avoid) in b43_nphy_save_cal()
5237 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_restore_cal() local
5248 if (!nphy->iqcal_chanspec_2G.center_freq) in b43_nphy_restore_cal()
5250 table = nphy->cal_cache.txcal_coeffs_2G; in b43_nphy_restore_cal()
5251 loft = &nphy->cal_cache.txcal_coeffs_2G[5]; in b43_nphy_restore_cal()
5253 if (!nphy->iqcal_chanspec_5G.center_freq) in b43_nphy_restore_cal()
5255 table = nphy->cal_cache.txcal_coeffs_5G; in b43_nphy_restore_cal()
5256 loft = &nphy->cal_cache.txcal_coeffs_5G[5]; in b43_nphy_restore_cal()
5276 txcal_radio_regs = nphy->cal_cache.txcal_radio_regs_2G; in b43_nphy_restore_cal()
5277 rxcal_coeffs = &nphy->cal_cache.rxcal_coeffs_2G; in b43_nphy_restore_cal()
5279 txcal_radio_regs = nphy->cal_cache.txcal_radio_regs_5G; in b43_nphy_restore_cal()
5280 rxcal_coeffs = &nphy->cal_cache.rxcal_coeffs_5G; in b43_nphy_restore_cal()
5327 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_cal_tx_iq_lo() local
5347 avoid = nphy->hang_avoid; in b43_nphy_cal_tx_iq_lo()
5348 nphy->hang_avoid = false; in b43_nphy_cal_tx_iq_lo()
5364 (dev->phy.rev == 5 && nphy->ipa2g_on && in b43_nphy_cal_tx_iq_lo()
5393 if (nphy->mphase_cal_phase_id > 2) in b43_nphy_cal_tx_iq_lo()
5400 if (nphy->mphase_cal_phase_id > 2) { in b43_nphy_cal_tx_iq_lo()
5401 table = nphy->mphase_txcal_bestcoeffs; in b43_nphy_cal_tx_iq_lo()
5406 if (!full && nphy->txiqlocal_coeffsvalid) { in b43_nphy_cal_tx_iq_lo()
5407 table = nphy->txiqlocal_bestc; in b43_nphy_cal_tx_iq_lo()
5438 count = nphy->mphase_txcal_cmdidx; in b43_nphy_cal_tx_iq_lo()
5440 (u16)(count + nphy->mphase_txcal_numcmds)); in b43_nphy_cal_tx_iq_lo()
5497 nphy->mphase_txcal_cmdidx = (numb >= max) ? 0 : numb; in b43_nphy_cal_tx_iq_lo()
5501 if (!mphase || nphy->mphase_cal_phase_id == last) { in b43_nphy_cal_tx_iq_lo()
5522 nphy->txiqlocal_bestc); in b43_nphy_cal_tx_iq_lo()
5523 nphy->txiqlocal_coeffsvalid = true; in b43_nphy_cal_tx_iq_lo()
5524 nphy->txiqlocal_chanspec.center_freq = in b43_nphy_cal_tx_iq_lo()
5526 nphy->txiqlocal_chanspec.channel_type = in b43_nphy_cal_tx_iq_lo()
5533 nphy->mphase_txcal_bestcoeffs); in b43_nphy_cal_tx_iq_lo()
5543 if (dev->phy.rev < 2 && (!mphase || nphy->mphase_cal_phase_id == last)) in b43_nphy_cal_tx_iq_lo()
5547 nphy->hang_avoid = avoid; in b43_nphy_cal_tx_iq_lo()
5557 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_reapply_tx_cal_coeffs() local
5562 if (!nphy->txiqlocal_coeffsvalid || in b43_nphy_reapply_tx_cal_coeffs()
5563 nphy->txiqlocal_chanspec.center_freq != dev->phy.chandef->chan->center_freq || in b43_nphy_reapply_tx_cal_coeffs()
5564 nphy->txiqlocal_chanspec.channel_type != cfg80211_get_chandef_type(dev->phy.chandef)) in b43_nphy_reapply_tx_cal_coeffs()
5569 if (buffer[i] != nphy->txiqlocal_bestc[i]) { in b43_nphy_reapply_tx_cal_coeffs()
5577 nphy->txiqlocal_bestc); in b43_nphy_reapply_tx_cal_coeffs()
5583 &nphy->txiqlocal_bestc[5]); in b43_nphy_reapply_tx_cal_coeffs()
5585 &nphy->txiqlocal_bestc[5]); in b43_nphy_reapply_tx_cal_coeffs()
5593 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_rev2_cal_rx_iq() local
5654 if (nphy->rxcalparams & 0xFF000000) { in b43_nphy_rev2_cal_rx_iq()
5671 if (nphy->rxcalparams & 0x10000) { in b43_nphy_rev2_cal_rx_iq()
5719 (nphy->rxcalparams & 0xFFFF), in b43_nphy_rev2_cal_rx_iq()
5793 struct b43_phy_n *nphy = phy->n; in b43_nphy_set_rx_core_state() local
5796 nphy->phyrxchain = mask; in b43_nphy_set_rx_core_state()
5803 if (nphy->hang_avoid) in b43_nphy_set_rx_core_state()
5823 if (nphy->hang_avoid) in b43_nphy_set_rx_core_state()
5833 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_op_recalc_txpower() local
5835 struct b43_ppr *ppr = &nphy->tx_pwr_max_ppr; in b43_nphy_op_recalc_txpower()
5838 if (nphy->tx_pwr_last_recalc_freq == channel->center_freq && in b43_nphy_op_recalc_txpower()
5839 nphy->tx_pwr_last_recalc_limit == phy->desired_txpower) in b43_nphy_op_recalc_txpower()
5879 b43_nphy_tx_power_ctrl(dev, nphy->txpwrctrl); in b43_nphy_op_recalc_txpower()
5884 nphy->tx_pwr_last_recalc_freq = channel->center_freq; in b43_nphy_op_recalc_txpower()
5885 nphy->tx_pwr_last_recalc_limit = phy->desired_txpower; in b43_nphy_op_recalc_txpower()
5980 struct b43_phy_n *nphy = phy->n; in b43_phy_initn() local
6007 nphy->use_int_tx_iq_lo_cal = b43_nphy_ipa(dev) || in b43_phy_initn()
6011 nphy->deaf_count = 0; in b43_phy_initn()
6013 nphy->crsminpwr_adjusted = false; in b43_phy_initn()
6014 nphy->noisevars_adjusted = false; in b43_phy_initn()
6068 b43_nphy_update_mimo_config(dev, nphy->preamble_override); in b43_phy_initn()
6080 nphy->papd_epsilon_offset[0] << 7); in b43_phy_initn()
6083 nphy->papd_epsilon_offset[1] << 7); in b43_phy_initn()
6112 tx_pwr_state = nphy->txpwrctrl; in b43_phy_initn()
6119 if (nphy->phyrxchain != 3) in b43_phy_initn()
6120 b43_nphy_set_rx_core_state(dev, nphy->phyrxchain); in b43_phy_initn()
6121 if (nphy->mphase_cal_phase_id > 0) { in b43_phy_initn()
6128 do_rssi_cal = !nphy->rssical_chanspec_2G.center_freq; in b43_phy_initn()
6130 do_rssi_cal = !nphy->rssical_chanspec_5G.center_freq; in b43_phy_initn()
6140 if (!((nphy->measure_hold & 0x6) != 0)) { in b43_phy_initn()
6142 do_cal = !nphy->iqcal_chanspec_2G.center_freq; in b43_phy_initn()
6144 do_cal = !nphy->iqcal_chanspec_5G.center_freq; in b43_phy_initn()
6146 if (nphy->mute) in b43_phy_initn()
6152 if (nphy->antsel_type == 2) in b43_phy_initn()
6154 if (nphy->perical != 2) { in b43_phy_initn()
6157 nphy->cal_orig_pwr_idx[0] = in b43_phy_initn()
6158 nphy->txpwrindex[0].index_internal; in b43_phy_initn()
6159 nphy->cal_orig_pwr_idx[1] = in b43_phy_initn()
6160 nphy->txpwrindex[1].index_internal; in b43_phy_initn()
6167 } else if (nphy->mphase_cal_phase_id == 0) { in b43_phy_initn()
6228 struct b43_phy_n *nphy = dev->phy.n; in b43_nphy_channel_setup() local
6264 if (!nphy->txpwrctrl) in b43_nphy_channel_setup()
6299 if (nphy->aband_spurwar_en && in b43_nphy_channel_setup()
6418 struct b43_phy_n *nphy; in b43_nphy_op_allocate() local
6420 nphy = kzalloc(sizeof(*nphy), GFP_KERNEL); in b43_nphy_op_allocate()
6421 if (!nphy) in b43_nphy_op_allocate()
6424 dev->phy.n = nphy; in b43_nphy_op_allocate()
6432 struct b43_phy_n *nphy = phy->n; in b43_nphy_op_prepare_structs() local
6435 memset(nphy, 0, sizeof(*nphy)); in b43_nphy_op_prepare_structs()
6437 nphy->hang_avoid = (phy->rev == 3 || phy->rev == 4); in b43_nphy_op_prepare_structs()
6438 nphy->spur_avoid = (phy->rev >= 3) ? in b43_nphy_op_prepare_structs()
6440 nphy->gain_boost = true; /* this way we follow wl, assume it is true */ in b43_nphy_op_prepare_structs()
6441 nphy->txrx_chain = 2; /* sth different than 0 and 1 for now */ in b43_nphy_op_prepare_structs()
6442 nphy->phyrxchain = 3; /* to avoid b43_nphy_set_rx_core_state like wl */ in b43_nphy_op_prepare_structs()
6443 nphy->perical = 2; /* avoid additional rssi cal on init (like wl) */ in b43_nphy_op_prepare_structs()
6446 nphy->tx_pwr_idx[0] = 128; in b43_nphy_op_prepare_structs()
6447 nphy->tx_pwr_idx[1] = 128; in b43_nphy_op_prepare_structs()
6450 nphy->txpwrctrl = false; in b43_nphy_op_prepare_structs()
6451 nphy->pwg_gain_5ghz = false; in b43_nphy_op_prepare_structs()
6455 nphy->txpwrctrl = true; in b43_nphy_op_prepare_structs()
6456 nphy->pwg_gain_5ghz = true; in b43_nphy_op_prepare_structs()
6460 nphy->txpwrctrl = true; in b43_nphy_op_prepare_structs()
6468 nphy->pwg_gain_5ghz = true; in b43_nphy_op_prepare_structs()
6472 nphy->pwg_gain_5ghz = true; in b43_nphy_op_prepare_structs()
6477 nphy->ipa2g_on = sprom->fem.ghz2.extpa_gain == 2; in b43_nphy_op_prepare_structs()
6478 nphy->ipa5g_on = sprom->fem.ghz5.extpa_gain == 2; in b43_nphy_op_prepare_structs()
6485 struct b43_phy_n *nphy = phy->n; in b43_nphy_op_free() local
6487 kfree(nphy); in b43_nphy_op_free()