Searched refs:mdev_dec (Results 1 – 2 of 2) sorted by relevance
410 dev->mdev_dec.dev = &pdev->dev; in mtk_vcodec_probe()411 strscpy(dev->mdev_dec.model, MTK_VCODEC_DEC_NAME, in mtk_vcodec_probe()412 sizeof(dev->mdev_dec.model)); in mtk_vcodec_probe()414 media_device_init(&dev->mdev_dec); in mtk_vcodec_probe()415 dev->mdev_dec.ops = &mtk_vcodec_media_ops; in mtk_vcodec_probe()416 dev->v4l2_dev.mdev = &dev->mdev_dec; in mtk_vcodec_probe()425 ret = media_device_register(&dev->mdev_dec); in mtk_vcodec_probe()444 media_device_cleanup(&dev->mdev_dec); in mtk_vcodec_probe()496 if (media_devnode_is_registered(dev->mdev_dec.devnode)) { in mtk_vcodec_dec_remove()497 media_device_unregister(&dev->mdev_dec); in mtk_vcodec_dec_remove()[all …]
477 struct media_device mdev_dec; member