• Home
  • Raw
  • Download

Lines Matching refs:new

183 				   struct ff_effect *new)  in need_condition_modifier()  argument
188 if (new->type != FF_SPRING && new->type != FF_FRICTION) { in need_condition_modifier()
195 ret |= old->u.condition[i].right_saturation != new->u.condition[i].right_saturation in need_condition_modifier()
196 || old->u.condition[i].left_saturation != new->u.condition[i].left_saturation in need_condition_modifier()
197 || old->u.condition[i].right_coeff != new->u.condition[i].right_coeff in need_condition_modifier()
198 || old->u.condition[i].left_coeff != new->u.condition[i].left_coeff in need_condition_modifier()
199 || old->u.condition[i].deadband != new->u.condition[i].deadband in need_condition_modifier()
200 || old->u.condition[i].center != new->u.condition[i].center; in need_condition_modifier()
259 struct ff_effect *new) in need_period_modifier() argument
261 if (new->type != FF_PERIODIC) { in need_period_modifier()
266 return (old->u.periodic.period != new->u.periodic.period in need_period_modifier()
267 || old->u.periodic.magnitude != new->u.periodic.magnitude in need_period_modifier()
268 || old->u.periodic.offset != new->u.periodic.offset in need_period_modifier()
269 || old->u.periodic.phase != new->u.periodic.phase); in need_period_modifier()
276 static int need_core(struct ff_effect *old, struct ff_effect *new) in need_core() argument
278 if (old->direction != new->direction in need_core()
279 || old->trigger.button != new->trigger.button in need_core()
280 || old->trigger.interval != new->trigger.interval in need_core()
281 || old->replay.length != new->replay.length in need_core()
282 || old->replay.delay != new->replay.delay) in need_core()