/linux-6.1.9/drivers/input/ |
D | input-compat.c | 63 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()
|
D | ff-memless.c | 36 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 …]
|
D | ff-core.c | 37 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()
|
D | input-compat.h | 76 struct ff_effect *effect);
|
/linux-6.1.9/drivers/input/joystick/iforce/ |
D | iforce.h | 141 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 *);
|
D | iforce-ff.c | 182 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 …]
|
D | iforce-main.c | 107 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/ |
D | hid-pidff.c | 274 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/ |
D | input.h | 547 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/ |
D | uinput.h | 52 struct ff_effect effect; 53 struct ff_effect old;
|
D | input.h | 182 #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/ |
D | uinput.c | 49 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/ |
D | hid-lg2ff.c | 23 struct ff_effect *effect) in play_effect()
|
D | hid-megaworld.c | 25 struct ff_effect *effect) in mwctrl_play()
|
D | hid-lg3ff.c | 49 struct ff_effect *effect) in hid_lg3ff_play()
|
D | hid-zpff.c | 26 struct ff_effect *effect) in zpff_play()
|
D | hid-betopff.c | 38 struct ff_effect *effect) in hid_betopff_play()
|
D | hid-holtekff.c | 91 struct ff_effect *effect) in holtekff_play()
|
D | hid-emsff.c | 23 struct ff_effect *effect) in emsff_play()
|
D | hid-mf.c | 34 static int mf_play(struct input_dev *dev, void *data, struct ff_effect *effect) in mf_play()
|
D | hid-sjoy.c | 30 struct ff_effect *effect) in hid_sjoyff_play()
|
D | hid-axff.c | 31 static int axff_play(struct input_dev *dev, void *data, struct ff_effect *effect) in axff_play()
|
D | hid-gaff.c | 30 struct ff_effect *effect) in hid_gaff_play()
|
D | hid-lgff.c | 57 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/ |
D | ff.rst | 115 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;
|