Searched refs:mtk_mutex (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/include/linux/soc/mediatek/ |
D | mtk-mutex.h | 11 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/ |
D | mtk-mutex.c | 311 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/ |
D | mtk_ddp_comp.h | 88 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()
|
D | mtk_disp_drv.h | 110 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);
|
D | mtk_disp_ovl_adaptor.c | 424 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()
|
D | mtk_crtc.c | 63 struct mtk_mutex *mutex;
|
/linux-6.12.1/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-core.c | 164 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()
|
D | mtk-mdp3-cmdq.c | 52 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()
|
D | mtk-mdp3-core.h | 109 struct mtk_mutex *mdp_mutex[MDP_PIPE_MAX];
|