Lines Matching refs:rev

164 	if (phy->rev >= 19 || phy->rev < 3) {  in b43_nphy_rf_ctl_override_rev7()
204 B43_WARN_ON(phy->rev < 7); in b43_nphy_rf_ctl_override_one_to_many()
250 if (dev->phy.rev >= 3) { in b43_nphy_rf_ctl_override()
393 if (dev->phy.rev >= 7) { in b43_nphy_rf_ctl_intc_override()
399 B43_WARN_ON(dev->phy.rev < 3); in b43_nphy_rf_ctl_intc_override()
637 u8 end = (dev->phy.rev >= 3) ? 0x1F : 0x0F; in b43_nphy_set_rf_sequence()
1134 B43_WARN_ON(dev->phy.rev < 3); in b43_radio_2056_setup()
1176 if (dev->phy.rev >= 5) { in b43_radio_2056_setup()
1305 if (phy->rev != 3) in b43_radio_2056_rcal()
1413 B43_WARN_ON(dev->phy.rev >= 3); in b43_radio_2055_setup()
1585 if (phy->rev >= 7) { in b43_nphy_run_samples()
1595 if (phy->rev >= 19) in b43_nphy_run_samples()
1807 if (dev->phy.rev < 7) { in b43_nphy_rev3_rssi_select()
1902 if (dev->phy.rev >= 19) in b43_nphy_rssi_select()
1904 else if (dev->phy.rev >= 3) in b43_nphy_rssi_select()
1950 if (dev->phy.rev >= 3) { in b43_nphy_poll_rssi()
1976 if (dev->phy.rev < 2) { in b43_nphy_poll_rssi()
1985 if (dev->phy.rev < 2) { in b43_nphy_poll_rssi()
2001 if (dev->phy.rev < 2) in b43_nphy_poll_rssi()
2004 if (dev->phy.rev >= 3) { in b43_nphy_poll_rssi()
2080 if (dev->phy.rev >= 7) { in b43_nphy_rev3_rssi_cal()
2102 if (dev->phy.rev >= 7) { in b43_nphy_rev3_rssi_cal()
2148 if (dev->phy.rev >= 7) in b43_nphy_rev3_rssi_cal()
2182 if (dev->phy.rev >= 7) in b43_nphy_rev3_rssi_cal()
2255 if (dev->phy.rev >= 7) { in b43_nphy_rev3_rssi_cal()
2460 if (dev->phy.rev >= 19) { in b43_nphy_rssi_cal()
2462 } else if (dev->phy.rev >= 3) { in b43_nphy_rssi_cal()
2502 if (ghz5 && dev->phy.rev >= 5) in b43_nphy_gain_ctl_workarounds_rev3()
2658 if (dev->phy.rev == 2) { in b43_nphy_gain_ctl_workarounds_rev1_2()
2682 if (dev->phy.rev >= 19) in b43_nphy_gain_ctl_workarounds()
2684 else if (dev->phy.rev >= 7) in b43_nphy_gain_ctl_workarounds()
2686 else if (dev->phy.rev >= 3) in b43_nphy_gain_ctl_workarounds()
2730 if (phy->rev == 7) { in b43_nphy_workarounds_rev7plus()
2750 if (phy->rev >= 16) { in b43_nphy_workarounds_rev7plus()
2753 } else if (phy->rev <= 8) { in b43_nphy_workarounds_rev7plus()
2758 if (phy->rev >= 16) in b43_nphy_workarounds_rev7plus()
2760 else if (phy->rev >= 8) in b43_nphy_workarounds_rev7plus()
2795 if (phy->rev == 8 && b43_is_40mhz(dev)) { in b43_nphy_workarounds_rev7plus()
2807 if (phy->rev == 9) { in b43_nphy_workarounds_rev7plus()
3235 if (!(dev->phy.rev >= 4 && in b43_nphy_workarounds_rev3plus()
3247 if (dev->phy.rev >= 6) { in b43_nphy_workarounds_rev3plus()
3253 } else if (dev->phy.rev == 5) { in b43_nphy_workarounds_rev3plus()
3319 if (dev->phy.rev == 4 && in b43_nphy_workarounds_rev3plus()
3341 if (dev->phy.rev >= 6 && sprom->boardflags2_lo & B43_BFL2_SINGLEANT_CCK) { in b43_nphy_workarounds_rev3plus()
3375 if (dev->phy.rev < 3) { in b43_nphy_workarounds_rev1_2()
3380 if (dev->phy.rev < 2) { in b43_nphy_workarounds_rev1_2()
3399 if (dev->phy.rev < 2) { in b43_nphy_workarounds_rev1_2()
3403 } else if (dev->phy.rev == 2) { in b43_nphy_workarounds_rev1_2()
3408 if (dev->phy.rev < 2) in b43_nphy_workarounds_rev1_2()
3420 if (dev->phy.rev < 3) { in b43_nphy_workarounds_rev1_2()
3428 if (dev->phy.rev == 2) in b43_nphy_workarounds_rev1_2()
3451 if (dev->phy.rev >= 7) in b43_nphy_workarounds()
3453 else if (dev->phy.rev >= 3) in b43_nphy_workarounds()
3533 if (phy->rev >= 7 && nphy->lpf_bw_overrode_for_sample_play) { in b43_nphy_stop_playback()
3534 if (phy->rev >= 19) in b43_nphy_stop_playback()
3555 if (dev->phy.rev >= 3) { in b43_nphy_iq_cal_gain_params()
3561 if (phy->rev >= 19) { in b43_nphy_iq_cal_gain_params()
3563 } else if (phy->rev >= 7) { in b43_nphy_iq_cal_gain_params()
3609 if (dev->phy.rev >= 3 && in b43_nphy_tx_power_ctrl()
3630 if (dev->phy.rev >= 3) in b43_nphy_tx_power_ctrl()
3634 if (dev->phy.rev >= 3) { in b43_nphy_tx_power_ctrl()
3641 if (dev->phy.rev == 2) in b43_nphy_tx_power_ctrl()
3644 else if (dev->phy.rev < 2) in b43_nphy_tx_power_ctrl()
3648 if (dev->phy.rev < 2 && b43_is_40mhz(dev)) in b43_nphy_tx_power_ctrl()
3660 if (dev->phy.rev >= 3) { in b43_nphy_tx_power_ctrl()
3668 if (phy->rev >= 19) { in b43_nphy_tx_power_ctrl()
3670 } else if (phy->rev >= 7) { in b43_nphy_tx_power_ctrl()
3681 if (phy->rev > 1) in b43_nphy_tx_power_ctrl()
3689 if (dev->phy.rev >= 3) { in b43_nphy_tx_power_ctrl()
3696 if (dev->phy.rev > 1) in b43_nphy_tx_power_ctrl()
3703 if (phy->rev >= 7) { in b43_nphy_tx_power_ctrl()
3707 if (dev->phy.rev >= 3) { in b43_nphy_tx_power_ctrl()
3714 if (dev->phy.rev == 2) in b43_nphy_tx_power_ctrl()
3716 else if (dev->phy.rev < 2) in b43_nphy_tx_power_ctrl()
3719 if (dev->phy.rev < 2 && b43_is_40mhz(dev)) in b43_nphy_tx_power_ctrl()
3749 if (dev->phy.rev >= 7) { in b43_nphy_tx_power_fix()
3751 } else if (dev->phy.rev >= 3) { in b43_nphy_tx_power_fix()
3775 if (dev->phy.rev < 7 && in b43_nphy_tx_power_fix()
3793 if (dev->phy.rev >= 3) in b43_nphy_tx_power_fix()
3798 if (dev->phy.rev >= 7) in b43_nphy_tx_power_fix()
3804 if (dev->phy.rev >= 3) { in b43_nphy_tx_power_fix()
3851 if (phy->rev >= 19) { in b43_nphy_ipa_internal_tssi_setup()
3853 } else if (phy->rev >= 7) { in b43_nphy_ipa_internal_tssi_setup()
3859 if (phy->rev != 5) in b43_nphy_ipa_internal_tssi_setup()
3861 if (phy->rev != 7) in b43_nphy_ipa_internal_tssi_setup()
3869 if (phy->rev != 5) in b43_nphy_ipa_internal_tssi_setup()
3900 if (phy->rev != 5) in b43_nphy_ipa_internal_tssi_setup()
3903 if (phy->rev >= 5) in b43_nphy_ipa_internal_tssi_setup()
3942 if (phy->rev >= 19) in b43_nphy_tx_power_ctl_idle_tssi()
3944 else if (phy->rev >= 7) in b43_nphy_tx_power_ctl_idle_tssi()
3946 else if (phy->rev >= 3) in b43_nphy_tx_power_ctl_idle_tssi()
3957 if (phy->rev >= 19) in b43_nphy_tx_power_ctl_idle_tssi()
3959 else if (phy->rev >= 7) in b43_nphy_tx_power_ctl_idle_tssi()
3961 else if (phy->rev >= 3) in b43_nphy_tx_power_ctl_idle_tssi()
3964 if (phy->rev >= 19) { in b43_nphy_tx_power_ctl_idle_tssi()
3967 } else if (phy->rev >= 3) { in b43_nphy_tx_power_ctl_idle_tssi()
4007 if (b43_is_40mhz(dev) && dev->phy.rev >= 5) { in b43_nphy_tx_prepare_adjusted_power_table()
4068 if (dev->phy.rev >= 3) in b43_nphy_tx_power_ctl_setup()
4134 if (dev->phy.rev >= 3) { in b43_nphy_tx_power_ctl_setup()
4137 if (dev->phy.rev >= 7) { in b43_nphy_tx_power_ctl_setup()
4165 if (phy->rev >= 19) { in b43_nphy_tx_power_ctl_setup()
4167 } else if (phy->rev >= 7) { in b43_nphy_tx_power_ctl_setup()
4175 if (dev->phy.rev > 1) in b43_nphy_tx_power_ctl_setup()
4199 if (dev->phy.rev < 3 && (i <= (31 - idle[c] + 1))) in b43_nphy_tx_power_ctl_setup()
4231 if (phy->rev < 3) in b43_nphy_tx_gain_table_upload()
4238 if (phy->rev >= 19) { in b43_nphy_tx_gain_table_upload()
4240 } else if (phy->rev >= 7) { in b43_nphy_tx_gain_table_upload()
4249 if (phy->rev >= 19) { in b43_nphy_tx_gain_table_upload()
4252 } else if (phy->rev >= 7) { in b43_nphy_tx_gain_table_upload()
4285 if (dev->phy.rev >= 7) { in b43_nphy_pa_override()
4287 } else if (dev->phy.rev >= 3) { in b43_nphy_pa_override()
4316 if (dev->phy.rev < 3 || dev->phy.rev >= 7) in b43_nphy_tx_lpf_bw()
4550 if (dev->phy.rev >= 3) { in b43_nphy_calc_rx_iq_comp()
4558 if (dev->phy.rev >= 3) { in b43_nphy_calc_rx_iq_comp()
4591 B43_WARN_ON(dev->phy.rev < 3); in b43_nphy_spur_workaround()
4635 if (dev->phy.rev >= 3) { in b43_nphy_tx_pwr_ctrl_coef_setup()
4642 if (dev->phy.rev < 3) { in b43_nphy_tx_pwr_ctrl_coef_setup()
4655 if (dev->phy.rev >= 3) { in b43_nphy_tx_pwr_ctrl_coef_setup()
4689 if (dev->phy.rev >= 19) { in b43_nphy_restore_rssi_cal()
4691 } else if (dev->phy.rev >= 7) { in b43_nphy_restore_rssi_cal()
4786 if (phy->rev >= 19) { in b43_nphy_tx_cal_radio_setup()
4788 } else if (phy->rev >= 7) { in b43_nphy_tx_cal_radio_setup()
4790 } else if (phy->rev >= 3) { in b43_nphy_tx_cal_radio_setup()
4831 (dev->phy.rev < 5) ? 0x11 : 0x01); in b43_nphy_tx_cal_radio_setup()
4866 if (dev->phy.rev < 2) { in b43_nphy_tx_cal_radio_setup()
4934 if (dev->phy.rev == 16) in b43_nphy_int_pa_set_tx_dig_filters()
4938 if (dev->phy.rev == 17) { in b43_nphy_int_pa_set_tx_dig_filters()
4976 if (dev->phy.rev >= 7) { in b43_nphy_get_tx_gains()
4982 } else if (dev->phy.rev >= 3) { in b43_nphy_get_tx_gains()
5009 if (dev->phy.rev >= 7) { in b43_nphy_get_tx_gains()
5015 } else if (dev->phy.rev >= 3) { in b43_nphy_get_tx_gains()
5037 if (dev->phy.rev >= 3) { in b43_nphy_tx_cal_phy_cleanup()
5071 if (dev->phy.rev >= 3) { in b43_nphy_tx_cal_phy_setup()
5112 if (phy->rev >= 19) in b43_nphy_tx_cal_phy_setup()
5115 else if (phy->rev >= 7) in b43_nphy_tx_cal_phy_setup()
5120 if (phy->rev >= 19) { in b43_nphy_tx_cal_phy_setup()
5123 } else if (phy->rev >= 8) { in b43_nphy_tx_cal_phy_setup()
5126 } else if (phy->rev == 7) { in b43_nphy_tx_cal_phy_setup()
5190 if (phy->rev >= 19) { in b43_nphy_save_cal()
5192 } else if (phy->rev >= 7) { in b43_nphy_save_cal()
5209 } else if (phy->rev >= 3) { in b43_nphy_save_cal()
5262 if (dev->phy.rev >= 3) in b43_nphy_restore_cal()
5272 if (dev->phy.rev < 2) in b43_nphy_restore_cal()
5284 if (phy->rev >= 19) { in b43_nphy_restore_cal()
5286 } else if (phy->rev >= 7) { in b43_nphy_restore_cal()
5303 } else if (phy->rev >= 3) { in b43_nphy_restore_cal()
5346 if (dev->phy.rev >= 4) { in b43_nphy_cal_tx_iq_lo()
5363 phy6or5x = dev->phy.rev >= 6 || in b43_nphy_cal_tx_iq_lo()
5364 (dev->phy.rev == 5 && nphy->ipa2g_on && in b43_nphy_cal_tx_iq_lo()
5380 if (phy->rev >= 19) { in b43_nphy_cal_tx_iq_lo()
5382 } else if (phy->rev >= 7) { in b43_nphy_cal_tx_iq_lo()
5403 if (dev->phy.rev < 3) in b43_nphy_cal_tx_iq_lo()
5409 if (dev->phy.rev < 3) in b43_nphy_cal_tx_iq_lo()
5413 if (dev->phy.rev >= 3) { in b43_nphy_cal_tx_iq_lo()
5426 if (dev->phy.rev >= 3) in b43_nphy_cal_tx_iq_lo()
5431 if (dev->phy.rev >= 3) in b43_nphy_cal_tx_iq_lo()
5448 if (dev->phy.rev >= 3) in b43_nphy_cal_tx_iq_lo()
5453 if (dev->phy.rev >= 3) in b43_nphy_cal_tx_iq_lo()
5499 last = (dev->phy.rev < 3) ? 6 : 7; in b43_nphy_cal_tx_iq_lo()
5504 if (dev->phy.rev < 3) { in b43_nphy_cal_tx_iq_lo()
5519 if (dev->phy.rev < 3) in b43_nphy_cal_tx_iq_lo()
5530 if (dev->phy.rev < 3) 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()
5546 if (dev->phy.rev >= 4) in b43_nphy_cal_tx_iq_lo()
5618 if (dev->phy.rev < 2) in b43_nphy_rev2_cal_rx_iq()
5780 if (dev->phy.rev >= 7) in b43_nphy_cal_rx_iq()
5783 if (dev->phy.rev >= 3) in b43_nphy_cal_rx_iq()
5811 if (dev->phy.rev >= 3) { in b43_nphy_set_rx_core_state()
5816 if (dev->phy.rev >= 3) { in b43_nphy_set_rx_core_state()
5930 if (dev->phy.rev >= 7) in b43_nphy_superswitch_init()
5933 if (dev->phy.rev >= 3) { in b43_nphy_superswitch_init()
5989 if ((dev->phy.rev >= 3) && in b43_phy_initn()
6008 phy->rev >= 7 || in b43_phy_initn()
6009 (phy->rev >= 5 && in b43_phy_initn()
6017 if (dev->phy.rev >= 3) { in b43_phy_initn()
6020 if (phy->rev >= 7) { in b43_phy_initn()
6026 if (phy->rev >= 19) { in b43_phy_initn()
6037 if (dev->phy.rev < 6) { in b43_phy_initn()
6044 if (dev->phy.rev >= 3) in b43_phy_initn()
6048 if (dev->phy.rev <= 2) { in b43_phy_initn()
6049 tmp = (dev->phy.rev == 2) ? 0x3B : 0x40; in b43_phy_initn()
6067 if (phy->rev < 8) in b43_phy_initn()
6072 if (phy->rev < 2) { in b43_phy_initn()
6085 } else if (phy->rev >= 5) { in b43_phy_initn()
6100 if (phy->rev < 7) { in b43_phy_initn()
6126 if (phy->rev >= 3) { in b43_phy_initn()
6156 if (phy->rev >= 3) { in b43_phy_initn()
6179 if (phy->rev >= 3 && phy->rev <= 6) in b43_phy_initn()
6182 if (phy->rev >= 3) in b43_phy_initn()
6267 if (dev->phy.rev < 3) in b43_nphy_channel_setup()
6272 if (dev->phy.rev >= 3 && in b43_nphy_channel_setup()
6278 } else if (phy->rev >= 19) { in b43_nphy_channel_setup()
6280 } else if (phy->rev >= 18) { in b43_nphy_channel_setup()
6282 } else if (phy->rev >= 17) { in b43_nphy_channel_setup()
6284 } else if (phy->rev >= 16) { in b43_nphy_channel_setup()
6286 } else if (phy->rev >= 7) { in b43_nphy_channel_setup()
6309 if (dev->phy.rev == 3 || dev->phy.rev == 4) in b43_nphy_channel_setup()
6325 if (phy->rev >= 3) in b43_nphy_channel_setup()
6343 if (phy->rev >= 19) { in b43_nphy_set_channel()
6346 } else if (phy->rev >= 7) { in b43_nphy_set_channel()
6351 } else if (phy->rev >= 3) { in b43_nphy_set_channel()
6375 if (phy->rev >= 7) in b43_nphy_set_channel()
6379 if (phy->rev >= 7) in b43_nphy_set_channel()
6383 if (phy->rev >= 19) { in b43_nphy_set_channel()
6385 } else if (phy->rev >= 7) { in b43_nphy_set_channel()
6397 } else if (phy->rev >= 3) { in b43_nphy_set_channel()
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()
6452 if (dev->phy.rev >= 3 || in b43_nphy_op_prepare_structs()
6458 if (dev->phy.rev >= 2 && in b43_nphy_op_prepare_structs()
6476 if (dev->phy.rev >= 3) { in b43_nphy_op_prepare_structs()
6526 B43_WARN_ON(dev->phy.rev < 7 && reg == 1); in b43_nphy_op_radio_read()
6528 if (dev->phy.rev >= 7) in b43_nphy_op_radio_read()
6540 B43_WARN_ON(dev->phy.rev < 7 && reg == 1); in b43_nphy_op_radio_write()
6556 if (phy->rev >= 19) { in b43_nphy_op_software_rfkill()
6558 } else if (phy->rev >= 8) { in b43_nphy_op_software_rfkill()
6561 } else if (phy->rev >= 7) { in b43_nphy_op_software_rfkill()
6563 } else if (phy->rev >= 3) { in b43_nphy_op_software_rfkill()
6584 if (phy->rev >= 19) { in b43_nphy_op_software_rfkill()
6586 } else if (phy->rev >= 7) { in b43_nphy_op_software_rfkill()
6590 } else if (phy->rev >= 3) { in b43_nphy_op_software_rfkill()
6607 if (phy->rev >= 19) { in b43_nphy_op_switch_analog()
6609 } else if (phy->rev >= 3) { in b43_nphy_op_switch_analog()