Home
last modified time | relevance | path

Searched refs:effect_id (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/input/
A Dff-core.c24 static int check_effect_access(struct ff_device *ff, int effect_id, in check_effect_access() argument
27 if (effect_id < 0 || effect_id >= ff->max_effects || in check_effect_access()
28 !ff->effect_owners[effect_id]) in check_effect_access()
31 if (file && ff->effect_owners[effect_id] != file) in check_effect_access()
172 static int erase_effect(struct input_dev *dev, int effect_id, in erase_effect() argument
178 error = check_effect_access(ff, effect_id, file); in erase_effect()
183 ff->playback(dev, effect_id, 0); in erase_effect()
184 ff->effect_owners[effect_id] = NULL; in erase_effect()
188 error = ff->erase(dev, effect_id); in erase_effect()
191 ff->effect_owners[effect_id] = file; in erase_effect()
[all …]
A Dff-memless.c435 static int ml_ff_playback(struct input_dev *dev, int effect_id, int value) in ml_ff_playback() argument
438 struct ml_effect_state *state = &ml->states[effect_id]; in ml_ff_playback()
/linux/drivers/input/joystick/iforce/
A Diforce-main.c65 static int iforce_playback(struct input_dev *dev, int effect_id, int value) in iforce_playback() argument
68 struct iforce_core_effect *core_effect = &iforce->core_effects[effect_id]; in iforce_playback()
75 iforce_control_playback(iforce, effect_id, value); in iforce_playback()
152 static int iforce_erase_effect(struct input_dev *dev, int effect_id) in iforce_erase_effect() argument
155 struct iforce_core_effect *core_effect = &iforce->core_effects[effect_id]; in iforce_erase_effect()
/linux/drivers/input/misc/
A Duinput.c47 unsigned int effect_id; member
229 static int uinput_dev_playback(struct input_dev *dev, int effect_id, int value) in uinput_dev_playback() argument
231 return uinput_dev_event(dev, EV_FF, effect_id, value); in uinput_dev_playback()
259 static int uinput_dev_erase_effect(struct input_dev *dev, int effect_id) in uinput_dev_erase_effect() argument
268 request.u.effect_id = effect_id; in uinput_dev_erase_effect()
974 ff_erase.effect_id = req->u.effect_id; in uinput_ioctl_handler()
A Dda7280.c660 int effect_id, int val) in da7280_haptics_playback() argument
/linux/include/linux/
A Dinput.h547 int (*erase)(struct input_dev *dev, int effect_id);
549 int (*playback)(struct input_dev *dev, int effect_id, int value);
572 int input_ff_erase(struct input_dev *dev, int effect_id, struct file *file);
/linux/drivers/hid/
A Dhid-logitech-hidpp.c2146 int effect_id; member
2194 if (data->effect_ids[i] == effect_id) in hidpp_ff_find_effect()
2209 switch (wd->effect_id) { in hidpp_ff_work_handler()
2218 wd->params[0] = hidpp_ff_find_effect(data, wd->effect_id); in hidpp_ff_work_handler()
2236 if (wd->effect_id >= 0) in hidpp_ff_work_handler()
2238 data->effect_ids[slot-1] = wd->effect_id; in hidpp_ff_work_handler()
2239 else if (wd->effect_id >= HIDPP_FF_EFFECTID_AUTOCENTER) in hidpp_ff_work_handler()
2245 if (wd->effect_id >= 0) in hidpp_ff_work_handler()
2248 else if (wd->effect_id >= HIDPP_FF_EFFECTID_AUTOCENTER) in hidpp_ff_work_handler()
2279 wd->effect_id = effect_id; in hidpp_ff_queue_work()
[all …]
/linux/drivers/hid/usbhid/
A Dhid-pidff.c511 static int pidff_playback(struct input_dev *dev, int effect_id, int value) in pidff_playback() argument
515 pidff_playback_pid(pidff, pidff->pid_id[effect_id], value); in pidff_playback()
533 static int pidff_erase_effect(struct input_dev *dev, int effect_id) in pidff_erase_effect() argument
536 int pid_id = pidff->pid_id[effect_id]; in pidff_erase_effect()
539 effect_id, pidff->pid_id[effect_id]); in pidff_erase_effect()
/linux/include/uapi/linux/
A Duinput.h59 __u32 effect_id; member

Completed in 32 milliseconds