Lines Matching refs:gain
62 int gain; member
245 int gain) in ml_combine_effects() argument
258 x = fixp_mult(fixp_sin(i), level) * gain / 0xffff; in ml_combine_effects()
259 y = fixp_mult(-fixp_cos(i), level) * gain / 0xffff; in ml_combine_effects()
272 strong = (u32)new->u.rumble.strong_magnitude * gain / 0xffff; in ml_combine_effects()
273 weak = (u32)new->u.rumble.weak_magnitude * gain / 0xffff; in ml_combine_effects()
299 i = i * gain / 0x7fff; in ml_combine_effects()
383 ml_combine_effects(combo_effect, state, ml->gain); in ml_get_combo_effect()
419 static void ml_ff_set_gain(struct input_dev *dev, u16 gain) in ml_ff_set_gain() argument
424 ml->gain = gain; in ml_ff_set_gain()
516 ml->gain = 0xffff; in input_ff_create_memless()