Lines Matching defs:handle
231 struct uvc_file_handle *handle = to_uvc_file_handle(fh);
246 handle->is_uvc_app_handle = true;
267 struct uvc_file_handle *handle = to_uvc_file_handle(fh);
274 if (sub->type == UVC_EVENT_SETUP && handle->is_uvc_app_handle) {
276 handle->is_uvc_app_handle = false;
322 struct uvc_file_handle *handle;
324 handle = kzalloc(sizeof(*handle), GFP_KERNEL);
325 if (handle == NULL)
328 v4l2_fh_init(&handle->vfh, vdev);
329 v4l2_fh_add(&handle->vfh);
331 handle->device = &uvc->video;
332 file->private_data = &handle->vfh;
342 struct uvc_file_handle *handle = to_uvc_file_handle(file->private_data);
343 struct uvc_video *video = handle->device;
346 if (handle->is_uvc_app_handle)
351 v4l2_fh_del(&handle->vfh);
352 v4l2_fh_exit(&handle->vfh);
353 kfree(handle);