Lines Matching full:effects
35 * Checks whether 2 effects can be combined together
142 old = &ff->effects[id]; in input_ff_upload()
155 ff->effects[id] = *effect; in input_ff_upload()
225 * input_ff_flush - erase all effects owned by a file handle
227 * @file: purported owner of the effects
229 * This function erases all force-feedback effects associated with
231 * in which case all effects will be erased.
294 * @max_effects: maximum number of effects supported by the device
309 dev_err(&dev->dev, "cannot allocate device without any effects\n"); in input_ff_create()
314 dev_err(&dev->dev, "cannot allocate more than FF_MAX_EFFECTS effects\n"); in input_ff_create()
327 ff->effects = kcalloc(max_effects, sizeof(struct ff_effect), in input_ff_create()
329 if (!ff->effects) { in input_ff_create()
346 /* we can emulate RUMBLE with periodic effects */ in input_ff_create()
371 kfree(ff->effects); in input_ff_destroy()