Lines Matching defs:new
247 struct ff_effect *new = state->effect;
252 switch (new->type) {
254 i = new->direction * 360 / 0xffff;
256 new->u.constant.level,
257 &new->u.constant.envelope));
272 strong = (u32)new->u.rumble.strong_magnitude * gain / 0xffff;
273 weak = (u32)new->u.rumble.weak_magnitude * gain / 0xffff;
279 new->direction, strong);
284 new->direction, weak);
295 i = apply_envelope(state, abs(new->u.periodic.magnitude),
296 &new->u.periodic.envelope);
305 new->direction, i);