Searched refs:coef_scaled (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/net/wireless/ath/ath9k/
H A Dar5008_phy.c841 u32 coef_scaled, ds_coef_exp, ds_coef_man; ar5008_hw_set_delta_slope() local
851 coef_scaled = clockMhzScaled / centers.synth_center; ar5008_hw_set_delta_slope()
853 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man, ar5008_hw_set_delta_slope()
861 coef_scaled = (9 * coef_scaled) / 10; ar5008_hw_set_delta_slope()
863 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man, ar5008_hw_set_delta_slope()
H A Dar9003_phy.c1022 u32 coef_scaled, ds_coef_exp, ds_coef_man; ar9003_hw_set_delta_slope() local
1040 coef_scaled = clockMhzScaled / centers.synth_center; ar9003_hw_set_delta_slope()
1042 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man, ar9003_hw_set_delta_slope()
1054 coef_scaled = (9 * coef_scaled) / 10; ar9003_hw_set_delta_slope()
1056 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man, ar9003_hw_set_delta_slope()
H A Dhw.c1261 void ath9k_hw_get_delta_slope_vals(struct ath_hw *ah, u32 coef_scaled, ath9k_hw_get_delta_slope_vals() argument
1267 if ((coef_scaled >> coef_exp) & 0x1) ath9k_hw_get_delta_slope_vals()
1272 coef_man = coef_scaled + (1 << (COEF_SCALE_S - coef_exp - 1)); ath9k_hw_get_delta_slope_vals()
H A Dhw.h1088 void ath9k_hw_get_delta_slope_vals(struct ath_hw *ah, u32 coef_scaled,
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
H A Dphy.c289 u32 coef_scaled, coef_exp, coef_man, ath5k_hw_write_ofdm_timings() local
313 coef_scaled = ((5 * (clock << 24)) / 2) / channel->center_freq; ath5k_hw_write_ofdm_timings()
317 coef_exp = ilog2(coef_scaled); ath5k_hw_write_ofdm_timings()
320 if (!coef_scaled || !coef_exp) ath5k_hw_write_ofdm_timings()
323 /* Note: we've shifted coef_scaled by 24 */ ath5k_hw_write_ofdm_timings()
328 * ALGO: coef_mant = floor(coef_scaled* 2^coef_exp+0.5) */ ath5k_hw_write_ofdm_timings()
329 coef_man = coef_scaled + ath5k_hw_write_ofdm_timings()

Completed in 183 milliseconds