Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_drm_crtc.c54 struct cmdq_client cmdq_client; member
151 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in mtk_drm_cmdq_pkt_destroy()
168 if (mtk_crtc->cmdq_client.chan) { in mtk_drm_crtc_destroy()
170 mtk_crtc->cmdq_client.chan = NULL; in mtk_drm_crtc_destroy()
297 struct cmdq_client *cmdq_cl = container_of(cl, struct cmdq_client, client); in ddp_cmdq_cb()
614 if (mtk_crtc->cmdq_client.chan) { in mtk_drm_crtc_update_config()
755 if (mtk_crtc->cmdq_client.chan) in mtk_drm_crtc_atomic_disable()
1052 mtk_crtc->cmdq_client.chan = in mtk_drm_crtc_create()
1057 mtk_crtc->cmdq_client.chan = NULL; in mtk_drm_crtc_create()
1060 if (mtk_crtc->cmdq_client.chan) { in mtk_drm_crtc_create()
[all …]
/openbmc/linux/include/linux/soc/mediatek/
H A 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()
/openbmc/linux/drivers/soc/mediatek/
H A Dmtk-cmdq-helper.c75 struct cmdq_client *cmdq_mbox_create(struct device *dev, int index) in cmdq_mbox_create()
77 struct cmdq_client *client; in cmdq_mbox_create()
81 return (struct cmdq_client *)-ENOMEM; in cmdq_mbox_create()
102 void cmdq_mbox_destroy(struct cmdq_client *client) in cmdq_mbox_destroy()
109 struct cmdq_pkt *cmdq_pkt_create(struct cmdq_client *client, size_t size) in cmdq_pkt_create()
144 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in cmdq_pkt_destroy()
403 cmdq_get_shift_pa(((struct cmdq_client *)pkt->cl)->chan); in cmdq_pkt_jump()
423 cmdq_get_shift_pa(((struct cmdq_client *)pkt->cl)->chan); in cmdq_pkt_finalize()
433 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in cmdq_pkt_flush_async()
/openbmc/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-core.h85 struct cmdq_client *cmdq_clt;
H A 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()