Searched refs:coef_exp (Results 1 – 3 of 3) sorted by relevance
1933 unsigned long coef_scaled, coef_exp, coef_man, ds_coef_exp, ds_coef_man; in ar5212SetDeltaSlope() local1956 for (coef_exp = 31; coef_exp > 0; coef_exp--) in ar5212SetDeltaSlope()1957 if ((coef_scaled >> coef_exp) & 0x1) in ar5212SetDeltaSlope()1960 HALASSERT(coef_exp); in ar5212SetDeltaSlope()1961 coef_exp = 14 - (coef_exp - COEF_SCALE_S); in ar5212SetDeltaSlope()1967 coef_man = coef_scaled + (1 << (COEF_SCALE_S - coef_exp - 1)); in ar5212SetDeltaSlope()1968 ds_coef_man = coef_man >> (COEF_SCALE_S - coef_exp); in ar5212SetDeltaSlope()1969 ds_coef_exp = coef_exp - 16; in ar5212SetDeltaSlope()
833 uint32_t coef_exp, coef_man; in ar5416GetDeltaSlopeValues() local838 for (coef_exp = 31; coef_exp > 0; coef_exp--) in ar5416GetDeltaSlopeValues()839 if ((coef_scaled >> coef_exp) & 0x1) in ar5416GetDeltaSlopeValues()842 HALASSERT(coef_exp); in ar5416GetDeltaSlopeValues()843 coef_exp = 14 - (coef_exp - COEF_SCALE_S); in ar5416GetDeltaSlopeValues()849 coef_man = coef_scaled + (1 << (COEF_SCALE_S - coef_exp - 1)); in ar5416GetDeltaSlopeValues()851 *coef_mantissa = coef_man >> (COEF_SCALE_S - coef_exp); in ar5416GetDeltaSlopeValues()852 *coef_exponent = coef_exp - 16; in ar5416GetDeltaSlopeValues()
749 u_int32_t coef_exp, coef_man; in ar9300_get_delta_slope_values() local755 for (coef_exp = 31; coef_exp > 0; coef_exp--) { in ar9300_get_delta_slope_values()756 if ((coef_scaled >> coef_exp) & 0x1) { in ar9300_get_delta_slope_values()761 HALASSERT(coef_exp); in ar9300_get_delta_slope_values()762 coef_exp = 14 - (coef_exp - COEF_SCALE_S); in ar9300_get_delta_slope_values()769 coef_man = coef_scaled + (1 << (COEF_SCALE_S - coef_exp - 1)); in ar9300_get_delta_slope_values()771 *coef_mantissa = coef_man >> (COEF_SCALE_S - coef_exp); in ar9300_get_delta_slope_values()772 *coef_exponent = coef_exp - 16; in ar9300_get_delta_slope_values()