Lines Matching refs:empress_dev
249 dev->empress_dev = video_device_alloc(); in empress_init()
250 if (NULL == dev->empress_dev) in empress_init()
252 *(dev->empress_dev) = saa7134_empress_template; in empress_init()
253 dev->empress_dev->v4l2_dev = &dev->v4l2_dev; in empress_init()
254 dev->empress_dev->release = video_device_release; in empress_init()
255 dev->empress_dev->lock = &dev->lock; in empress_init()
256 snprintf(dev->empress_dev->name, sizeof(dev->empress_dev->name), in empress_init()
264 video_device_release(dev->empress_dev); in empress_init()
267 dev->empress_dev->ctrl_handler = hdl; in empress_init()
289 video_device_release(dev->empress_dev); in empress_init()
290 dev->empress_dev = NULL; in empress_init()
293 dev->empress_dev->queue = q; in empress_init()
294 dev->empress_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in empress_init()
297 dev->empress_dev->device_caps |= V4L2_CAP_TUNER; in empress_init()
299 video_set_drvdata(dev->empress_dev, dev); in empress_init()
300 err = video_register_device(dev->empress_dev,VFL_TYPE_VIDEO, in empress_init()
305 video_device_release(dev->empress_dev); in empress_init()
306 dev->empress_dev = NULL; in empress_init()
310 dev->name, video_device_node_name(dev->empress_dev)); in empress_init()
320 if (NULL == dev->empress_dev) in empress_fini()
323 vb2_video_unregister_device(dev->empress_dev); in empress_fini()
325 dev->empress_dev = NULL; in empress_fini()