Lines Matching refs:rumble
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()
275 if (effect->u.rumble.strong_magnitude + strong) in ml_combine_effects()
278 effect->u.rumble.strong_magnitude, in ml_combine_effects()
280 else if (effect->u.rumble.weak_magnitude + weak) in ml_combine_effects()
283 effect->u.rumble.weak_magnitude, in ml_combine_effects()
287 effect->u.rumble.strong_magnitude = in ml_combine_effects()
288 min(strong + effect->u.rumble.strong_magnitude, in ml_combine_effects()
290 effect->u.rumble.weak_magnitude = in ml_combine_effects()
291 min(weak + effect->u.rumble.weak_magnitude, 0xffffU); in ml_combine_effects()
301 if (effect->u.rumble.strong_magnitude + i) in ml_combine_effects()
304 effect->u.rumble.strong_magnitude, in ml_combine_effects()
308 effect->u.rumble.strong_magnitude = in ml_combine_effects()
309 min(i + effect->u.rumble.strong_magnitude, 0xffffU); in ml_combine_effects()
310 effect->u.rumble.weak_magnitude = in ml_combine_effects()
311 min(i + effect->u.rumble.weak_magnitude, 0xffffU); in ml_combine_effects()