Lines Matching refs:handle
30 struct input_handle handle; member
145 ktime_t *ev_time = input_get_timestamp(client->evdev->handle.dev); in __evdev_queue_syn_dropped()
291 static void evdev_events(struct input_handle *handle, in evdev_events() argument
294 struct evdev *evdev = handle->private; in evdev_events()
296 ktime_t *ev_time = input_get_timestamp(handle->dev); in evdev_events()
314 static void evdev_event(struct input_handle *handle, in evdev_event() argument
319 evdev_events(handle, vals, 1); in evdev_event()
333 input_put_device(evdev->handle.dev); in evdev_free()
348 error = input_grab_device(&evdev->handle); in evdev_grab()
367 input_release_device(&evdev->handle); in evdev_ungrab()
400 retval = input_open_device(&evdev->handle); in evdev_open_device()
414 input_close_device(&evdev->handle); in evdev_close_device()
444 input_flush_device(&evdev->handle, file); in evdev_release()
473 unsigned int bufsize = evdev_compute_buffer_size(evdev->handle.dev); in evdev_open()
530 input_inject_event(&evdev->handle, in evdev_write()
948 input_flush_device(&evdev->handle, file); in evdev_revoke()
1034 struct input_dev *dev = evdev->handle.dev; in evdev_do_ioctl()
1071 input_inject_event(&evdev->handle, EV_REP, REP_DELAY, u); in evdev_do_ioctl()
1072 input_inject_event(&evdev->handle, EV_REP, REP_PERIOD, v); in evdev_do_ioctl()
1321 struct input_handle *handle = &evdev->handle; in evdev_cleanup() local
1328 input_flush_device(handle, NULL); in evdev_cleanup()
1329 input_close_device(handle); in evdev_cleanup()
1369 evdev->handle.dev = input_get_device(dev); in evdev_connect()
1370 evdev->handle.name = dev_name(&evdev->dev); in evdev_connect()
1371 evdev->handle.handler = handler; in evdev_connect()
1372 evdev->handle.private = evdev; in evdev_connect()
1380 error = input_register_handle(&evdev->handle); in evdev_connect()
1394 input_unregister_handle(&evdev->handle); in evdev_connect()
1402 static void evdev_disconnect(struct input_handle *handle) in evdev_disconnect() argument
1404 struct evdev *evdev = handle->private; in evdev_disconnect()
1409 input_unregister_handle(handle); in evdev_disconnect()