Home
last modified time | relevance | path

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

12

/linux/drivers/input/joystick/iforce/
H A Diforce.h141 int iforce_upload_periodic(struct iforce *, struct ff_effect *, struct ff_effect *);
142 int iforce_upload_constant(struct iforce *, struct ff_effect *, struct ff_effect *);
143 int iforce_upload_condition(struct iforce *, struct ff_effect *, struct ff_effect *);
H A Diforce-ff.c178 struct ff_effect *old, in need_condition_modifier()
179 struct ff_effect *new) in need_condition_modifier()
206 struct ff_effect *old, in need_magnitude_modifier()
207 struct ff_effect *effect) in need_magnitude_modifier()
222 static int need_envelope_modifier(struct iforce *iforce, struct ff_effect *old, in need_envelope_modifier()
223 struct ff_effect *effect) in need_envelope_modifier()
254 static int need_period_modifier(struct iforce *iforce, struct ff_effect *old, in need_period_modifier()
255 struct ff_effect *new) in need_period_modifier()
272 static int need_core(struct ff_effect *old, struct ff_effect *new) in need_core()
334 int iforce_upload_periodic(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old) in iforce_upload_periodic()
[all …]
/linux/drivers/input/
H A Dff-memless.c37 struct ff_effect *effect;
53 struct ff_effect *effect);
56 static const struct ff_envelope *get_envelope(const struct ff_effect *effect) in get_envelope()
153 struct ff_effect *effect = state->effect; in apply_envelope()
241 static void ml_combine_effects(struct ff_effect *effect, in ml_combine_effects()
245 struct ff_effect *new = state->effect; in ml_combine_effects()
326 struct ff_effect *combo_effect) in ml_get_combo_effect()
328 struct ff_effect *effect; in ml_get_combo_effect()
333 memset(combo_effect, 0, sizeof(struct ff_effect)); in ml_get_combo_effect()
390 struct ff_effect effect; in ml_play_effects()
[all …]
H A Dff-core.c39 static inline int check_effects_compatible(struct ff_effect *e1, in check_effects_compatible()
40 struct ff_effect *e2) in check_effects_compatible()
50 static int compat_effect(struct ff_device *ff, struct ff_effect *effect) in compat_effect()
91 int input_ff_upload(struct input_dev *dev, struct ff_effect *effect, in input_ff_upload()
95 struct ff_effect *old; in input_ff_upload()
/linux/drivers/hid/usbhid/
H A Dhid-pidff.c246 static int pidff_is_effect_conditional(struct ff_effect *effect) in pidff_is_effect_conditional()
263 static int pidff_effect_ff_to_pid(struct ff_effect *effect) in pidff_effect_ff_to_pid()
301 struct ff_effect *effect) in pidff_get_effect_type_id()
401 struct ff_effect *effect) in pidff_set_effect_direction()
492 struct ff_effect *effect) in pidff_set_constant_report()
506 static int pidff_needs_set_constant(struct ff_effect *effect, in pidff_needs_set_constant()
507 struct ff_effect *old) in pidff_needs_set_constant()
516 struct ff_effect *effect) in pidff_set_effect_report()
556 static int pidff_needs_set_effect(struct ff_effect *effect, in pidff_needs_set_effect()
557 struct ff_effect *old) in pidff_needs_set_effect()
[all …]
/linux/include/uapi/linux/
H A Duinput.h52 struct ff_effect effect;
53 struct ff_effect old;
/linux/drivers/hid/
H A Dhid-haptic.c233 static int hid_haptic_upload_effect(struct input_dev *dev, struct ff_effect *effect, in hid_haptic_upload_effect()
234 struct ff_effect *old) in hid_haptic_upload_effect()
325 static void effect_set_default(struct ff_effect *effect) in effect_set_default()
339 struct ff_effect effect; in hid_haptic_erase()
H A Dhid-lg2ff.c23 struct ff_effect *effect) in play_effect()
H A Dhid-megaworld.c25 struct ff_effect *effect) in mwctrl_play()
H A Dhid-lg3ff.c45 struct ff_effect *effect) in hid_lg3ff_play()
H A Dhid-zpff.c26 struct ff_effect *effect) in zpff_play()
H A Dhid-betopff.c38 struct ff_effect *effect) in hid_betopff_play()
H A Dhid-mf.c34 static int mf_play(struct input_dev *dev, void *data, struct ff_effect *effect) in mf_play()
H A Dhid-holtekff.c91 struct ff_effect *effect) in holtekff_play()
H A Dhid-emsff.c23 struct ff_effect *effect) in emsff_play()
H A Dhid-google-stadiaff.c43 struct ff_effect *effect) in stadiaff_play()
H A Dhid-sjoy.c30 struct ff_effect *effect) in hid_sjoyff_play()
H A Dhid-lgff.c57 static int hid_lgff_play(struct input_dev *dev, void *data, struct ff_effect *effect) in hid_lgff_play()
H A Dhid-gaff.c30 struct ff_effect *effect) in hid_gaff_play()
H A Dhid-axff.c31 static int axff_play(struct input_dev *dev, void *data, struct ff_effect *effect) in axff_play()
H A Dhid-pl.c48 struct ff_effect *effect) in hid_plff_play()
/linux/drivers/input/misc/
H A Duinput.c50 struct ff_effect *effect;
51 struct ff_effect *old;
236 struct ff_effect *effect, in uinput_dev_upload_effect()
237 struct ff_effect *old) in uinput_dev_upload_effect()
1005 memset(&ff_up.old, 0, sizeof(struct ff_effect)); in uinput_ioctl_handler()
H A Dcs40l50-vibra.c90 struct ff_effect *effect;
316 static int cs40l50_add(struct input_dev *dev, struct ff_effect *effect, in cs40l50_add()
317 struct ff_effect *old) in cs40l50_add()
H A Dgpio-vibra.c78 struct ff_effect *effect) in gpio_vibrator_play_effect()
/linux/Documentation/input/
H A Dff.rst115 int ioctl(int file_descriptor, int request, struct ff_effect *effect);
129 See <uapi/linux/input.h> for a description of the ff_effect struct. You
164 struct ff_effect effect;

12