Searched refs:cmdq_client (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/mediatek/ |
D | mtk_drm_crtc.c | 54 struct cmdq_client cmdq_client; member 112 static int mtk_drm_cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, in mtk_drm_cmdq_pkt_create() 143 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in mtk_drm_cmdq_pkt_destroy() 161 if (mtk_crtc->cmdq_client.chan) { in mtk_drm_crtc_destroy() 162 mbox_free_channel(mtk_crtc->cmdq_client.chan); in mtk_drm_crtc_destroy() 163 mtk_crtc->cmdq_client.chan = NULL; in mtk_drm_crtc_destroy() 290 struct cmdq_client *cmdq_cl = container_of(cl, struct cmdq_client, client); in ddp_cmdq_cb() 291 struct mtk_drm_crtc *mtk_crtc = container_of(cmdq_cl, struct mtk_drm_crtc, cmdq_client); in ddp_cmdq_cb() 578 if (mtk_crtc->cmdq_client.chan) { in mtk_drm_crtc_update_config() 579 mbox_flush(mtk_crtc->cmdq_client.chan, 2000); in mtk_drm_crtc_update_config() [all …]
|
/linux-5.19.10/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-5.19.10/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);
|