Lines Matching refs:gain
48 int gain; member
243 int gain) in ml_combine_effects() argument
256 x = fixp_mult(fixp_sin16(i), level) * gain / 0xffff; in ml_combine_effects()
257 y = fixp_mult(-fixp_cos16(i), level) * gain / 0xffff; in ml_combine_effects()
270 strong = (u32)new->u.rumble.strong_magnitude * gain / 0xffff; in ml_combine_effects()
271 weak = (u32)new->u.rumble.weak_magnitude * gain / 0xffff; in ml_combine_effects()
297 i = i * gain / 0x7fff; in ml_combine_effects()
381 ml_combine_effects(combo_effect, state, ml->gain); in ml_get_combo_effect()
415 static void ml_ff_set_gain(struct input_dev *dev, u16 gain) in ml_ff_set_gain() argument
420 ml->gain = gain; in ml_ff_set_gain()
518 ml->gain = 0xffff; in input_ff_create_memless()