[go: nahoru, domu]

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

/drivers/net/wireless/ath/ath9k/
H A Dar5008_phy.c816 u32 coef_scaled, ds_coef_exp, ds_coef_man; local
826 coef_scaled = clockMhzScaled / centers.synth_center;
828 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man,
836 coef_scaled = (9 * coef_scaled) / 10;
838 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man,
H A Dar9003_phy.c917 u32 coef_scaled, ds_coef_exp, ds_coef_man; local
935 coef_scaled = clockMhzScaled / centers.synth_center;
937 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man,
949 coef_scaled = (9 * coef_scaled) / 10;
951 ath9k_hw_get_delta_slope_vals(ah, coef_scaled, &ds_coef_man,
H A Dhw.c1203 void ath9k_hw_get_delta_slope_vals(struct ath_hw *ah, u32 coef_scaled, argument
1209 if ((coef_scaled >> coef_exp) & 0x1)
1214 coef_man = coef_scaled + (1 << (COEF_SCALE_S - coef_exp - 1));
H A Dhw.h1038 void ath9k_hw_get_delta_slope_vals(struct ath_hw *ah, u32 coef_scaled,
/drivers/net/wireless/ath/ath5k/
H A Dphy.c289 u32 coef_scaled, coef_exp, coef_man, local
313 coef_scaled = ((5 * (clock << 24)) / 2) / channel->center_freq;
317 coef_exp = ilog2(coef_scaled);
320 if (!coef_scaled || !coef_exp)
323 /* Note: we've shifted coef_scaled by 24 */
328 * ALGO: coef_mant = floor(coef_scaled* 2^coef_exp+0.5) */
329 coef_man = coef_scaled +

Completed in 318 milliseconds