• Home
  • Raw
  • Download

Lines Matching refs:video_dev

249 	struct video_device *video_dev = s->video_dev;  in cx18_stream_init()  local
253 s->video_dev = video_dev; in cx18_stream_init()
318 s->video_dev = NULL; in cx18_prep_dev()
362 s->video_dev = video_device_alloc(); in cx18_prep_dev()
363 if (s->video_dev == NULL) { in cx18_prep_dev()
369 snprintf(s->video_dev->name, sizeof(s->video_dev->name), "%s %s", in cx18_prep_dev()
372 s->video_dev->num = num; in cx18_prep_dev()
373 s->video_dev->v4l2_dev = &cx->v4l2_dev; in cx18_prep_dev()
374 s->video_dev->fops = &cx18_v4l2_enc_fops; in cx18_prep_dev()
375 s->video_dev->release = video_device_release; in cx18_prep_dev()
376 s->video_dev->tvnorms = V4L2_STD_ALL; in cx18_prep_dev()
377 s->video_dev->lock = &cx->serialize_lock; in cx18_prep_dev()
378 set_bit(V4L2_FL_USE_FH_PRIO, &s->video_dev->flags); in cx18_prep_dev()
379 cx18_set_funcs(s->video_dev); in cx18_prep_dev()
423 if (s->video_dev == NULL) in cx18_reg_dev()
426 num = s->video_dev->num; in cx18_reg_dev()
431 if (s_mpg->video_dev) in cx18_reg_dev()
432 num = s_mpg->video_dev->num in cx18_reg_dev()
435 video_set_drvdata(s->video_dev, s); in cx18_reg_dev()
438 ret = video_register_device_no_warn(s->video_dev, vfl_type, num); in cx18_reg_dev()
442 video_device_release(s->video_dev); in cx18_reg_dev()
443 s->video_dev = NULL; in cx18_reg_dev()
447 name = video_device_node_name(s->video_dev); in cx18_reg_dev()
537 vdev = cx->streams[type].video_dev; in cx18_streams_cleanup()
539 cx->streams[type].video_dev = NULL; in cx18_streams_cleanup()
1037 if (s->video_dev && (s->handle != CX18_INVALID_TASK_HANDLE)) in cx18_find_handle()