Searched refs:cmdq_client (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/mediatek/ |
D | mtk_drm_crtc.c | 53 struct cmdq_client cmdq_client; member 111 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() 160 if (mtk_crtc->cmdq_client.chan) { in mtk_drm_crtc_destroy() 161 mbox_free_channel(mtk_crtc->cmdq_client.chan); in mtk_drm_crtc_destroy() 162 mtk_crtc->cmdq_client.chan = NULL; in mtk_drm_crtc_destroy() 289 struct cmdq_client *cmdq_cl = container_of(cl, struct cmdq_client, client); in ddp_cmdq_cb() 290 struct mtk_drm_crtc *mtk_crtc = container_of(cmdq_cl, struct mtk_drm_crtc, cmdq_client); in ddp_cmdq_cb() 577 if (mtk_crtc->cmdq_client.chan) { in mtk_drm_crtc_update_config() 578 mbox_flush(mtk_crtc->cmdq_client.chan, 2000); in mtk_drm_crtc_update_config() [all …]
|
/linux-6.1.9/drivers/soc/mediatek/ |
D | mtk-cmdq-helper.c | 73 struct cmdq_client *cmdq_mbox_create(struct device *dev, int index) in cmdq_mbox_create() 75 struct cmdq_client *client; in cmdq_mbox_create() 79 return (struct cmdq_client *)-ENOMEM; in cmdq_mbox_create() 100 void cmdq_mbox_destroy(struct cmdq_client *client) in cmdq_mbox_destroy() 107 struct cmdq_pkt *cmdq_pkt_create(struct cmdq_client *client, size_t size) in cmdq_pkt_create() 142 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in cmdq_pkt_destroy() 401 cmdq_get_shift_pa(((struct cmdq_client *)pkt->cl)->chan); in cmdq_pkt_jump() 421 cmdq_get_shift_pa(((struct cmdq_client *)pkt->cl)->chan); in cmdq_pkt_finalize() 431 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in cmdq_pkt_flush_async()
|
/linux-6.1.9/include/linux/soc/mediatek/ |
D | mtk-cmdq.h | 25 struct cmdq_client { struct 52 struct cmdq_client *cmdq_mbox_create(struct device *dev, int index); 58 void cmdq_mbox_destroy(struct cmdq_client *client); 67 struct cmdq_pkt *cmdq_pkt_create(struct cmdq_client *client, size_t size);
|
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-core.h | 76 struct cmdq_client *cmdq_clt;
|
D | mtk-mdp3-cmdq.c | 248 static int mdp_cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, in mdp_cmdq_pkt_create() 277 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in mdp_cmdq_pkt_destroy()
|