Home
last modified time | relevance | path

Searched refs:mdev_dec (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec_drv.c410 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 …]
Dmtk_vcodec_drv.h477 struct media_device mdev_dec; member