Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dinput.h184 struct input_handle __rcu *grab;
260 struct input_handle;
306 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
307 void (*events)(struct input_handle *handle,
309 bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
312 void (*disconnect)(struct input_handle *handle);
313 void (*start)(struct input_handle *handle);
337 struct input_handle { struct
395 int (*fn)(struct input_handle *, void *));
397 int input_register_handle(struct input_handle *);
[all …]
/Linux-v5.4/drivers/input/
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()
Devbug.c25 static void evbug_event(struct input_handle *handle, unsigned int type, unsigned int code, int valu… in evbug_event()
34 struct input_handle *handle; in evbug_connect()
37 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); in evbug_connect()
67 static void evbug_disconnect(struct input_handle *handle) in evbug_disconnect()
Dinput-leds.c40 struct input_handle *handle;
45 struct input_handle handle;
66 static void input_leds_event(struct input_handle *handle, unsigned int type, in input_leds_event()
170 static void input_leds_disconnect(struct input_handle *handle) in input_leds_disconnect()
Dinput.c93 static unsigned int input_to_handler(struct input_handle *handle, in input_to_handler()
131 struct input_handle *handle; in input_pass_values()
457 void input_inject_event(struct input_handle *handle, in input_inject_event()
461 struct input_handle *grab; in input_inject_event()
532 int input_grab_device(struct input_handle *handle) in input_grab_device()
554 static void __input_release_device(struct input_handle *handle) in __input_release_device()
557 struct input_handle *grabber; in __input_release_device()
581 void input_release_device(struct input_handle *handle) in input_release_device()
598 int input_open_device(struct input_handle *handle) in input_open_device()
645 int input_flush_device(struct input_handle *handle, struct file *file) in input_flush_device()
[all …]
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()
Djoydev.c38 struct input_handle handle;
113 static void joydev_event(struct input_handle *handle, in joydev_event()
736 struct input_handle *handle = &joydev->handle; in joydev_cleanup()
1005 static void joydev_disconnect(struct input_handle *handle) in joydev_disconnect()
Devdev.c30 struct input_handle handle;
291 static void evdev_events(struct input_handle *handle, in evdev_events()
314 static void evdev_event(struct input_handle *handle, in evdev_event()
1334 struct input_handle *handle = &evdev->handle; in evdev_cleanup()
1416 static void evdev_disconnect(struct input_handle *handle) in evdev_disconnect()
/Linux-v5.4/net/rfkill/
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-v5.4/drivers/macintosh/
Dmac_hid.c71 static bool mac_hid_emumouse_filter(struct input_handle *handle, in mac_hid_emumouse_filter()
97 struct input_handle *handle; in mac_hid_emumouse_connect()
104 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); in mac_hid_emumouse_connect()
137 static void mac_hid_emumouse_disconnect(struct input_handle *handle) in mac_hid_emumouse_disconnect()
/Linux-v5.4/drivers/tty/vt/
Dkeyboard.c171 static int getkeycode_helper(struct input_handle *handle, void *data) in getkeycode_helper()
198 static int setkeycode_helper(struct input_handle *handle, void *data) in setkeycode_helper()
230 static int kd_sound_helper(struct input_handle *handle, void *data) in kd_sound_helper()
272 static int kbd_rate_helper(struct input_handle *handle, void *data) in kbd_rate_helper()
1050 static int kbd_update_leds_helper(struct input_handle *handle, void *data) in kbd_update_leds_helper()
1075 static int kbd_update_leds_helper(struct input_handle *handle, void *data) in kbd_update_leds_helper()
1486 static void kbd_event(struct input_handle *handle, unsigned int event_type, in kbd_event()
1532 struct input_handle *handle; in kbd_connect()
1535 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); in kbd_connect()
1560 static void kbd_disconnect(struct input_handle *handle) in kbd_disconnect()
[all …]
/Linux-v5.4/drivers/tty/
Dsysrq.c606 struct input_handle handle;
750 struct input_handle *handle = &sysrq->handle; in sysrq_reinject_alt_sysrq()
864 static bool sysrq_filter(struct input_handle *handle, in sysrq_filter()
936 static void sysrq_disconnect(struct input_handle *handle) in sysrq_disconnect()
/Linux-v5.4/drivers/tty/serial/
Dkgdboc.c52 static void kgdboc_reset_disconnect(struct input_handle *handle) in kgdboc_reset_disconnect()
/Linux-v5.4/Documentation/sound/designs/
Doss-emulation.rst322 input_handle = open("device", O_RDONLY)