···58585959/*6060 * Bit weights in mg for bit 0, other bits need6161- * multipy factor 2^n. Eight bit is the sign bit.6161+ * multiply factor 2^n. Eight bit is the sign bit.6262 */6363#define BIT_TO_2G 186464#define BIT_TO_8G 71
+1-1
sound/oss/vwsnd.c
···438438 *439439 * Observe that (mask & -mask) is (1 << low_set_bit_of(mask)).440440 * As long as mask is constant, we trust the compiler will change the441441- * multipy and divide into shifts.441441+ * multiply and divide into shifts.442442 */443443444444#define SHIFT_FIELD(val, mask) (((val) * ((mask) & -(mask))) & (mask))