Searched refs:coef_scaled (Results 1 – 2 of 2) sorted by relevance
/netbsd/sys/external/isc/atheros_hal/dist/ar5416/ |
H A D | ar5416_reset.c | 697 ar5416GetDeltaSlopeValues(struct ath_hal *ah, uint32_t coef_scaled, in ar5416GetDeltaSlopeValues() argument 707 if ((coef_scaled >> coef_exp) & 0x1) in ar5416GetDeltaSlopeValues() 717 coef_man = coef_scaled + (1 << (COEF_SCALE_S - coef_exp - 1)); in ar5416GetDeltaSlopeValues() 729 uint32_t coef_scaled, ds_coef_exp, ds_coef_man; in ar5416SetDeltaSlope() local 749 coef_scaled = clockMhzScaled / centers.synth_center; in ar5416SetDeltaSlope() 751 ar5416GetDeltaSlopeValues(ah, coef_scaled, &ds_coef_man, &ds_coef_exp); in ar5416SetDeltaSlope() 762 coef_scaled = (9 * coef_scaled)/10; in ar5416SetDeltaSlope() 764 ar5416GetDeltaSlopeValues(ah, coef_scaled, &ds_coef_man, &ds_coef_exp); in ar5416SetDeltaSlope()
|
/netbsd/sys/external/isc/atheros_hal/dist/ar5212/ |
H A D | ar5212_reset.c | 1798 unsigned long coef_scaled, coef_exp, coef_man, ds_coef_exp, ds_coef_man; in ar5212SetDeltaSlope() local 1815 coef_scaled = clockMhzScaled / chan->channel; in ar5212SetDeltaSlope() 1822 if ((coef_scaled >> coef_exp) & 0x1) in ar5212SetDeltaSlope() 1832 coef_man = coef_scaled + (1 << (COEF_SCALE_S - coef_exp - 1)); in ar5212SetDeltaSlope()
|