Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/mediatek/
Dmtk_drm_crtc.c54 struct cmdq_client cmdq_client; member
113 static int mtk_drm_cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, in mtk_drm_cmdq_pkt_create()
142 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in mtk_drm_cmdq_pkt_destroy()
159 if (mtk_crtc->cmdq_client.chan) { in mtk_drm_crtc_destroy()
160 mbox_free_channel(mtk_crtc->cmdq_client.chan); in mtk_drm_crtc_destroy()
161 mtk_crtc->cmdq_client.chan = NULL; in mtk_drm_crtc_destroy()
288 struct cmdq_client *cmdq_cl = container_of(cl, struct cmdq_client, client); in ddp_cmdq_cb()
289 struct mtk_drm_crtc *mtk_crtc = container_of(cmdq_cl, struct mtk_drm_crtc, cmdq_client); in ddp_cmdq_cb()
585 if (mtk_crtc->cmdq_client.chan) { in mtk_drm_crtc_update_config()
586 mbox_flush(mtk_crtc->cmdq_client.chan, 2000); in mtk_drm_crtc_update_config()
[all …]
/Linux-v6.6/include/linux/soc/mediatek/
Dmtk-cmdq.h25 struct cmdq_client { struct
54 struct cmdq_client *cmdq_mbox_create(struct device *dev, int index);
60 void cmdq_mbox_destroy(struct cmdq_client *client);
69 struct cmdq_pkt *cmdq_pkt_create(struct cmdq_client *client, size_t size);
290 static inline struct cmdq_client *cmdq_mbox_create(struct device *dev, int index) in cmdq_mbox_create()
295 static inline void cmdq_mbox_destroy(struct cmdq_client *client) { } in cmdq_mbox_destroy()
297 static inline struct cmdq_pkt *cmdq_pkt_create(struct cmdq_client *client, size_t size) in cmdq_pkt_create()
/Linux-v6.6/drivers/soc/mediatek/
Dmtk-cmdq-helper.c74 struct cmdq_client *cmdq_mbox_create(struct device *dev, int index) in cmdq_mbox_create()
76 struct cmdq_client *client; in cmdq_mbox_create()
80 return (struct cmdq_client *)-ENOMEM; in cmdq_mbox_create()
101 void cmdq_mbox_destroy(struct cmdq_client *client) in cmdq_mbox_destroy()
108 struct cmdq_pkt *cmdq_pkt_create(struct cmdq_client *client, size_t size) in cmdq_pkt_create()
143 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in cmdq_pkt_destroy()
402 cmdq_get_shift_pa(((struct cmdq_client *)pkt->cl)->chan); in cmdq_pkt_jump()
422 cmdq_get_shift_pa(((struct cmdq_client *)pkt->cl)->chan); in cmdq_pkt_finalize()
432 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in cmdq_pkt_flush_async()
/Linux-v6.6/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-core.h85 struct cmdq_client *cmdq_clt;
Dmtk-mdp3-cmdq.c290 static int mdp_cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, in mdp_cmdq_pkt_create()
319 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in mdp_cmdq_pkt_destroy()