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