Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-core.c144 mtk_mutex_put(mdp->mdp_mutex[i]); in mdp_video_device_release()
181 if (!IS_ERR_OR_NULL(mdp->mdp_mutex[mutex_id])) in mdp_probe()
183 mdp->mdp_mutex[mutex_id] = mtk_mutex_get(&mm_pdev->dev); in mdp_probe()
184 if (IS_ERR(mdp->mdp_mutex[mutex_id])) { in mdp_probe()
185 ret = PTR_ERR(mdp->mdp_mutex[mutex_id]); in mdp_probe()
266 if (!IS_ERR_OR_NULL(mdp->mdp_mutex[i])) in mdp_probe()
267 mtk_mutex_put(mdp->mdp_mutex[i]); in mdp_probe()
Dmtk-mdp3-cmdq.c55 struct mtk_mutex **mutex = path->mdp_dev->mdp_mutex; in mdp_path_subfrm_require()
105 struct mtk_mutex **mutex = path->mdp_dev->mdp_mutex; in mdp_path_subfrm_run()
337 mtk_mutex_unprepare(mdp->mdp_mutex[id]); in mdp_auto_release_work()
384 mtk_mutex_unprepare(mdp->mdp_mutex[id]); in mdp_handle_cmdq_callback()
444 ret = mtk_mutex_prepare(mdp->mdp_mutex[i]); in mdp_cmdq_send()
510 mtk_mutex_unprepare(mdp->mdp_mutex[i]); in mdp_cmdq_send()
Dmtk-mdp3-core.h71 struct mtk_mutex *mdp_mutex[MDP_PIPE_MAX]; member