Home
last modified time | relevance | path

Searched refs:ff_effect (Results 1 – 43 of 43) sorted by relevance

/linux-4.1.27/drivers/input/joystick/iforce/
Diforce.h165 int iforce_upload_periodic(struct iforce *, struct ff_effect *, struct ff_effect *);
166 int iforce_upload_constant(struct iforce *, struct ff_effect *, struct ff_effect *);
167 int iforce_upload_condition(struct iforce *, struct ff_effect *, struct ff_effect *);
Diforce-ff.c201 struct ff_effect *old, in need_condition_modifier()
202 struct ff_effect *new) in need_condition_modifier()
229 struct ff_effect *old, in need_magnitude_modifier()
230 struct ff_effect *effect) in need_magnitude_modifier()
245 static int need_envelope_modifier(struct iforce *iforce, struct ff_effect *old, in need_envelope_modifier()
246 struct ff_effect *effect) in need_envelope_modifier()
277 static int need_period_modifier(struct iforce *iforce, struct ff_effect *old, in need_period_modifier()
278 struct ff_effect *new) in need_period_modifier()
295 static int need_core(struct ff_effect *old, struct ff_effect *new) in need_core()
357 int iforce_upload_periodic(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old) in iforce_upload_periodic()
[all …]
Diforce-main.c130 static int iforce_upload_effect(struct input_dev *dev, struct ff_effect *effect, struct ff_effect *… in iforce_upload_effect()
/linux-4.1.27/drivers/input/
Dinput-compat.c66 struct ff_effect *effect) in input_ff_effect_from_user()
90 if (size != sizeof(struct ff_effect)) in input_ff_effect_from_user()
93 if (copy_from_user(effect, buffer, sizeof(struct ff_effect))) in input_ff_effect_from_user()
121 struct ff_effect *effect) in input_ff_effect_from_user()
123 if (size != sizeof(struct ff_effect)) in input_ff_effect_from_user()
126 if (copy_from_user(effect, buffer, sizeof(struct ff_effect))) in input_ff_effect_from_user()
Dff-memless.c51 struct ff_effect *effect;
67 struct ff_effect *effect);
70 static const struct ff_envelope *get_envelope(const struct ff_effect *effect) in get_envelope()
167 struct ff_effect *effect = state->effect; in apply_envelope()
255 static void ml_combine_effects(struct ff_effect *effect, in ml_combine_effects()
259 struct ff_effect *new = state->effect; in ml_combine_effects()
340 struct ff_effect *combo_effect) in ml_get_combo_effect()
342 struct ff_effect *effect; in ml_get_combo_effect()
347 memset(combo_effect, 0, sizeof(struct ff_effect)); in ml_get_combo_effect()
404 struct ff_effect effect; in ml_play_effects()
[all …]
Dff-core.c52 static inline int check_effects_compatible(struct ff_effect *e1, in check_effects_compatible()
53 struct ff_effect *e2) in check_effects_compatible()
63 static int compat_effect(struct ff_device *ff, struct ff_effect *effect) in compat_effect()
104 int input_ff_upload(struct input_dev *dev, struct ff_effect *effect, in input_ff_upload()
108 struct ff_effect *old; in input_ff_upload()
330 ff->effects = kcalloc(max_effects, sizeof(struct ff_effect), in input_ff_create()
Dinput-compat.h90 struct ff_effect *effect);
Devdev.c862 struct ff_effect effect; in evdev_do_ioctl()
988 if (put_user(effect.id, &(((struct ff_effect __user *)p)->id))) in evdev_do_ioctl()
/linux-4.1.27/include/linux/
Duinput.h55 struct ff_effect *effect;
56 struct ff_effect *old;
Dinput.h502 int (*upload)(struct input_dev *dev, struct ff_effect *effect,
503 struct ff_effect *old);
519 struct ff_effect *effects;
528 int input_ff_upload(struct input_dev *dev, struct ff_effect *effect, struct file *file);
532 int (*play_effect)(struct input_dev *, void *, struct ff_effect *));
/linux-4.1.27/drivers/hid/usbhid/
Dhid-pidff.c286 struct ff_effect *effect) in pidff_set_constant_force_report()
300 static int pidff_needs_set_constant(struct ff_effect *effect, in pidff_needs_set_constant()
301 struct ff_effect *old) in pidff_needs_set_constant()
310 struct ff_effect *effect) in pidff_set_effect_report()
335 static int pidff_needs_set_effect(struct ff_effect *effect, in pidff_needs_set_effect()
336 struct ff_effect *old) in pidff_needs_set_effect()
349 struct ff_effect *effect) in pidff_set_periodic_report()
368 static int pidff_needs_set_periodic(struct ff_effect *effect, in pidff_needs_set_periodic()
369 struct ff_effect *old) in pidff_needs_set_periodic()
381 struct ff_effect *effect) in pidff_set_condition_report()
[all …]
/linux-4.1.27/include/uapi/linux/
Duinput.h46 struct ff_effect effect;
47 struct ff_effect old;
Dinput.h150 #define EVIOCSFF _IOC(_IOC_WRITE, 'E', 0x80, sizeof(struct ff_effect)) /* send a force effect to a…
1150 struct ff_effect { struct
/linux-4.1.27/drivers/hid/
Dhid-lg2ff.c35 struct ff_effect *effect) in play_effect()
Dhid-zpff.c38 struct ff_effect *effect) in zpff_play()
Dhid-lg3ff.c61 struct ff_effect *effect) in hid_lg3ff_play()
Dhid-betopff.c41 struct ff_effect *effect) in hid_betopff_play()
Dhid-emsff.c35 struct ff_effect *effect) in emsff_play()
Dhid-holtekff.c107 struct ff_effect *effect) in holtekff_play()
Dhid-sjoy.c42 struct ff_effect *effect) in hid_sjoyff_play()
Dhid-axff.c43 static int axff_play(struct input_dev *dev, void *data, struct ff_effect *effect) in axff_play()
Dhid-lgff.c69 static int hid_lgff_play(struct input_dev *dev, void *data, struct ff_effect *effect) in hid_lgff_play()
Dhid-gaff.c43 struct ff_effect *effect) in hid_gaff_play()
Dhid-dr.c44 struct ff_effect *effect) in drff_play()
Dhid-pl.c60 struct ff_effect *effect) in hid_plff_play()
Dhid-tmff.c84 struct ff_effect *effect) in tmff_play()
Dhid-lg4ff.c297 static int hid_lg4ff_play(struct input_dev *dev, void *data, struct ff_effect *effect) in hid_lg4ff_play()
Dhid-wiimote-modules.c134 struct ff_effect *eff) in wiimod_rumble_play()
1777 struct ff_effect *eff) in wiimod_pro_play()
Dhid-sony.c1648 struct ff_effect *effect) in sony_play_effect()
/linux-4.1.27/Documentation/input/
Dff.txt95 int ioctl(int file_descriptor, int request, struct ff_effect *effect);
109 See <linux/input.h> for a description of the ff_effect struct. You should also
129 struct ff_effect effect;
/linux-4.1.27/drivers/input/misc/
Dpm8xxx-vibrator.c131 struct ff_effect *effect) in pm8xxx_vib_play_effect()
Darizona-haptics.c111 struct ff_effect *effect) in arizona_haptics_play()
Dtwl4030-vibra.c137 struct ff_effect *effect) in vibra_play()
Dregulator-haptic.c98 struct ff_effect *effect) in regulator_haptic_play_effect()
Duinput.c195 struct ff_effect *effect, in uinput_dev_upload_effect()
196 struct ff_effect *old) in uinput_dev_upload_effect()
813 memset(&ff_up.old, 0, sizeof(struct ff_effect)); in uinput_ioctl_handler()
Dmax77693-haptic.c194 struct ff_effect *effect) in max77693_haptic_play_effect()
Dmax77843-haptic.c191 struct ff_effect *effect) in max77843_haptic_play_effect()
Dtwl6040-vibra.c200 struct ff_effect *effect) in vibra_play()
Dmax8997_haptic.c232 struct ff_effect *effect) in max8997_haptic_play_effect()
Ddrv2667.c235 struct ff_effect *effect) in drv2667_haptics_play()
Ddrv260x.c283 struct ff_effect *effect) in drv260x_haptics_play()
/linux-4.1.27/drivers/input/joystick/
Dgamecon.c266 struct ff_effect *effect) in gc_n64_play_effect()
Dxpad.c782 static int xpad_play_effect(struct input_dev *dev, void *data, struct ff_effect *effect) in xpad_play_effect()