Lines Matching full:effects
37 * Checks whether 2 effects can be combined together
142 old = &ff->effects[id]; in input_ff_upload()
153 ff->effects[id] = *effect; in input_ff_upload()
216 * input_ff_flush - erase all effects owned by a file handle
218 * @file: purported owner of the effects
220 * This function erases all force-feedback effects associated with
222 * in which case all effects will be erased.
283 * @max_effects: maximum number of effects supported by the device
296 dev_err(&dev->dev, "cannot allocate device without any effects\n"); in input_ff_create()
301 dev_err(&dev->dev, "cannot allocate more than FF_MAX_EFFECTS effects\n"); in input_ff_create()
311 ff->effects = kcalloc(max_effects, sizeof(*ff->effects), GFP_KERNEL); in input_ff_create()
312 if (!ff->effects) in input_ff_create()
326 /* we can emulate RUMBLE with periodic effects */ in input_ff_create()
353 kfree(ff->effects); in input_ff_destroy()