Lines Matching refs:new
246 struct ff_effect *new = state->effect;
251 switch (new->type) {
253 i = new->direction * 360 / 0xffff;
255 new->u.constant.level,
256 &new->u.constant.envelope));
271 strong = (u32)new->u.rumble.strong_magnitude * gain / 0xffff;
272 weak = (u32)new->u.rumble.weak_magnitude * gain / 0xffff;
278 new->direction, strong);
283 new->direction, weak);
294 i = apply_envelope(state, abs(new->u.periodic.magnitude),
295 &new->u.periodic.envelope);
304 new->direction, i);