| /linux/drivers/input/joystick/iforce/ |
| H A 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 *);
|
| H A D | iforce-ff.c | 178 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 D | ff-memless.c | 37 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 D | ff-core.c | 39 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 D | hid-pidff.c | 246 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 D | uinput.h | 52 struct ff_effect effect; 53 struct ff_effect old;
|
| /linux/drivers/hid/ |
| H A D | hid-haptic.c | 233 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 D | hid-lg2ff.c | 23 struct ff_effect *effect) in play_effect()
|
| H A D | hid-megaworld.c | 25 struct ff_effect *effect) in mwctrl_play()
|
| H A D | hid-lg3ff.c | 45 struct ff_effect *effect) in hid_lg3ff_play()
|
| H A D | hid-zpff.c | 26 struct ff_effect *effect) in zpff_play()
|
| H A D | hid-betopff.c | 38 struct ff_effect *effect) in hid_betopff_play()
|
| H A D | hid-mf.c | 34 static int mf_play(struct input_dev *dev, void *data, struct ff_effect *effect) in mf_play()
|
| H A D | hid-holtekff.c | 91 struct ff_effect *effect) in holtekff_play()
|
| H A D | hid-emsff.c | 23 struct ff_effect *effect) in emsff_play()
|
| H A D | hid-google-stadiaff.c | 43 struct ff_effect *effect) in stadiaff_play()
|
| H A D | hid-sjoy.c | 30 struct ff_effect *effect) in hid_sjoyff_play()
|
| H A D | hid-lgff.c | 57 static int hid_lgff_play(struct input_dev *dev, void *data, struct ff_effect *effect) in hid_lgff_play()
|
| H A D | hid-gaff.c | 30 struct ff_effect *effect) in hid_gaff_play()
|
| H A D | hid-axff.c | 31 static int axff_play(struct input_dev *dev, void *data, struct ff_effect *effect) in axff_play()
|
| H A D | hid-pl.c | 48 struct ff_effect *effect) in hid_plff_play()
|
| /linux/drivers/input/misc/ |
| H A D | uinput.c | 50 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 D | cs40l50-vibra.c | 90 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 D | gpio-vibra.c | 78 struct ff_effect *effect) in gpio_vibrator_play_effect()
|
| /linux/Documentation/input/ |
| H A 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;
|