Lines Matching full:effects
38 * Checks whether 2 effects can be combined together
145 old = &ff->effects[id]; in input_ff_upload()
158 ff->effects[id] = *effect; in input_ff_upload()
228 * input_ff_flush - erase all effects owned by a file handle
230 * @file: purported owner of the effects
232 * This function erases all force-feedback effects associated with
234 * in which case all effects will be erased.
297 * @max_effects: maximum number of effects supported by the device
312 dev_err(&dev->dev, "cannot allocate device without any effects\n"); in input_ff_create()
317 dev_err(&dev->dev, "cannot allocate more than FF_MAX_EFFECTS effects\n"); in input_ff_create()
330 ff->effects = kcalloc(max_effects, sizeof(struct ff_effect), in input_ff_create()
332 if (!ff->effects) { in input_ff_create()
349 /* we can emulate RUMBLE with periodic effects */ in input_ff_create()
374 kfree(ff->effects); in input_ff_destroy()