Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dinput.h194 struct input_handle __rcu *grab;
273 struct input_handle;
325 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
326 unsigned int (*events)(struct input_handle *handle,
328 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
331 void (*disconnect)(struct input_handle *handle);
332 void (*start)(struct input_handle *handle);
362 struct input_handle { struct
371 unsigned int (*handle_events)(struct input_handle *handle, argument
424 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_obj(struct input_handle); in apmpower_connect()
82 static void apmpower_disconnect(struct input_handle *handle) in apmpower_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.c114 struct input_handle *handle; in input_pass_values()
412 void input_inject_event(struct input_handle *handle, in input_inject_event()
416 struct input_handle *grab; in input_inject_event()
520 int input_grab_device(struct input_handle *handle) in input_grab_device()
535 static void __input_release_device(struct input_handle *handle) in __input_release_device()
538 struct input_handle *grabber; in __input_release_device()
562 void input_release_device(struct input_handle *handle) in input_release_device()
647 int input_open_device(struct input_handle *handle) in input_open_device()
679 int input_flush_device(struct input_handle *handle, struct file *file) in input_flush_device()
699 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 Djoydev.c37 struct input_handle handle;
112 static void joydev_event(struct input_handle *handle, in joydev_event()
737 struct input_handle *handle = &joydev->handle; in joydev_cleanup()
1016 static void joydev_disconnect(struct input_handle *handle) in joydev_disconnect()
H A Devdev.c31 struct input_handle handle;
296 static unsigned int evdev_events(struct input_handle *handle, in evdev_events()
1325 struct input_handle *handle = &evdev->handle; in evdev_cleanup()
1406 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_obj(struct input_handle); 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_obj(struct input_handle); 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/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/vt/
H A Dkeyboard.c191 static int getkeycode_helper(struct input_handle *handle, void *data) in getkeycode_helper()
218 static int setkeycode_helper(struct input_handle *handle, void *data) in setkeycode_helper()
250 static int kd_sound_helper(struct input_handle *handle, void *data) in kd_sound_helper()
292 static int kbd_rate_helper(struct input_handle *handle, void *data) in kbd_rate_helper()
1130 static int kbd_update_leds_helper(struct input_handle *handle, void *data) in kbd_update_leds_helper()
1155 static int kbd_update_leds_helper(struct input_handle *handle, void *data) in kbd_update_leds_helper()
1583 static void kbd_event(struct input_handle *handle, unsigned int event_type, in kbd_event()
1628 struct input_handle __free(kfree) *handle = kzalloc_obj(*handle); in kbd_connect()
1653 static void kbd_disconnect(struct input_handle *handle) in kbd_disconnect()
1664 static void kbd_start(struct input_handle *handle) in kbd_start()
/linux/drivers/tty/
H A Dsysrq.c661 struct input_handle handle;
806 struct input_handle *handle = &sysrq->handle; in sysrq_reinject_alt_sysrq()
936 static bool sysrq_filter(struct input_handle *handle, in sysrq_filter()
1008 static void sysrq_disconnect(struct input_handle *handle) in sysrq_disconnect()
/linux/sound/usb/
H A Dmixer_quirks.c554 static void snd_dualsense_ih_event(struct input_handle *handle, in snd_dualsense_ih_event()
610 struct input_handle *handle; in snd_dualsense_ih_connect()
638 static void snd_dualsense_ih_disconnect(struct input_handle *handle) in snd_dualsense_ih_disconnect()
645 static void snd_dualsense_ih_start(struct input_handle *handle) in snd_dualsense_ih_start()
/linux/Documentation/sound/designs/
H A Doss-emulation.rst322 input_handle = open("device", O_RDONLY)