Lines Matching refs:ofdm_pwrlvl

2785 	uint8_t ofdm_pwrlvl = sc->sc_txpwr_ofdm[chan] & 0xff;  in urtw_8225_set_txpwrlvl()  local
2808 ofdm_pwrlvl = (ofdm_pwrlvl > (ofdm_pwrlvl_max - ofdm_pwrlvl_min)) ? in urtw_8225_set_txpwrlvl()
2809 ofdm_pwrlvl_max : ofdm_pwrlvl + ofdm_pwrlvl_min; in urtw_8225_set_txpwrlvl()
2810 ofdm_pwrlvl = (ofdm_pwrlvl > 35) ? 35 : ofdm_pwrlvl; in urtw_8225_set_txpwrlvl()
2812 idx = ofdm_pwrlvl % 6; in urtw_8225_set_txpwrlvl()
2813 set = ofdm_pwrlvl / 6; in urtw_8225_set_txpwrlvl()
3101 uint8_t ofdm_pwrlvl = sc->sc_txpwr_ofdm[chan] & 0xff; in urtw_8225v2_set_txpwrlvl() local
3119 ofdm_pwrlvl = (ofdm_pwrlvl > (ofdm_pwrlvl_max - ofdm_pwrlvl_min)) ? in urtw_8225v2_set_txpwrlvl()
3120 ofdm_pwrlvl_max : ofdm_pwrlvl + ofdm_pwrlvl_min; in urtw_8225v2_set_txpwrlvl()
3121 ofdm_pwrlvl += sc->sc_txpwr_ofdm_base; in urtw_8225v2_set_txpwrlvl()
3122 ofdm_pwrlvl = (ofdm_pwrlvl > 35) ? 35 : ofdm_pwrlvl; in urtw_8225v2_set_txpwrlvl()
3135 urtw_8225v2_tx_gain_cck_ofdm[ofdm_pwrlvl]); in urtw_8225v2_set_txpwrlvl()
3381 uint8_t ofdm_pwrlvl = sc->sc_txpwr_ofdm[chan] & 0xff; in urtw_8225v2b_set_txpwrlvl() local
3408 ofdm_pwrlvl = (ofdm_pwrlvl > 15) ? in urtw_8225v2b_set_txpwrlvl()
3410 (ofdm_pwrlvl + ((sc->sc_flags & URTW_RTL8187B_REV_B) ? 2 : 10)); in urtw_8225v2b_set_txpwrlvl()
3411 ofdm_pwrlvl += sc->sc_txpwr_ofdm_base; in urtw_8225v2b_set_txpwrlvl()
3412 ofdm_pwrlvl = (ofdm_pwrlvl > 35) ? 35 : ofdm_pwrlvl; in urtw_8225v2b_set_txpwrlvl()
3415 urtw_8225v2_tx_gain_cck_ofdm[ofdm_pwrlvl] << 1); in urtw_8225v2b_set_txpwrlvl()
3418 if (ofdm_pwrlvl <= 11) { in urtw_8225v2b_set_txpwrlvl()
3426 if (ofdm_pwrlvl <= 11) { in urtw_8225v2b_set_txpwrlvl()
3429 } else if (ofdm_pwrlvl <= 17) { in urtw_8225v2b_set_txpwrlvl()