Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/mediatek/
H A Dmtk_crtc.c54 struct cmdq_client cmdq_client; member
116 if (mtk_crtc->cmdq_client.chan) in mtk_drm_finish_page_flip()
135 if (mtk_crtc->cmdq_client.chan) { in mtk_crtc_destroy()
138 mtk_crtc->cmdq_client.chan = NULL; in mtk_crtc_destroy()
280 struct cmdq_client *cmdq_cl = container_of(cl, struct cmdq_client, client); in ddp_cmdq_cb()
597 if (mtk_crtc->cmdq_client.chan) { in mtk_crtc_update_config()
785 if (mtk_crtc->cmdq_client.chan) in mtk_crtc_atomic_disable()
1084 mtk_crtc->cmdq_client.chan = in mtk_crtc_create()
1089 mtk_crtc->cmdq_client.chan = NULL; in mtk_crtc_create()
1092 if (mtk_crtc->cmdq_client.chan) { in mtk_crtc_create()
[all …]
/linux-6.15/include/linux/soc/mediatek/
H A Dmtk-cmdq.h59 struct cmdq_client { struct
88 struct cmdq_client *cmdq_mbox_create(struct device *dev, int index);
94 void cmdq_mbox_destroy(struct cmdq_client *client);
104 int cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, size_t size);
111 void cmdq_pkt_destroy(struct cmdq_client *client, struct cmdq_pkt *pkt);
402 static inline struct cmdq_client *cmdq_mbox_create(struct device *dev, int index) in cmdq_mbox_create()
407 static inline void cmdq_mbox_destroy(struct cmdq_client *client) { } in cmdq_mbox_destroy()
409 static inline int cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, size_t size) in cmdq_pkt_create()
414 static inline void cmdq_pkt_destroy(struct cmdq_client *client, struct cmdq_pkt *pkt) { } in cmdq_pkt_destroy()
/linux-6.15/drivers/soc/mediatek/
H A Dmtk-cmdq-helper.c88 struct cmdq_client *cmdq_mbox_create(struct device *dev, int index) in cmdq_mbox_create()
90 struct cmdq_client *client; in cmdq_mbox_create()
94 return (struct cmdq_client *)-ENOMEM; in cmdq_mbox_create()
115 void cmdq_mbox_destroy(struct cmdq_client *client) in cmdq_mbox_destroy()
122 int cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, size_t size) in cmdq_pkt_create()
148 void cmdq_pkt_destroy(struct cmdq_client *client, struct cmdq_pkt *pkt) in cmdq_pkt_destroy()
/linux-6.15/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-core.h128 struct cmdq_client *cmdq_clt[MDP_PP_MAX];