Searched refs:coef_scaled (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | ar5008_phy.c | 856 u32 coef_scaled, ds_coef_exp, ds_coef_man; in ar5008_hw_set_delta_slope() local 866 coef_scaled = clockMhzScaled / centers.synth_center; in ar5008_hw_set_delta_slope() 868 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man, in ar5008_hw_set_delta_slope() 876 coef_scaled = (9 * coef_scaled) / 10; in ar5008_hw_set_delta_slope() 878 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man, in ar5008_hw_set_delta_slope()
|
H A D | ar9003_phy.c | 1001 u32 coef_scaled, ds_coef_exp, ds_coef_man; in ar9003_hw_set_delta_slope() local 1019 coef_scaled = clockMhzScaled / centers.synth_center; in ar9003_hw_set_delta_slope() 1021 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man, in ar9003_hw_set_delta_slope() 1033 coef_scaled = (9 * coef_scaled) / 10; in ar9003_hw_set_delta_slope() 1035 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man, in ar9003_hw_set_delta_slope()
|
H A D | hw.c | 1297 void ath9k_hw_get_delta_slope_vals(struct ath_hw *ah, u32 coef_scaled, in ath9k_hw_get_delta_slope_vals() argument 1303 if ((coef_scaled >> coef_exp) & 0x1) in ath9k_hw_get_delta_slope_vals() 1308 coef_man = coef_scaled + (1 << (COEF_SCALE_S - coef_exp - 1)); in ath9k_hw_get_delta_slope_vals()
|
H A D | hw.h | 1101 void ath9k_hw_get_delta_slope_vals(struct ath_hw *ah, u32 coef_scaled,
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | phy.c | 290 u32 coef_scaled, coef_exp, coef_man, in ath5k_hw_write_ofdm_timings() local 314 coef_scaled = ((5 * (clock << 24)) / 2) / channel->center_freq; in ath5k_hw_write_ofdm_timings() 318 coef_exp = ilog2(coef_scaled); in ath5k_hw_write_ofdm_timings() 321 if (!coef_scaled || !coef_exp) in ath5k_hw_write_ofdm_timings() 330 coef_man = coef_scaled + in ath5k_hw_write_ofdm_timings()
|