Home
last modified time | relevance | path

Searched refs:ff_up_compat (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/input/misc/
H A Duinput.c776 struct uinput_ff_upload_compat ff_up_compat; in uinput_ff_upload_to_user() local
778 ff_up_compat.request_id = ff_up->request_id; in uinput_ff_upload_to_user()
779 ff_up_compat.retval = ff_up->retval; in uinput_ff_upload_to_user()
786 memcpy(&ff_up_compat.effect, &ff_up->effect, in uinput_ff_upload_to_user()
788 memcpy(&ff_up_compat.old, &ff_up->old, in uinput_ff_upload_to_user()
791 if (copy_to_user(buffer, &ff_up_compat, in uinput_ff_upload_to_user()
807 struct uinput_ff_upload_compat ff_up_compat; in uinput_ff_upload_from_user() local
809 if (copy_from_user(&ff_up_compat, buffer, in uinput_ff_upload_from_user()
813 ff_up->request_id = ff_up_compat.request_id; in uinput_ff_upload_from_user()
814 ff_up->retval = ff_up_compat.retval; in uinput_ff_upload_from_user()
[all …]