Lines Matching refs:video_dev
310 s->video_dev.v4l2_dev = NULL; in cx18_prep_dev()
354 snprintf(s->video_dev.name, sizeof(s->video_dev.name), "%s %s", in cx18_prep_dev()
357 s->video_dev.num = num; in cx18_prep_dev()
358 s->video_dev.v4l2_dev = &cx->v4l2_dev; in cx18_prep_dev()
359 s->video_dev.fops = &cx18_v4l2_enc_fops; in cx18_prep_dev()
360 s->video_dev.release = video_device_release_empty; in cx18_prep_dev()
362 s->video_dev.tvnorms = cx->tuner_std; in cx18_prep_dev()
364 s->video_dev.tvnorms = V4L2_STD_ALL; in cx18_prep_dev()
365 s->video_dev.lock = &cx->serialize_lock; in cx18_prep_dev()
366 cx18_set_funcs(&s->video_dev); in cx18_prep_dev()
410 if (s->video_dev.v4l2_dev == NULL) in cx18_reg_dev()
413 num = s->video_dev.num; in cx18_reg_dev()
414 s->video_dev.device_caps = s->v4l2_dev_caps; /* device capabilities */ in cx18_reg_dev()
419 if (s_mpg->video_dev.v4l2_dev) in cx18_reg_dev()
420 num = s_mpg->video_dev.num in cx18_reg_dev()
423 video_set_drvdata(&s->video_dev, s); in cx18_reg_dev()
426 ret = video_register_device_no_warn(&s->video_dev, vfl_type, num); in cx18_reg_dev()
430 s->video_dev.v4l2_dev = NULL; in cx18_reg_dev()
434 name = video_device_node_name(&s->video_dev); in cx18_reg_dev()
523 vdev = &cx->streams[type].video_dev; in cx18_streams_cleanup()
1018 if (s->video_dev.v4l2_dev && (s->handle != CX18_INVALID_TASK_HANDLE)) in cx18_find_handle()