Lines Matching full: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()
739 case 9: /* e.g. PHY rev 16 */ in b43_radio_2057_setup()
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()
2484 switch (phy->rev) { in b43_nphy_gain_ctl_workarounds_rev7()
2506 if (ghz5 && dev->phy.rev >= 5) in b43_nphy_gain_ctl_workarounds_rev3()
2662 if (dev->phy.rev == 2) { in b43_nphy_gain_ctl_workarounds_rev1_2()
2686 if (dev->phy.rev >= 19) in b43_nphy_gain_ctl_workarounds()
2688 else if (dev->phy.rev >= 7) in b43_nphy_gain_ctl_workarounds()
2690 else if (dev->phy.rev >= 3) in b43_nphy_gain_ctl_workarounds()
2734 if (phy->rev == 7) { in b43_nphy_workarounds_rev7plus()
2754 if (phy->rev >= 16) { in b43_nphy_workarounds_rev7plus()
2757 } else if (phy->rev <= 8) { in b43_nphy_workarounds_rev7plus()
2762 if (phy->rev >= 16) in b43_nphy_workarounds_rev7plus()
2764 else if (phy->rev >= 8) in b43_nphy_workarounds_rev7plus()
2798 /* Check radio version (to be 0) by PHY rev for now */ in b43_nphy_workarounds_rev7plus()
2799 if (phy->rev == 8 && b43_is_40mhz(dev)) { in b43_nphy_workarounds_rev7plus()
2811 if (phy->rev == 9) { in b43_nphy_workarounds_rev7plus()
3239 if (!(dev->phy.rev >= 4 && in b43_nphy_workarounds_rev3plus()
3251 if (dev->phy.rev >= 6) { in b43_nphy_workarounds_rev3plus()
3257 } else if (dev->phy.rev == 5) { in b43_nphy_workarounds_rev3plus()
3323 if (dev->phy.rev == 4 && in b43_nphy_workarounds_rev3plus()
3345 if (dev->phy.rev >= 6 && sprom->boardflags2_lo & B43_BFL2_SINGLEANT_CCK) { in b43_nphy_workarounds_rev3plus()
3379 if (dev->phy.rev < 3) { in b43_nphy_workarounds_rev1_2()
3384 if (dev->phy.rev < 2) { in b43_nphy_workarounds_rev1_2()
3403 if (dev->phy.rev < 2) { in b43_nphy_workarounds_rev1_2()
3407 } else if (dev->phy.rev == 2) { in b43_nphy_workarounds_rev1_2()
3412 if (dev->phy.rev < 2) in b43_nphy_workarounds_rev1_2()
3424 if (dev->phy.rev < 3) { in b43_nphy_workarounds_rev1_2()
3432 if (dev->phy.rev == 2) in b43_nphy_workarounds_rev1_2()
3455 if (dev->phy.rev >= 7) in b43_nphy_workarounds()
3457 else if (dev->phy.rev >= 3) in b43_nphy_workarounds()
3537 if (phy->rev >= 7 && nphy->lpf_bw_overrode_for_sample_play) { in b43_nphy_stop_playback()
3538 if (phy->rev >= 19) in b43_nphy_stop_playback()
3559 if (dev->phy.rev >= 3) { in b43_nphy_iq_cal_gain_params()
3560 params->tx_lpf = target.tx_lpf[core]; /* Rev 7+ */ in b43_nphy_iq_cal_gain_params()
3565 if (phy->rev >= 19) { in b43_nphy_iq_cal_gain_params()
3567 } else if (phy->rev >= 7) { in b43_nphy_iq_cal_gain_params()
3613 if (dev->phy.rev >= 3 && in b43_nphy_tx_power_ctrl()
3634 if (dev->phy.rev >= 3) in b43_nphy_tx_power_ctrl()
3638 if (dev->phy.rev >= 3) { in b43_nphy_tx_power_ctrl()
3645 if (dev->phy.rev == 2) in b43_nphy_tx_power_ctrl()
3648 else if (dev->phy.rev < 2) in b43_nphy_tx_power_ctrl()
3652 if (dev->phy.rev < 2 && b43_is_40mhz(dev)) in b43_nphy_tx_power_ctrl()
3664 if (dev->phy.rev >= 3) { in b43_nphy_tx_power_ctrl()
3672 if (phy->rev >= 19) { in b43_nphy_tx_power_ctrl()
3674 } else if (phy->rev >= 7) { in b43_nphy_tx_power_ctrl()
3685 if (phy->rev > 1) in b43_nphy_tx_power_ctrl()
3693 if (dev->phy.rev >= 3) { in b43_nphy_tx_power_ctrl()
3700 if (dev->phy.rev > 1) in b43_nphy_tx_power_ctrl()
3707 if (phy->rev >= 7) { in b43_nphy_tx_power_ctrl()
3711 if (dev->phy.rev >= 3) { in b43_nphy_tx_power_ctrl()
3718 if (dev->phy.rev == 2) in b43_nphy_tx_power_ctrl()
3720 else if (dev->phy.rev < 2) in b43_nphy_tx_power_ctrl()
3723 if (dev->phy.rev < 2 && b43_is_40mhz(dev)) in b43_nphy_tx_power_ctrl()
3753 if (dev->phy.rev >= 7) { in b43_nphy_tx_power_fix()
3755 } else if (dev->phy.rev >= 3) { in b43_nphy_tx_power_fix()
3779 if (dev->phy.rev < 7 && in b43_nphy_tx_power_fix()
3797 if (dev->phy.rev >= 3) in b43_nphy_tx_power_fix()
3802 if (dev->phy.rev >= 7) in b43_nphy_tx_power_fix()
3808 if (dev->phy.rev >= 3) { in b43_nphy_tx_power_fix()
3855 if (phy->rev >= 19) { in b43_nphy_ipa_internal_tssi_setup()
3857 } else if (phy->rev >= 7) { in b43_nphy_ipa_internal_tssi_setup()
3863 if (phy->rev != 5) in b43_nphy_ipa_internal_tssi_setup()
3865 if (phy->rev != 7) in b43_nphy_ipa_internal_tssi_setup()
3873 if (phy->rev != 5) in b43_nphy_ipa_internal_tssi_setup()
3904 if (phy->rev != 5) in b43_nphy_ipa_internal_tssi_setup()
3907 if (phy->rev >= 5) in b43_nphy_ipa_internal_tssi_setup()
3946 if (phy->rev >= 19) in b43_nphy_tx_power_ctl_idle_tssi()
3948 else if (phy->rev >= 7) in b43_nphy_tx_power_ctl_idle_tssi()
3950 else if (phy->rev >= 3) in b43_nphy_tx_power_ctl_idle_tssi()
3961 if (phy->rev >= 19) in b43_nphy_tx_power_ctl_idle_tssi()
3963 else if (phy->rev >= 7) in b43_nphy_tx_power_ctl_idle_tssi()
3965 else if (phy->rev >= 3) in b43_nphy_tx_power_ctl_idle_tssi()
3968 if (phy->rev >= 19) { in b43_nphy_tx_power_ctl_idle_tssi()
3971 } else if (phy->rev >= 3) { in b43_nphy_tx_power_ctl_idle_tssi()
4011 if (b43_is_40mhz(dev) && dev->phy.rev >= 5) { in b43_nphy_tx_prepare_adjusted_power_table()
4072 if (dev->phy.rev >= 3) in b43_nphy_tx_power_ctl_setup()
4138 if (dev->phy.rev >= 3) { in b43_nphy_tx_power_ctl_setup()
4141 if (dev->phy.rev >= 7) { in b43_nphy_tx_power_ctl_setup()
4169 if (phy->rev >= 19) { in b43_nphy_tx_power_ctl_setup()
4171 } else if (phy->rev >= 7) { in b43_nphy_tx_power_ctl_setup()
4179 if (dev->phy.rev > 1) in b43_nphy_tx_power_ctl_setup()
4203 if (dev->phy.rev < 3 && (i <= (31 - idle[c] + 1))) in b43_nphy_tx_power_ctl_setup()
4235 if (phy->rev < 3) in b43_nphy_tx_gain_table_upload()
4242 if (phy->rev >= 19) { in b43_nphy_tx_gain_table_upload()
4244 } else if (phy->rev >= 7) { in b43_nphy_tx_gain_table_upload()
4253 if (phy->rev >= 19) { in b43_nphy_tx_gain_table_upload()
4256 } else if (phy->rev >= 7) { in b43_nphy_tx_gain_table_upload()
4289 if (dev->phy.rev >= 7) { in b43_nphy_pa_override()
4291 } else if (dev->phy.rev >= 3) { in b43_nphy_pa_override()
4320 if (dev->phy.rev < 3 || dev->phy.rev >= 7) in b43_nphy_tx_lpf_bw()
4554 if (dev->phy.rev >= 3) { in b43_nphy_calc_rx_iq_comp()
4562 if (dev->phy.rev >= 3) { in b43_nphy_calc_rx_iq_comp()
4599 B43_WARN_ON(dev->phy.rev < 3); in b43_nphy_spur_workaround()
4686 if (dev->phy.rev >= 3) { in b43_nphy_tx_pwr_ctrl_coef_setup()
4693 if (dev->phy.rev < 3) { in b43_nphy_tx_pwr_ctrl_coef_setup()
4706 if (dev->phy.rev >= 3) { in b43_nphy_tx_pwr_ctrl_coef_setup()
4740 if (dev->phy.rev >= 19) { in b43_nphy_restore_rssi_cal()
4742 } else if (dev->phy.rev >= 7) { in b43_nphy_restore_rssi_cal()
4837 if (phy->rev >= 19) { in b43_nphy_tx_cal_radio_setup()
4839 } else if (phy->rev >= 7) { in b43_nphy_tx_cal_radio_setup()
4841 } else if (phy->rev >= 3) { in b43_nphy_tx_cal_radio_setup()
4882 (dev->phy.rev < 5) ? 0x11 : 0x01); in b43_nphy_tx_cal_radio_setup()
4917 if (dev->phy.rev < 2) { in b43_nphy_tx_cal_radio_setup()
4985 if (dev->phy.rev == 16) in b43_nphy_int_pa_set_tx_dig_filters()
4989 if (dev->phy.rev == 17) { in b43_nphy_int_pa_set_tx_dig_filters()
5027 if (dev->phy.rev >= 7) { in b43_nphy_get_tx_gains()
5033 } else if (dev->phy.rev >= 3) { in b43_nphy_get_tx_gains()
5060 if (dev->phy.rev >= 7) { in b43_nphy_get_tx_gains()
5066 } else if (dev->phy.rev >= 3) { in b43_nphy_get_tx_gains()
5088 if (dev->phy.rev >= 3) { in b43_nphy_tx_cal_phy_cleanup()
5122 if (dev->phy.rev >= 3) { in b43_nphy_tx_cal_phy_setup()
5163 if (phy->rev >= 19) in b43_nphy_tx_cal_phy_setup()
5166 else if (phy->rev >= 7) in b43_nphy_tx_cal_phy_setup()
5171 if (phy->rev >= 19) { in b43_nphy_tx_cal_phy_setup()
5174 } else if (phy->rev >= 8) { in b43_nphy_tx_cal_phy_setup()
5177 } else if (phy->rev == 7) { in b43_nphy_tx_cal_phy_setup()
5241 if (phy->rev >= 19) { in b43_nphy_save_cal()
5243 } else if (phy->rev >= 7) { in b43_nphy_save_cal()
5260 } else if (phy->rev >= 3) { in b43_nphy_save_cal()
5313 if (dev->phy.rev >= 3) in b43_nphy_restore_cal()
5323 if (dev->phy.rev < 2) in b43_nphy_restore_cal()
5335 if (phy->rev >= 19) { in b43_nphy_restore_cal()
5337 } else if (phy->rev >= 7) { in b43_nphy_restore_cal()
5354 } else if (phy->rev >= 3) { in b43_nphy_restore_cal()
5397 if (dev->phy.rev >= 4) { in b43_nphy_cal_tx_iq_lo()
5414 phy6or5x = dev->phy.rev >= 6 || in b43_nphy_cal_tx_iq_lo()
5415 (dev->phy.rev == 5 && nphy->ipa2g_on && in b43_nphy_cal_tx_iq_lo()
5431 if (phy->rev >= 19) { in b43_nphy_cal_tx_iq_lo()
5433 } else if (phy->rev >= 7) { in b43_nphy_cal_tx_iq_lo()
5454 if (dev->phy.rev < 3) in b43_nphy_cal_tx_iq_lo()
5460 if (dev->phy.rev < 3) in b43_nphy_cal_tx_iq_lo()
5464 if (dev->phy.rev >= 3) { in b43_nphy_cal_tx_iq_lo()
5477 if (dev->phy.rev >= 3) in b43_nphy_cal_tx_iq_lo()
5482 if (dev->phy.rev >= 3) in b43_nphy_cal_tx_iq_lo()
5499 if (dev->phy.rev >= 3) in b43_nphy_cal_tx_iq_lo()
5504 if (dev->phy.rev >= 3) in b43_nphy_cal_tx_iq_lo()
5550 last = (dev->phy.rev < 3) ? 6 : 7; in b43_nphy_cal_tx_iq_lo()
5555 if (dev->phy.rev < 3) { in b43_nphy_cal_tx_iq_lo()
5570 if (dev->phy.rev < 3) in b43_nphy_cal_tx_iq_lo()
5581 if (dev->phy.rev < 3) in b43_nphy_cal_tx_iq_lo()
5594 if (dev->phy.rev < 2 && (!mphase || nphy->mphase_cal_phase_id == last)) in b43_nphy_cal_tx_iq_lo()
5597 if (dev->phy.rev >= 4) in b43_nphy_cal_tx_iq_lo()
5669 if (dev->phy.rev < 2) in b43_nphy_rev2_cal_rx_iq()
5831 if (dev->phy.rev >= 7) in b43_nphy_cal_rx_iq()
5834 if (dev->phy.rev >= 3) in b43_nphy_cal_rx_iq()
5862 if (dev->phy.rev >= 3) { in b43_nphy_set_rx_core_state()
5867 if (dev->phy.rev >= 3) { in b43_nphy_set_rx_core_state()
5981 if (dev->phy.rev >= 7) in b43_nphy_superswitch_init()
5984 if (dev->phy.rev >= 3) { in b43_nphy_superswitch_init()
6040 if ((dev->phy.rev >= 3) && in b43_phy_initn()
6059 phy->rev >= 7 || in b43_phy_initn()
6060 (phy->rev >= 5 && in b43_phy_initn()
6068 if (dev->phy.rev >= 3) { in b43_phy_initn()
6071 if (phy->rev >= 7) { in b43_phy_initn()
6077 if (phy->rev >= 19) { in b43_phy_initn()
6088 if (dev->phy.rev < 6) { in b43_phy_initn()
6095 if (dev->phy.rev >= 3) in b43_phy_initn()
6099 if (dev->phy.rev <= 2) { in b43_phy_initn()
6100 tmp = (dev->phy.rev == 2) ? 0x3B : 0x40; in b43_phy_initn()
6118 if (phy->rev < 8) in b43_phy_initn()
6123 if (phy->rev < 2) { in b43_phy_initn()
6136 } else if (phy->rev >= 5) { in b43_phy_initn()
6151 if (phy->rev < 7) { in b43_phy_initn()
6177 if (phy->rev >= 3) { in b43_phy_initn()
6207 if (phy->rev >= 3) { in b43_phy_initn()
6230 if (phy->rev >= 3 && phy->rev <= 6) in b43_phy_initn()
6233 if (phy->rev >= 3) in b43_phy_initn()
6318 if (dev->phy.rev < 3) in b43_nphy_channel_setup()
6323 if (dev->phy.rev >= 3 && in b43_nphy_channel_setup()
6329 } else if (phy->rev >= 19) { in b43_nphy_channel_setup()
6331 } else if (phy->rev >= 18) { in b43_nphy_channel_setup()
6333 } else if (phy->rev >= 17) { in b43_nphy_channel_setup()
6335 } else if (phy->rev >= 16) { in b43_nphy_channel_setup()
6337 } else if (phy->rev >= 7) { in b43_nphy_channel_setup()
6360 if (dev->phy.rev == 3 || dev->phy.rev == 4) in b43_nphy_channel_setup()
6376 if (phy->rev >= 3) in b43_nphy_channel_setup()
6394 if (phy->rev >= 19) { in b43_nphy_set_channel()
6397 } else if (phy->rev >= 7) { in b43_nphy_set_channel()
6402 } else if (phy->rev >= 3) { in b43_nphy_set_channel()
6426 if (phy->rev >= 7) in b43_nphy_set_channel()
6430 if (phy->rev >= 7) in b43_nphy_set_channel()
6434 if (phy->rev >= 19) { in b43_nphy_set_channel()
6436 } else if (phy->rev >= 7) { in b43_nphy_set_channel()
6448 } else if (phy->rev >= 3) { in b43_nphy_set_channel()
6488 nphy->hang_avoid = (phy->rev == 3 || phy->rev == 4); in b43_nphy_op_prepare_structs()
6489 nphy->spur_avoid = (phy->rev >= 3) ? in b43_nphy_op_prepare_structs()
6503 if (dev->phy.rev >= 3 || in b43_nphy_op_prepare_structs()
6509 if (dev->phy.rev >= 2 && in b43_nphy_op_prepare_structs()
6527 if (dev->phy.rev >= 3) { in b43_nphy_op_prepare_structs()
6577 B43_WARN_ON(dev->phy.rev < 7 && reg == 1); in b43_nphy_op_radio_read()
6579 if (dev->phy.rev >= 7) in b43_nphy_op_radio_read()
6591 B43_WARN_ON(dev->phy.rev < 7 && reg == 1); in b43_nphy_op_radio_write()
6607 if (phy->rev >= 19) { in b43_nphy_op_software_rfkill()
6609 } else if (phy->rev >= 8) { in b43_nphy_op_software_rfkill()
6612 } else if (phy->rev >= 7) { in b43_nphy_op_software_rfkill()
6614 } else if (phy->rev >= 3) { in b43_nphy_op_software_rfkill()
6635 if (phy->rev >= 19) { in b43_nphy_op_software_rfkill()
6637 } else if (phy->rev >= 7) { in b43_nphy_op_software_rfkill()
6641 } else if (phy->rev >= 3) { in b43_nphy_op_software_rfkill()
6658 if (phy->rev >= 19) { in b43_nphy_op_switch_analog()
6660 } else if (phy->rev >= 3) { in b43_nphy_op_switch_analog()