Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/soc/mediatek/
Dmtk-mutex.h11 struct mtk_mutex;
70 struct mtk_mutex *mtk_mutex_get(struct device *dev);
71 int mtk_mutex_prepare(struct mtk_mutex *mutex);
72 void mtk_mutex_add_comp(struct mtk_mutex *mutex,
74 void mtk_mutex_enable(struct mtk_mutex *mutex);
75 int mtk_mutex_enable_by_cmdq(struct mtk_mutex *mutex,
77 void mtk_mutex_disable(struct mtk_mutex *mutex);
78 void mtk_mutex_remove_comp(struct mtk_mutex *mutex,
80 void mtk_mutex_unprepare(struct mtk_mutex *mutex);
81 void mtk_mutex_put(struct mtk_mutex *mutex);
[all …]
/linux-6.12.1/drivers/soc/mediatek/
Dmtk-mutex.c311 struct mtk_mutex { struct
342 struct mtk_mutex mutex[MTK_MUTEX_MAX_HANDLES];
808 struct mtk_mutex *mtk_mutex_get(struct device *dev) in mtk_mutex_get()
823 void mtk_mutex_put(struct mtk_mutex *mutex) in mtk_mutex_put()
834 int mtk_mutex_prepare(struct mtk_mutex *mutex) in mtk_mutex_prepare()
842 void mtk_mutex_unprepare(struct mtk_mutex *mutex) in mtk_mutex_unprepare()
850 void mtk_mutex_add_comp(struct mtk_mutex *mutex, in mtk_mutex_add_comp()
908 void mtk_mutex_remove_comp(struct mtk_mutex *mutex, in mtk_mutex_remove_comp()
950 void mtk_mutex_enable(struct mtk_mutex *mutex) in mtk_mutex_enable()
961 int mtk_mutex_enable_by_cmdq(struct mtk_mutex *mutex, void *pkt) in mtk_mutex_enable_by_cmdq()
[all …]
/linux-6.12.1/drivers/gpu/drm/mediatek/
Dmtk_ddp_comp.h88 void (*add)(struct device *dev, struct mtk_mutex *mutex);
89 void (*remove)(struct device *dev, struct mtk_mutex *mutex);
297 static inline bool mtk_ddp_comp_add(struct mtk_ddp_comp *comp, struct mtk_mutex *mutex) in mtk_ddp_comp_add()
306 static inline bool mtk_ddp_comp_remove(struct mtk_ddp_comp *comp, struct mtk_mutex *mutex) in mtk_ddp_comp_remove()
Dmtk_disp_drv.h110 void mtk_ovl_adaptor_add_comp(struct device *dev, struct mtk_mutex *mutex);
111 void mtk_ovl_adaptor_remove_comp(struct device *dev, struct mtk_mutex *mutex);
Dmtk_disp_ovl_adaptor.c424 void mtk_ovl_adaptor_add_comp(struct device *dev, struct mtk_mutex *mutex) in mtk_ovl_adaptor_add_comp()
436 void mtk_ovl_adaptor_remove_comp(struct device *dev, struct mtk_mutex *mutex) in mtk_ovl_adaptor_remove_comp()
Dmtk_crtc.c63 struct mtk_mutex *mutex;
/linux-6.12.1/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-core.c164 struct mtk_mutex *m; in mdp_video_device_release()
255 struct mtk_mutex **m; in mdp_probe()
355 struct mtk_mutex *m; in mdp_probe()
Dmtk-mdp3-cmdq.c52 static struct mtk_mutex *__get_mutex(const struct mdp_dev *mdp_dev, in __get_mutex()
150 struct mtk_mutex *mutex; in mdp_path_subfrm_require()
203 struct mtk_mutex *mutex; in mdp_path_subfrm_run()
515 struct mtk_mutex *mutex; in mdp_auto_release_work()
569 struct mtk_mutex *mutex; in mdp_handle_cmdq_callback()
599 struct mtk_mutex *mutex = NULL; in mdp_cmdq_prepare()
Dmtk-mdp3-core.h109 struct mtk_mutex *mdp_mutex[MDP_PIPE_MAX];