Lines Matching refs:devbase

29 	struct video_device devbase; /* MUST be first! */  member
840 video_device_node_name(&dip->devbase), in pvr2_v4l2_dev_destroy()
852 video_unregister_device(&dip->devbase); in pvr2_v4l2_dev_destroy()
862 if (!dip->devbase.v4l2_dev->dev) return; in pvr2_v4l2_dev_disassociate_parent()
863 dip->devbase.v4l2_dev->dev = NULL; in pvr2_v4l2_dev_disassociate_parent()
864 device_move(&dip->devbase.dev, NULL, DPM_ORDER_NONE); in pvr2_v4l2_dev_disassociate_parent()
888 dev = container_of(vdev,struct pvr2_v4l2_dev,devbase); in pvr2_video_device_release()
900 if (!list_empty(&vp->dev_video->devbase.fh_list) || in pvr2_v4l2_internal_check()
901 !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()
938 list_empty(&vp->dev_radio->devbase.fh_list)) { in pvr2_v4l2_release()
955 dip = container_of(video_devdata(file),struct pvr2_v4l2_dev,devbase); in pvr2_v4l2_open()
973 v4l2_fh_init(&fhp->fh, &dip->devbase); in pvr2_v4l2_open()
1225 dip->devbase = vdev_template; in pvr2_v4l2_dev_init()
1226 dip->devbase.release = pvr2_video_device_release; in pvr2_v4l2_dev_init()
1227 dip->devbase.ioctl_ops = &pvr2_ioctl_ops; in pvr2_v4l2_dev_init()
1228 dip->devbase.device_caps = caps; in pvr2_v4l2_dev_init()
1234 dip->devbase.tvnorms = (v4l2_std_id)val; in pvr2_v4l2_dev_init()
1242 pvr2_hdw_set_v4l2_dev(hdw, &dip->devbase); in pvr2_v4l2_dev_init()
1243 if ((video_register_device(&dip->devbase, in pvr2_v4l2_dev_init()
1245 (video_register_device(&dip->devbase, in pvr2_v4l2_dev_init()
1252 video_device_node_name(&dip->devbase), in pvr2_v4l2_dev_init()
1256 dip->minor_type,dip->devbase.minor); in pvr2_v4l2_dev_init()