Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dinput.h190 struct input_handle __rcu *grab;
268 struct input_handle;
315 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
316 unsigned int (*events)(struct input_handle *handle,
318 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
321 void (*disconnect)(struct input_handle *handle);
322 void (*start)(struct input_handle *handle);
351 struct input_handle { struct
360 unsigned int (*handle_events)(struct input_handle *handle, argument
413 int (*fn)(struct input_handle *, void *));
[all …]
/linux/drivers/input/
H A Dapm-power.c31 static void apmpower_event(struct input_handle *handle, unsigned int type, in apmpower_event()
52 struct input_handle *handle; in apmpower_connect()
55 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); in apmpower_connect()
82 static void apmpower_disconnect(struct input_handle *handle) in apmpower_disconnect()
H A Devbug.c22 static void evbug_event(struct input_handle *handle, unsigned int type, unsigned int code, int valu… in evbug_event()
31 struct input_handle *handle; in evbug_connect()
34 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); in evbug_connect()
64 static void evbug_disconnect(struct input_handle *handle) in evbug_disconnect()
H A Dinput-leds.c46 struct input_handle *handle;
51 struct input_handle handle;
72 static void input_leds_event(struct input_handle *handle, unsigned int type, in input_leds_event()
176 static void input_leds_disconnect(struct input_handle *handle) in input_leds_disconnect()
H A Dinput.c113 struct input_handle *handle; in input_pass_values()
415 void input_inject_event(struct input_handle *handle, in input_inject_event()
419 struct input_handle *grab; in input_inject_event()
526 int input_grab_device(struct input_handle *handle) in input_grab_device()
548 static void __input_release_device(struct input_handle *handle) in __input_release_device()
551 struct input_handle *grabber; in __input_release_device()
575 void input_release_device(struct input_handle *handle) in input_release_device()
592 int input_open_device(struct input_handle *handle) in input_open_device()
639 int input_flush_device(struct input_handle *handle, struct file *file) in input_flush_device()
663 void input_close_device(struct input_handle *handle) in input_close_device()
[all …]
H A Dmousedev.c60 struct input_handle handle;
346 static void mousedev_event(struct input_handle *handle, in mousedev_event()
814 struct input_handle *handle = &mousedev->handle; in mousedev_cleanup()
994 static void mousedev_disconnect(struct input_handle *handle) in mousedev_disconnect()
H A Devdev.c30 struct input_handle handle;
291 static unsigned int evdev_events(struct input_handle *handle, in evdev_events()
1318 struct input_handle *handle = &evdev->handle; in evdev_cleanup()
1399 static void evdev_disconnect(struct input_handle *handle) in evdev_disconnect()
/linux/net/rfkill/
H A Dinput.c193 static void rfkill_event(struct input_handle *handle, unsigned int type, in rfkill_event()
221 struct input_handle *handle; in rfkill_connect()
224 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); in rfkill_connect()
250 static void rfkill_start(struct input_handle *handle) in rfkill_start()
267 static void rfkill_disconnect(struct input_handle *handle) in rfkill_disconnect()
/linux/drivers/macintosh/
H A Dmac_hid.c72 static bool mac_hid_emumouse_filter(struct input_handle *handle, in mac_hid_emumouse_filter()
98 struct input_handle *handle; in mac_hid_emumouse_connect()
105 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); in mac_hid_emumouse_connect()
138 static void mac_hid_emumouse_disconnect(struct input_handle *handle) in mac_hid_emumouse_disconnect()
/linux/drivers/leds/trigger/
H A Dledtrig-input-events.c52 static void input_events_event(struct input_handle *handle, unsigned int type, in input_events_event()
75 struct input_handle *handle; in input_events_connect()
103 static void input_events_disconnect(struct input_handle *handle) in input_events_disconnect()
/linux/drivers/tty/vt/
H A Dkeyboard.c190 static int getkeycode_helper(struct input_handle *handle, void *data) in getkeycode_helper()
217 static int setkeycode_helper(struct input_handle *handle, void *data) in setkeycode_helper()
249 static int kd_sound_helper(struct input_handle *handle, void *data) in kd_sound_helper()
291 static int kbd_rate_helper(struct input_handle *handle, void *data) in kbd_rate_helper()
1086 static int kbd_update_leds_helper(struct input_handle *handle, void *data) in kbd_update_leds_helper()
1111 static int kbd_update_leds_helper(struct input_handle *handle, void *data) in kbd_update_leds_helper()
1531 static void kbd_event(struct input_handle *handle, unsigned int event_type, in kbd_event()
1576 struct input_handle *handle; in kbd_connect()
1579 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); in kbd_connect()
1604 static void kbd_disconnect(struct input_handle *handle) in kbd_disconnect()
[all …]
/linux/drivers/input/tests/
H A Dinput_test.c136 struct input_handle test_handle; in input_test_grab()
138 struct input_handle handle; in input_test_grab()
/linux/drivers/tty/
H A Dsysrq.c663 struct input_handle handle;
807 struct input_handle *handle = &sysrq->handle; in sysrq_reinject_alt_sysrq()
937 static bool sysrq_filter(struct input_handle *handle, in sysrq_filter()
1009 static void sysrq_disconnect(struct input_handle *handle) in sysrq_disconnect()
/linux/Documentation/sound/designs/
H A Doss-emulation.rst322 input_handle = open("device", O_RDONLY)