Searched refs:effect_id (Results 1 - 5 of 5) sorted by last modified time

/drivers/hid/usbhid/
H A Dhid-pidff.c521 * Play the effect with effect id @effect_id for @value times
523 static int pidff_playback(struct input_dev *dev, int effect_id, int value) argument
527 pidff_playback_pid(pidff, pidff->pid_id[effect_id], value);
543 * Stop and erase effect with effect_id
545 static int pidff_erase_effect(struct input_dev *dev, int effect_id) argument
548 int pid_id = pidff->pid_id[effect_id];
551 effect_id, pidff->pid_id[effect_id]);
/drivers/input/
H A Dff-core.c35 * Check that the effect_id is a valid effect and whether the user
38 static int check_effect_access(struct ff_device *ff, int effect_id, argument
41 if (effect_id < 0 || effect_id >= ff->max_effects ||
42 !ff->effect_owners[effect_id])
45 if (file && ff->effect_owners[effect_id] != file)
186 static int erase_effect(struct input_dev *dev, int effect_id, argument
192 error = check_effect_access(ff, effect_id, file);
197 ff->playback(dev, effect_id, 0);
198 ff->effect_owners[effect_id]
225 input_ff_erase(struct input_dev *dev, int effect_id, struct file *file) argument
[all...]
H A Dff-memless.c435 static int ml_ff_playback(struct input_dev *dev, int effect_id, int value) argument
438 struct ml_effect_state *state = &ml->states[effect_id];
/drivers/input/joystick/iforce/
H A Diforce-main.c89 static int iforce_playback(struct input_dev *dev, int effect_id, int value) argument
92 struct iforce_core_effect *core_effect = &iforce->core_effects[effect_id];
99 iforce_control_playback(iforce, effect_id, value);
177 static int iforce_erase_effect(struct input_dev *dev, int effect_id) argument
180 struct iforce_core_effect *core_effect = &iforce->core_effects[effect_id];
/drivers/input/misc/
H A Duinput.c189 static int uinput_dev_playback(struct input_dev *dev, int effect_id, int value) argument
191 return uinput_dev_event(dev, EV_FF, effect_id, value);
219 static int uinput_dev_erase_effect(struct input_dev *dev, int effect_id) argument
228 request.u.effect_id = effect_id;
831 ff_erase.effect_id = req->u.effect_id;

Completed in 184 milliseconds