Searched refs:coef_exp (Results 1 – 2 of 2) sorted by relevance
1300 u32 coef_exp, coef_man; in ath9k_hw_get_delta_slope_vals() local1302 for (coef_exp = 31; coef_exp > 0; coef_exp--) in ath9k_hw_get_delta_slope_vals()1303 if ((coef_scaled >> coef_exp) & 0x1) in ath9k_hw_get_delta_slope_vals()1306 coef_exp = 14 - (coef_exp - COEF_SCALE_S); 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()1310 *coef_mantissa = coef_man >> (COEF_SCALE_S - coef_exp); in ath9k_hw_get_delta_slope_vals()1311 *coef_exponent = coef_exp - 16; in ath9k_hw_get_delta_slope_vals()
290 u32 coef_scaled, coef_exp, coef_man, in ath5k_hw_write_ofdm_timings() local318 coef_exp = ilog2(coef_scaled); in ath5k_hw_write_ofdm_timings()321 if (!coef_scaled || !coef_exp) in ath5k_hw_write_ofdm_timings()325 coef_exp = 14 - (coef_exp - 24); in ath5k_hw_write_ofdm_timings()331 (1 << (24 - coef_exp - 1)); in ath5k_hw_write_ofdm_timings()335 ds_coef_man = coef_man >> (24 - coef_exp); in ath5k_hw_write_ofdm_timings()336 ds_coef_exp = coef_exp - 16; in ath5k_hw_write_ofdm_timings()