Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath9k/
Dar5008_phy.c865 u32 coef_scaled, ds_coef_exp, ds_coef_man; in ar5008_hw_set_delta_slope() local
875 coef_scaled = clockMhzScaled / centers.synth_center; in ar5008_hw_set_delta_slope()
877 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man, in ar5008_hw_set_delta_slope()
885 coef_scaled = (9 * coef_scaled) / 10; in ar5008_hw_set_delta_slope()
887 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man, in ar5008_hw_set_delta_slope()
Dar9003_phy.c1010 u32 coef_scaled, ds_coef_exp, ds_coef_man; in ar9003_hw_set_delta_slope() local
1028 coef_scaled = clockMhzScaled / centers.synth_center; in ar9003_hw_set_delta_slope()
1030 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man, in ar9003_hw_set_delta_slope()
1042 coef_scaled = (9 * coef_scaled) / 10; in ar9003_hw_set_delta_slope()
1044 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man, in ar9003_hw_set_delta_slope()
Dhw.c1298 void ath9k_hw_get_delta_slope_vals(struct ath_hw *ah, u32 coef_scaled, in ath9k_hw_get_delta_slope_vals() argument
1304 if ((coef_scaled >> coef_exp) & 0x1) in ath9k_hw_get_delta_slope_vals()
1309 coef_man = coef_scaled + (1 << (COEF_SCALE_S - coef_exp - 1)); in ath9k_hw_get_delta_slope_vals()
Dhw.h1099 void ath9k_hw_get_delta_slope_vals(struct ath_hw *ah, u32 coef_scaled,
/drivers/net/wireless/ath/ath5k/
Dphy.c289 u32 coef_scaled, coef_exp, coef_man, in ath5k_hw_write_ofdm_timings() local
313 coef_scaled = ((5 * (clock << 24)) / 2) / channel->center_freq; in ath5k_hw_write_ofdm_timings()
317 coef_exp = ilog2(coef_scaled); in ath5k_hw_write_ofdm_timings()
320 if (!coef_scaled || !coef_exp) in ath5k_hw_write_ofdm_timings()
329 coef_man = coef_scaled + in ath5k_hw_write_ofdm_timings()