Home
last modified time | relevance | path

Searched refs:cmdq_client (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/
H A Dmtk_drm_crtc.c54 struct cmdq_client cmdq_client; member
115 static int mtk_drm_cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, in mtk_drm_cmdq_pkt_create()
144 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, clien in ddp_cmdq_cb()
[all...]
/kernel/linux/linux-5.10/drivers/soc/mediatek/
H A Dmtk-cmdq-helper.c75 struct cmdq_client *client = from_timer(client, t, timer); in cmdq_client_timeout()
80 struct cmdq_client *cmdq_mbox_create(struct device *dev, int index, u32 timeout) in cmdq_mbox_create()
82 struct cmdq_client *client; in cmdq_mbox_create()
86 return (struct cmdq_client *)-ENOMEM; in cmdq_mbox_create()
113 void cmdq_mbox_destroy(struct cmdq_client *client) in cmdq_mbox_destroy()
125 struct cmdq_pkt *cmdq_pkt_create(struct cmdq_client *client, size_t size) in cmdq_pkt_create()
160 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in cmdq_pkt_destroy()
419 cmdq_get_shift_pa(((struct cmdq_client *)pkt->cl)->chan); in cmdq_pkt_jump()
439 cmdq_get_shift_pa(((struct cmdq_client *)pk in cmdq_pkt_finalize()
[all...]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/soc/mediatek/
H A 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 *clien in cmdq_pkt_flush_async()
[all...]
/kernel/linux/linux-5.10/include/linux/soc/mediatek/
H A Dmtk-cmdq.h26 struct cmdq_client { struct
59 struct cmdq_client *cmdq_mbox_create(struct device *dev, int index,
66 void cmdq_mbox_destroy(struct cmdq_client *client);
75 struct cmdq_pkt *cmdq_pkt_create(struct cmdq_client *client, size_t size);
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
H A Dmtk_drm_crtc.c50 struct cmdq_client *cmdq_client; member
483 if (mtk_crtc->cmdq_client) { in mtk_drm_crtc_hw_config()
484 mbox_flush(mtk_crtc->cmdq_client->chan, 2000); in mtk_drm_crtc_hw_config()
485 cmdq_handle = cmdq_pkt_create(mtk_crtc->cmdq_client, PAGE_SIZE); in mtk_drm_crtc_hw_config()
674 if (!priv->data->shadow_register && !mtk_crtc->cmdq_client) in mtk_crtc_ddp_irq()
835 mtk_crtc->cmdq_client = in mtk_drm_crtc_create()
839 if (IS_ERR(mtk_crtc->cmdq_client)) { in mtk_drm_crtc_create()
842 mtk_crtc->cmdq_client = NULL; in mtk_drm_crtc_create()
845 if (mtk_crtc->cmdq_client) { in mtk_drm_crtc_create()
[all...]
/kernel/linux/linux-6.6/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()

Completed in 7 milliseconds