Lines Matching refs:s16

1554 static void ath5k_hw_update_nfcal_hist(struct ath5k_hw *ah, s16 noise_floor)  in ath5k_hw_update_nfcal_hist()
1565 static s16
1568 s16 sort[ATH5K_NF_CAL_HIST_MAX]; in ath5k_hw_get_median_noise_floor()
1569 s16 tmp; in ath5k_hw_get_median_noise_floor()
1602 s16 nf, threshold; in ath5k_hw_update_noise_floor()
2421 static s16
2422 ath5k_get_interpolated_value(s16 target, s16 x_left, s16 x_right, in ath5k_get_interpolated_value()
2423 s16 y_left, s16 y_right) in ath5k_get_interpolated_value()
2425 s16 ratio, result; in ath5k_get_interpolated_value()
2459 static s16
2461 const s16 *pwrL, const s16 *pwrR) in ath5k_get_linear_pcdac_min()
2464 s16 min_pwrL, min_pwrR; in ath5k_get_linear_pcdac_min()
2465 s16 pwr_i; in ath5k_get_linear_pcdac_min()
2525 ath5k_create_power_curve(s16 pmin, s16 pmax, in ath5k_create_power_curve()
2526 const s16 *pwr, const u8 *vpd, in ath5k_create_power_curve()
2531 s16 pwr_i = 2 * pmin; in ath5k_create_power_curve()
2775 s16 max_chan_pwr = ah->ah_txpower.txp_max_pwr / 4; in ath5k_get_max_ctl_power()
2776 s16 edge_pwr = 0; in ath5k_get_max_ctl_power()
2830 edge_pwr = (s16) rep[rep_idx].edge; in ath5k_get_max_ctl_power()
2881 ath5k_fill_pwr_to_pcdac_table(struct ath5k_hw *ah, s16* table_min, in ath5k_fill_pwr_to_pcdac_table()
2882 s16 *table_max) in ath5k_fill_pwr_to_pcdac_table()
2887 s16 min_pwr, max_pwr; in ath5k_fill_pwr_to_pcdac_table()
2931 ath5k_combine_linear_pcdac_curves(struct ath5k_hw *ah, s16* table_min, in ath5k_combine_linear_pcdac_curves()
2932 s16 *table_max, u8 pdcurves) in ath5k_combine_linear_pcdac_curves()
2939 s16 max_pwr_idx; in ath5k_combine_linear_pcdac_curves()
2940 s16 min_pwr_idx; in ath5k_combine_linear_pcdac_curves()
2941 s16 mid_pwr_idx = 0; in ath5k_combine_linear_pcdac_curves()
3082 s16 *pwr_min, s16 *pwr_max, u8 pdcurves) in ath5k_combine_pwr_to_pdadc_curves()
3087 s16 pdadc_0; in ath5k_combine_pwr_to_pdadc_curves()
3134 s16 tmp = pdadc_tmp[0] + pdadc_0 * pwr_step; in ath5k_combine_pwr_to_pdadc_curves()
3161 while ((pdadc_0 < (s16) pdadc_n) && in ath5k_combine_pwr_to_pdadc_curves()
3163 s16 tmp = pdadc_tmp[table_size - 1] + in ath5k_combine_pwr_to_pdadc_curves()
3283 s16 table_min[AR5K_EEPROM_N_PD_GAINS]; in ath5k_setup_channel_powertable()
3284 s16 table_max[AR5K_EEPROM_N_PD_GAINS]; in ath5k_setup_channel_powertable()
3394 (s16) pcinfo_L->freq, in ath5k_setup_channel_powertable()
3395 (s16) pcinfo_R->freq, in ath5k_setup_channel_powertable()
3396 (s16) tmpL[i], in ath5k_setup_channel_powertable()
3397 (s16) tmpR[i]); in ath5k_setup_channel_powertable()
3413 (s16) pcinfo_L->freq, in ath5k_setup_channel_powertable()
3414 (s16) pcinfo_R->freq, in ath5k_setup_channel_powertable()
3418 (s16) pcinfo_L->freq, in ath5k_setup_channel_powertable()
3419 (s16) pcinfo_R->freq, in ath5k_setup_channel_powertable()
3516 s16 rate_idx_scaled = 0; in ath5k_setup_rate_powertable()