Lines Matching defs:handle
30 struct input_handle handle;
145 ktime_t *ev_time = input_get_timestamp(client->evdev->handle.dev);
291 static void evdev_events(struct input_handle *handle,
294 struct evdev *evdev = handle->private;
296 ktime_t *ev_time = input_get_timestamp(handle->dev);
314 static void evdev_event(struct input_handle *handle,
319 evdev_events(handle, vals, 1);
333 input_put_device(evdev->handle.dev);
348 error = input_grab_device(&evdev->handle);
367 input_release_device(&evdev->handle);
400 retval = input_open_device(&evdev->handle);
414 input_close_device(&evdev->handle);
444 input_flush_device(&evdev->handle, file);
473 unsigned int bufsize = evdev_compute_buffer_size(evdev->handle.dev);
530 input_inject_event(&evdev->handle,
883 * it while flushing the queue. This allows input-core to handle filters while
948 input_flush_device(&evdev->handle, file);
1034 struct input_dev *dev = evdev->handle.dev;
1071 input_inject_event(&evdev->handle, EV_REP, REP_DELAY, u);
1072 input_inject_event(&evdev->handle, EV_REP, REP_PERIOD, v);
1321 struct input_handle *handle = &evdev->handle;
1328 input_flush_device(handle, NULL);
1329 input_close_device(handle);
1369 evdev->handle.dev = input_get_device(dev);
1370 evdev->handle.name = dev_name(&evdev->dev);
1371 evdev->handle.handler = handler;
1372 evdev->handle.private = evdev;
1380 error = input_register_handle(&evdev->handle);
1394 input_unregister_handle(&evdev->handle);
1402 static void evdev_disconnect(struct input_handle *handle)
1404 struct evdev *evdev = handle->private;
1409 input_unregister_handle(handle);