Home
last modified time | relevance | path

Searched refs:coef_exp (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/sys/external/isc/atheros_hal/dist/ar5416/
H A Dar5416_reset.c701 uint32_t coef_exp, coef_man; in ar5416GetDeltaSlopeValues() local
706 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()
/netbsd-src/sys/external/isc/atheros_hal/dist/ar5212/
H A Dar5212_reset.c1798 unsigned long coef_scaled, coef_exp, coef_man, ds_coef_exp, ds_coef_man; in ar5212SetDeltaSlope() local
1821 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()