Home
last modified time | relevance | path

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

/trueos/sys/dev/ath/ath_hal/ar5416/
HDar5416_reset.c817 ar5416GetDeltaSlopeValues(struct ath_hal *ah, uint32_t coef_scaled, in ar5416GetDeltaSlopeValues() argument
827 if ((coef_scaled >> coef_exp) & 0x1) in ar5416GetDeltaSlopeValues()
837 coef_man = coef_scaled + (1 << (COEF_SCALE_S - coef_exp - 1)); in ar5416GetDeltaSlopeValues()
849 uint32_t coef_scaled, ds_coef_exp, ds_coef_man; in ar5416SetDeltaSlope() local
869 coef_scaled = clockMhzScaled / centers.synth_center; in ar5416SetDeltaSlope()
871 ar5416GetDeltaSlopeValues(ah, coef_scaled, &ds_coef_man, &ds_coef_exp); in ar5416SetDeltaSlope()
882 coef_scaled = (9 * coef_scaled)/10; in ar5416SetDeltaSlope()
884 ar5416GetDeltaSlopeValues(ah, coef_scaled, &ds_coef_man, &ds_coef_exp); in ar5416SetDeltaSlope()
/trueos/sys/contrib/dev/ath/ath_hal/ar9300/
HDar9300_reset.c694 ar9300_get_delta_slope_values(struct ath_hal *ah, u_int32_t coef_scaled, in ar9300_get_delta_slope_values() argument
704 if ((coef_scaled >> coef_exp) & 0x1) { in ar9300_get_delta_slope_values()
717 coef_man = coef_scaled + (1 << (COEF_SCALE_S - coef_exp - 1)); in ar9300_get_delta_slope_values()
732 u_int32_t coef_scaled, ds_coef_exp, ds_coef_man; in ar9300_set_delta_slope() local
753 coef_scaled = clock_mhz_scaled / centers.synth_center; in ar9300_set_delta_slope()
755 ar9300_get_delta_slope_values(ah, coef_scaled, &ds_coef_man, &ds_coef_exp); in ar9300_set_delta_slope()
764 coef_scaled = (9 * coef_scaled) / 10; in ar9300_set_delta_slope()
766 ar9300_get_delta_slope_values(ah, coef_scaled, &ds_coef_man, &ds_coef_exp); in ar9300_set_delta_slope()
/trueos/sys/dev/ath/ath_hal/ar5212/
HDar5212_reset.c1932 unsigned long coef_scaled, coef_exp, coef_man, ds_coef_exp, ds_coef_man; in ar5212SetDeltaSlope() local
1949 coef_scaled = clockMhzScaled / freq; in ar5212SetDeltaSlope()
1956 if ((coef_scaled >> coef_exp) & 0x1) in ar5212SetDeltaSlope()
1966 coef_man = coef_scaled + (1 << (COEF_SCALE_S - coef_exp - 1)); in ar5212SetDeltaSlope()