Searched refs:coef_exp (Results 1 – 2 of 2) sorted by relevance
701 uint32_t coef_exp, coef_man; in ar5416GetDeltaSlopeValues() local706 for (coef_exp = 31; coef_exp > 0; coef_exp--) in ar5416GetDeltaSlopeValues()707 if ((coef_scaled >> coef_exp) & 0x1) in ar5416GetDeltaSlopeValues()710 HALASSERT(coef_exp); in ar5416GetDeltaSlopeValues()711 coef_exp = 14 - (coef_exp - COEF_SCALE_S); in ar5416GetDeltaSlopeValues()717 coef_man = coef_scaled + (1 << (COEF_SCALE_S - coef_exp - 1)); in ar5416GetDeltaSlopeValues()719 *coef_mantissa = coef_man >> (COEF_SCALE_S - coef_exp); in ar5416GetDeltaSlopeValues()720 *coef_exponent = coef_exp - 16; in ar5416GetDeltaSlopeValues()
1798 unsigned long coef_scaled, coef_exp, coef_man, ds_coef_exp, ds_coef_man; in ar5212SetDeltaSlope() local1821 for (coef_exp = 31; coef_exp > 0; coef_exp--) in ar5212SetDeltaSlope()1822 if ((coef_scaled >> coef_exp) & 0x1) in ar5212SetDeltaSlope()1825 HALASSERT(coef_exp); in ar5212SetDeltaSlope()1826 coef_exp = 14 - (coef_exp - COEF_SCALE_S); in ar5212SetDeltaSlope()1832 coef_man = coef_scaled + (1 << (COEF_SCALE_S - coef_exp - 1)); in ar5212SetDeltaSlope()1833 ds_coef_man = coef_man >> (COEF_SCALE_S - coef_exp); in ar5212SetDeltaSlope()1834 ds_coef_exp = coef_exp - 16; in ar5212SetDeltaSlope()