Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/soc/mediatek/
Dmtk-cmdq-helper.c73 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()
432 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in cmdq_pkt_flush_async_cb()
446 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in cmdq_pkt_flush_async()
/Linux-v5.15/include/linux/soc/mediatek/
Dmtk-cmdq.h25 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-v5.15/drivers/gpu/drm/mediatek/
Dmtk_drm_crtc.c53 struct cmdq_client *cmdq_client; member
471 if (mtk_crtc->cmdq_client) { in mtk_drm_crtc_update_config()
472 mbox_flush(mtk_crtc->cmdq_client->chan, 2000); in mtk_drm_crtc_update_config()
473 cmdq_handle = cmdq_pkt_create(mtk_crtc->cmdq_client, PAGE_SIZE); in mtk_drm_crtc_update_config()
492 if (!priv->data->shadow_register && !mtk_crtc->cmdq_client) in mtk_crtc_ddp_irq()
832 mtk_crtc->cmdq_client = in mtk_drm_crtc_create()
835 if (IS_ERR(mtk_crtc->cmdq_client)) { in mtk_drm_crtc_create()
838 mtk_crtc->cmdq_client = NULL; in mtk_drm_crtc_create()
841 if (mtk_crtc->cmdq_client) { in mtk_drm_crtc_create()
849 cmdq_mbox_destroy(mtk_crtc->cmdq_client); in mtk_drm_crtc_create()
[all …]