Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-core.c184 struct platform_device *mm_pdev; in mdp_probe() local
196 mm_pdev = __get_pdev_by_id(pdev, MDP_INFRA_MMSYS); in mdp_probe()
197 if (!mm_pdev) { in mdp_probe()
201 mdp->mdp_mmsys = &mm_pdev->dev; in mdp_probe()
203 mm_pdev = __get_pdev_by_id(pdev, MDP_INFRA_MUTEX); in mdp_probe()
204 if (WARN_ON(!mm_pdev)) { in mdp_probe()
209 mdp->mdp_mutex[i] = mtk_mutex_get(&mm_pdev->dev); in mdp_probe()
237 mm_pdev = __get_pdev_by_id(pdev, MDP_INFRA_SCP); in mdp_probe()
238 if (WARN_ON(!mm_pdev)) { in mdp_probe()
243 mdp->scp = platform_get_drvdata(mm_pdev); in mdp_probe()