Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/input/
Dinput-compat.c63 struct ff_effect *effect) in input_ff_effect_from_user()
87 if (size != sizeof(struct ff_effect)) in input_ff_effect_from_user()
90 if (copy_from_user(effect, buffer, sizeof(struct ff_effect))) in input_ff_effect_from_user()
118 struct ff_effect *effect) in input_ff_effect_from_user()
120 if (size != sizeof(struct ff_effect)) in input_ff_effect_from_user()
123 if (copy_from_user(effect, buffer, sizeof(struct ff_effect))) in input_ff_effect_from_user()
Dff-memless.c36 struct ff_effect *effect;
52 struct ff_effect *effect);
55 static const struct ff_envelope *get_envelope(const struct ff_effect *effect) in get_envelope()
152 struct ff_effect *effect = state->effect; in apply_envelope()
240 static void ml_combine_effects(struct ff_effect *effect, in ml_combine_effects()
244 struct ff_effect *new = state->effect; in ml_combine_effects()
325 struct ff_effect *combo_effect) in ml_get_combo_effect()
327 struct ff_effect *effect; in ml_get_combo_effect()
332 memset(combo_effect, 0, sizeof(struct ff_effect)); in ml_get_combo_effect()
389 struct ff_effect effect; in ml_play_effects()
[all …]
Dff-core.c37 static inline int check_effects_compatible(struct ff_effect *e1, in check_effects_compatible()
38 struct ff_effect *e2) in check_effects_compatible()
48 static int compat_effect(struct ff_device *ff, struct ff_effect *effect) in compat_effect()
89 int input_ff_upload(struct input_dev *dev, struct ff_effect *effect, in input_ff_upload()
93 struct ff_effect *old; in input_ff_upload()
327 ff->effects = kcalloc(max_effects, sizeof(struct ff_effect), in input_ff_create()
Dinput-compat.h76 struct ff_effect *effect);
/linux-6.1.9/drivers/input/joystick/iforce/
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 *);
Diforce-ff.c182 struct ff_effect *old, in need_condition_modifier()
183 struct ff_effect *new) in need_condition_modifier()
210 struct ff_effect *old, in need_magnitude_modifier()
211 struct ff_effect *effect) in need_magnitude_modifier()
226 static int need_envelope_modifier(struct iforce *iforce, struct ff_effect *old, in need_envelope_modifier()
227 struct ff_effect *effect) in need_envelope_modifier()
258 static int need_period_modifier(struct iforce *iforce, struct ff_effect *old, in need_period_modifier()
259 struct ff_effect *new) in need_period_modifier()
276 static int need_core(struct ff_effect *old, struct ff_effect *new) in need_core()
338 int iforce_upload_periodic(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old) in iforce_upload_periodic()
[all …]
Diforce-main.c107 static int iforce_upload_effect(struct input_dev *dev, struct ff_effect *effect, struct ff_effect *… in iforce_upload_effect()
/linux-6.1.9/drivers/hid/usbhid/
Dhid-pidff.c274 struct ff_effect *effect) in pidff_set_constant_force_report()
288 static int pidff_needs_set_constant(struct ff_effect *effect, in pidff_needs_set_constant()
289 struct ff_effect *old) in pidff_needs_set_constant()
298 struct ff_effect *effect) in pidff_set_effect_report()
323 static int pidff_needs_set_effect(struct ff_effect *effect, in pidff_needs_set_effect()
324 struct ff_effect *old) in pidff_needs_set_effect()
337 struct ff_effect *effect) in pidff_set_periodic_report()
356 static int pidff_needs_set_periodic(struct ff_effect *effect, in pidff_needs_set_periodic()
357 struct ff_effect *old) in pidff_needs_set_periodic()
369 struct ff_effect *effect) in pidff_set_condition_report()
[all …]
/linux-6.1.9/include/linux/
Dinput.h547 int (*upload)(struct input_dev *dev, struct ff_effect *effect,
548 struct ff_effect *old);
564 struct ff_effect *effects;
573 int input_ff_upload(struct input_dev *dev, struct ff_effect *effect, struct file *file);
578 int (*play_effect)(struct input_dev *, void *, struct ff_effect *));
/linux-6.1.9/include/uapi/linux/
Duinput.h52 struct ff_effect effect;
53 struct ff_effect old;
Dinput.h182 #define EVIOCSFF _IOW('E', 0x80, struct ff_effect) /* send a force effect to a force feedback devi…
454 struct ff_effect { struct
/linux-6.1.9/drivers/input/misc/
Duinput.c49 struct ff_effect *effect;
50 struct ff_effect *old;
235 struct ff_effect *effect, in uinput_dev_upload_effect()
236 struct ff_effect *old) in uinput_dev_upload_effect()
956 memset(&ff_up.old, 0, sizeof(struct ff_effect)); in uinput_ioctl_handler()
/linux-6.1.9/drivers/hid/
Dhid-lg2ff.c23 struct ff_effect *effect) in play_effect()
Dhid-megaworld.c25 struct ff_effect *effect) in mwctrl_play()
Dhid-lg3ff.c49 struct ff_effect *effect) in hid_lg3ff_play()
Dhid-zpff.c26 struct ff_effect *effect) in zpff_play()
Dhid-betopff.c38 struct ff_effect *effect) in hid_betopff_play()
Dhid-holtekff.c91 struct ff_effect *effect) in holtekff_play()
Dhid-emsff.c23 struct ff_effect *effect) in emsff_play()
Dhid-mf.c34 static int mf_play(struct input_dev *dev, void *data, struct ff_effect *effect) in mf_play()
Dhid-sjoy.c30 struct ff_effect *effect) in hid_sjoyff_play()
Dhid-axff.c31 static int axff_play(struct input_dev *dev, void *data, struct ff_effect *effect) in axff_play()
Dhid-gaff.c30 struct ff_effect *effect) in hid_gaff_play()
Dhid-lgff.c57 static int hid_lgff_play(struct input_dev *dev, void *data, struct ff_effect *effect) in hid_lgff_play()
/linux-6.1.9/Documentation/input/
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;

123