Searched refs:cmdq_client (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/soc/mediatek/ |
D | mtk-cmdq-helper.c | 75 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 *)pkt->cl)->chan); in cmdq_pkt_finalize() 450 struct cmdq_client *client = (struct cmdq_client *)pkt->cl; in cmdq_pkt_flush_async_cb() [all …]
|
/Linux-v5.10/include/linux/soc/mediatek/ |
D | mtk-cmdq.h | 26 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);
|
/Linux-v5.10/drivers/gpu/drm/mediatek/ |
D | mtk_drm_crtc.c | 50 struct cmdq_client *cmdq_client; member 480 if (mtk_crtc->cmdq_client) { in mtk_drm_crtc_hw_config() 481 mbox_flush(mtk_crtc->cmdq_client->chan, 2000); in mtk_drm_crtc_hw_config() 482 cmdq_handle = cmdq_pkt_create(mtk_crtc->cmdq_client, PAGE_SIZE); in mtk_drm_crtc_hw_config() 666 if (!priv->data->shadow_register && !mtk_crtc->cmdq_client) in mtk_crtc_ddp_irq() 825 mtk_crtc->cmdq_client = in mtk_drm_crtc_create() 829 if (IS_ERR(mtk_crtc->cmdq_client)) { in mtk_drm_crtc_create() 832 mtk_crtc->cmdq_client = NULL; in mtk_drm_crtc_create() 835 if (mtk_crtc->cmdq_client) { in mtk_drm_crtc_create() 843 cmdq_mbox_destroy(mtk_crtc->cmdq_client); in mtk_drm_crtc_create() [all …]
|