Searched refs:input_handle (Results 1 - 12 of 12) sorted by relevance

/linux-4.1.27/drivers/input/
H A Dapm-power.c35 static void apmpower_event(struct input_handle *handle, unsigned int type, apmpower_event()
56 struct input_handle *handle; apmpower_connect()
59 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); apmpower_connect()
86 static void apmpower_disconnect(struct input_handle *handle) apmpower_disconnect()
H A Devbug.c41 static void evbug_event(struct input_handle *handle, unsigned int type, unsigned int code, int value) evbug_event()
50 struct input_handle *handle; evbug_connect()
53 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); evbug_connect()
83 static void evbug_disconnect(struct input_handle *handle) evbug_disconnect()
H A Dinput.c96 static unsigned int input_to_handler(struct input_handle *handle, input_to_handler()
134 struct input_handle *handle; input_pass_values()
454 void input_inject_event(struct input_handle *handle, input_inject_event()
458 struct input_handle *grab; input_inject_event()
521 int input_grab_device(struct input_handle *handle) input_grab_device()
543 static void __input_release_device(struct input_handle *handle) __input_release_device()
546 struct input_handle *grabber; __input_release_device()
570 void input_release_device(struct input_handle *handle) input_release_device()
587 int input_open_device(struct input_handle *handle) input_open_device()
623 int input_flush_device(struct input_handle *handle, struct file *file) input_flush_device()
647 void input_close_device(struct input_handle *handle) input_close_device()
695 struct input_handle *handle; input_disconnect_device()
1136 struct input_handle *handle; input_devices_seq_show()
2027 struct input_handle *handle, *next; __input_unregister_device()
2241 struct input_handle *handle, *next; input_unregister_handler()
2270 int (*fn)(struct input_handle *, void *)) input_handler_for_each_handle()
2272 struct input_handle *handle; input_handler_for_each_handle()
2300 int input_register_handle(struct input_handle *handle) input_register_handle()
2350 void input_unregister_handle(struct input_handle *handle) input_unregister_handle()
H A Djoydev.c43 struct input_handle handle;
118 static void joydev_event(struct input_handle *handle, joydev_event()
738 struct input_handle *handle = &joydev->handle; joydev_cleanup()
942 static void joydev_disconnect(struct input_handle *handle) joydev_disconnect()
H A Dmousedev.c62 struct input_handle handle;
349 static void mousedev_event(struct input_handle *handle, mousedev_event()
810 struct input_handle *handle = &mousedev->handle; mousedev_cleanup()
997 static void mousedev_disconnect(struct input_handle *handle) mousedev_disconnect()
H A Devdev.c40 struct input_handle handle;
246 static void evdev_events(struct input_handle *handle, evdev_events()
274 static void evdev_event(struct input_handle *handle, evdev_event()
1123 struct input_handle *handle = &evdev->handle; evdev_cleanup()
1212 static void evdev_disconnect(struct input_handle *handle) evdev_disconnect()
/linux-4.1.27/include/linux/
H A Dinput.h172 struct input_handle __rcu *grab;
242 struct input_handle;
288 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
289 void (*events)(struct input_handle *handle,
291 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
294 void (*disconnect)(struct input_handle *handle);
295 void (*start)(struct input_handle *handle);
308 * struct input_handle - links input device with an input handler
319 struct input_handle { struct
371 int (*fn)(struct input_handle *, void *));
373 int input_register_handle(struct input_handle *);
374 void input_unregister_handle(struct input_handle *);
376 int input_grab_device(struct input_handle *);
377 void input_release_device(struct input_handle *);
379 int input_open_device(struct input_handle *);
380 void input_close_device(struct input_handle *);
382 int input_flush_device(struct input_handle *handle, struct file *file);
385 void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int value);
/linux-4.1.27/drivers/macintosh/
H A Dmac_hid.c70 static bool mac_hid_emumouse_filter(struct input_handle *handle, mac_hid_emumouse_filter()
96 struct input_handle *handle; mac_hid_emumouse_connect()
103 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); mac_hid_emumouse_connect()
136 static void mac_hid_emumouse_disconnect(struct input_handle *handle) mac_hid_emumouse_disconnect()
/linux-4.1.27/net/rfkill/
H A Dinput.c196 static void rfkill_event(struct input_handle *handle, unsigned int type, rfkill_event()
224 struct input_handle *handle; rfkill_connect()
227 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); rfkill_connect()
253 static void rfkill_start(struct input_handle *handle) rfkill_start()
270 static void rfkill_disconnect(struct input_handle *handle) rfkill_disconnect()
/linux-4.1.27/drivers/tty/
H A Dsysrq.c582 struct input_handle handle;
725 struct input_handle *handle = &sysrq->handle; sysrq_reinject_alt_sysrq()
839 static bool sysrq_filter(struct input_handle *handle, sysrq_filter()
912 static void sysrq_disconnect(struct input_handle *handle) sysrq_disconnect()
/linux-4.1.27/drivers/tty/vt/
H A Dkeyboard.c167 static int getkeycode_helper(struct input_handle *handle, void *data) getkeycode_helper()
194 static int setkeycode_helper(struct input_handle *handle, void *data) setkeycode_helper()
226 static int kd_sound_helper(struct input_handle *handle, void *data) kd_sound_helper()
268 static int kbd_rate_helper(struct input_handle *handle, void *data) kbd_rate_helper()
998 static int kbd_update_leds_helper(struct input_handle *handle, void *data) kbd_update_leds_helper()
1364 static void kbd_event(struct input_handle *handle, unsigned int event_type, kbd_event()
1410 struct input_handle *handle; kbd_connect()
1413 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); kbd_connect()
1438 static void kbd_disconnect(struct input_handle *handle) kbd_disconnect()
1449 static void kbd_start(struct input_handle *handle) kbd_start()
/linux-4.1.27/drivers/tty/serial/
H A Dkgdboc.c52 static void kgdboc_reset_disconnect(struct input_handle *handle) kgdboc_reset_disconnect()

Completed in 187 milliseconds