Lines Matching refs:empress_dev
250 dev->empress_dev = video_device_alloc(); in empress_init()
251 if (NULL == dev->empress_dev) in empress_init()
253 *(dev->empress_dev) = saa7134_empress_template; in empress_init()
254 dev->empress_dev->v4l2_dev = &dev->v4l2_dev; in empress_init()
255 dev->empress_dev->release = video_device_release; in empress_init()
256 dev->empress_dev->lock = &dev->lock; in empress_init()
257 snprintf(dev->empress_dev->name, sizeof(dev->empress_dev->name), in empress_init()
265 video_device_release(dev->empress_dev); in empress_init()
268 dev->empress_dev->ctrl_handler = hdl; in empress_init()
290 video_device_release(dev->empress_dev); in empress_init()
291 dev->empress_dev = NULL; in empress_init()
294 dev->empress_dev->queue = q; in empress_init()
295 dev->empress_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in empress_init()
298 dev->empress_dev->device_caps |= V4L2_CAP_TUNER; in empress_init()
300 video_set_drvdata(dev->empress_dev, dev); in empress_init()
301 err = video_register_device(dev->empress_dev,VFL_TYPE_VIDEO, in empress_init()
306 video_device_release(dev->empress_dev); in empress_init()
307 dev->empress_dev = NULL; in empress_init()
311 dev->name, video_device_node_name(dev->empress_dev)); in empress_init()
321 if (NULL == dev->empress_dev) in empress_fini()
324 vb2_video_unregister_device(dev->empress_dev); in empress_fini()
326 dev->empress_dev = NULL; in empress_fini()