Searched refs:pa_params (Results 1 – 1 of 1) sorted by relevance
4579 bwi_rf_calc_txpower(int8_t *txpwr, uint8_t idx, const int16_t pa_params[]) in bwi_rf_calc_txpower() argument4584 m1 = _bwi_adjust_devide(16 * pa_params[0] + idx * pa_params[1], 32); in bwi_rf_calc_txpower()4585 m2 = imax(_bwi_adjust_devide(32768 + idx * pa_params[2], 256), 1); in bwi_rf_calc_txpower()4622 int16_t pa_params[3]; in bwi_rf_map_txpower() local4699 for (i = 0; i < nitems(pa_params); ++i) in bwi_rf_map_txpower()4700 pa_params[i] = (int16_t)bwi_read_sprom(sc, sprom_ofs + (i * 2)); in bwi_rf_map_txpower()4702 for (i = 0; i < nitems(pa_params); ++i) { in bwi_rf_map_txpower()4707 if (!IS_VALID_PA_PARAM(pa_params[i])) { in bwi_rf_map_txpower()4758 pa_params); in bwi_rf_map_txpower()