Searched refs:compat_effect (Results 1 – 2 of 2) sorted by relevance
66 struct ff_effect_compat *compat_effect; in input_ff_effect_from_user() local76 compat_effect = (struct ff_effect_compat *)effect; in input_ff_effect_from_user()78 if (copy_from_user(compat_effect, buffer, in input_ff_effect_from_user()82 if (compat_effect->type == FF_PERIODIC && in input_ff_effect_from_user()83 compat_effect->u.periodic.waveform == FF_CUSTOM) in input_ff_effect_from_user()85 compat_ptr(compat_effect->u.periodic.custom_data); in input_ff_effect_from_user()
51 static int compat_effect(struct ff_device *ff, struct ff_effect *effect) in compat_effect() function118 ret = compat_effect(ff, effect); in input_ff_upload()