Lines Matching refs:compat_event
18 struct input_event_compat compat_event; in input_event_from_user() local
20 if (copy_from_user(&compat_event, buffer, in input_event_from_user()
24 event->input_event_sec = compat_event.sec; in input_event_from_user()
25 event->input_event_usec = compat_event.usec; in input_event_from_user()
26 event->type = compat_event.type; in input_event_from_user()
27 event->code = compat_event.code; in input_event_from_user()
28 event->value = compat_event.value; in input_event_from_user()
42 struct input_event_compat compat_event; in input_event_to_user() local
44 compat_event.sec = event->input_event_sec; in input_event_to_user()
45 compat_event.usec = event->input_event_usec; in input_event_to_user()
46 compat_event.type = event->type; in input_event_to_user()
47 compat_event.code = event->code; in input_event_to_user()
48 compat_event.value = event->value; in input_event_to_user()
50 if (copy_to_user(buffer, &compat_event, in input_event_to_user()