Lines Matching refs:handle
50 struct input_handle handle;
221 static void button_hotplug_event(struct input_handle *handle,
224 struct bh_priv *priv = handle->private;
263 priv->handle.private = priv;
264 priv->handle.dev = dev;
265 priv->handle.handler = handler;
266 priv->handle.name = DRV_NAME;
268 ret = input_register_handle(&priv->handle);
272 ret = input_open_device(&priv->handle);
281 input_unregister_handle(&priv->handle);
288 static void button_hotplug_disconnect(struct input_handle *handle)
290 struct bh_priv *priv = handle->private;
292 input_close_device(handle);
293 input_unregister_handle(handle);