Searched refs:rfa_pwr (Results 1 – 1 of 1) sorted by relevance
293 u8 i, rfa_pwr[4]; in _rtl92s_write_ofdm_powerreg() local314 rfa_pwr[i] = (u8)((writeval & (0x7f << (i * 8))) >> (i * 8)); in _rtl92s_write_ofdm_powerreg()315 if (rfa_pwr[i] > RF6052_MAX_TX_PWR) in _rtl92s_write_ofdm_powerreg()316 rfa_pwr[i] = RF6052_MAX_TX_PWR; in _rtl92s_write_ofdm_powerreg()325 if (rfa_pwr[i] < rfa_lower_bound) in _rtl92s_write_ofdm_powerreg()326 rfa_pwr[i] = rfa_lower_bound; in _rtl92s_write_ofdm_powerreg()330 if (rfa_pwr[i] > rfa_upper_bound) in _rtl92s_write_ofdm_powerreg()331 rfa_pwr[i] = rfa_upper_bound; in _rtl92s_write_ofdm_powerreg()337 writeval = (rfa_pwr[3] << 24) | (rfa_pwr[2] << 16) | (rfa_pwr[1] << 8) | in _rtl92s_write_ofdm_powerreg()338 rfa_pwr[0]; in _rtl92s_write_ofdm_powerreg()