Searched refs:effect_id (Results 1 - 7 of 7) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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];
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Duinput.h54 int effect_id; member in union:uinput_request::__anon18221
89 int effect_id; member in struct:uinput_ff_erase
H A Dinput.h1518 int (*erase)(struct input_dev *dev, int effect_id);
1520 int (*playback)(struct input_dev *dev, int effect_id, int value);
1543 int input_ff_erase(struct input_dev *dev, int effect_id, struct file *file);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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];
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/misc/
H A Duinput.c160 static int uinput_dev_playback(struct input_dev *dev, int effect_id, int value) argument
162 return uinput_dev_event(dev, EV_FF, effect_id, value);
197 static int uinput_dev_erase_effect(struct input_dev *dev, int effect_id) argument
209 request.u.effect_id = effect_id;
742 ff_erase.effect_id = req->u.effect_id;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hid/usbhid/
H A Dhid-pidff.c520 * Play the effect with effect id @effect_id for @value times
522 static int pidff_playback(struct input_dev *dev, int effect_id, int value) argument
526 pidff_playback_pid(pidff, pidff->pid_id[effect_id], value);
542 * Stop and erase effect with effect_id
544 static int pidff_erase_effect(struct input_dev *dev, int effect_id) argument
547 int pid_id = pidff->pid_id[effect_id];
549 debug("starting to erase %d/%d", effect_id, pidff->pid_id[effect_id]);

Completed in 96 milliseconds