Lines Matching refs:devbase

29 	struct video_device devbase; /* MUST be first! */  member
836 video_device_node_name(&dip->devbase), in pvr2_v4l2_dev_destroy()
848 video_unregister_device(&dip->devbase); in pvr2_v4l2_dev_destroy()
858 if (!dip->devbase.v4l2_dev->dev) return; in pvr2_v4l2_dev_disassociate_parent()
859 dip->devbase.v4l2_dev->dev = NULL; in pvr2_v4l2_dev_disassociate_parent()
860 device_move(&dip->devbase.dev, NULL, DPM_ORDER_NONE); in pvr2_v4l2_dev_disassociate_parent()
884 dev = container_of(vdev,struct pvr2_v4l2_dev,devbase); in pvr2_video_device_release()
896 if (!list_empty(&vp->dev_video->devbase.fh_list) || in pvr2_v4l2_internal_check()
898 !list_empty(&vp->dev_radio->devbase.fh_list))) { in pvr2_v4l2_internal_check()
937 list_empty(&vp->dev_video->devbase.fh_list) && in pvr2_v4l2_release()
939 list_empty(&vp->dev_radio->devbase.fh_list))) { in pvr2_v4l2_release()
956 dip = container_of(video_devdata(file),struct pvr2_v4l2_dev,devbase); in pvr2_v4l2_open()
974 v4l2_fh_init(&fhp->fh, &dip->devbase); in pvr2_v4l2_open()
1226 dip->devbase = vdev_template; in pvr2_v4l2_dev_init()
1227 dip->devbase.release = pvr2_video_device_release; in pvr2_v4l2_dev_init()
1228 dip->devbase.ioctl_ops = &pvr2_ioctl_ops; in pvr2_v4l2_dev_init()
1229 dip->devbase.device_caps = caps; in pvr2_v4l2_dev_init()
1235 dip->devbase.tvnorms = (v4l2_std_id)val; in pvr2_v4l2_dev_init()
1243 pvr2_hdw_set_v4l2_dev(hdw, &dip->devbase); in pvr2_v4l2_dev_init()
1244 if ((video_register_device(&dip->devbase, in pvr2_v4l2_dev_init()
1246 (video_register_device(&dip->devbase, in pvr2_v4l2_dev_init()
1253 video_device_node_name(&dip->devbase), in pvr2_v4l2_dev_init()
1257 dip->minor_type,dip->devbase.minor); in pvr2_v4l2_dev_init()