Searched refs:cmdq_client (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_crtc.c | 55 struct cmdq_client cmdq_client; member 117 if (mtk_crtc->cmdq_client.chan) in mtk_drm_finish_page_flip() 136 if (mtk_crtc->cmdq_client.chan) { in mtk_crtc_destroy() 137 cmdq_pkt_destroy(&mtk_crtc->cmdq_client, &mtk_crtc->cmdq_handle); in mtk_crtc_destroy() 138 mbox_free_channel(mtk_crtc->cmdq_client.chan); in mtk_crtc_destroy() 139 mtk_crtc->cmdq_client.chan = NULL; in mtk_crtc_destroy() 282 struct cmdq_client *cmdq_cl = container_of(cl, struct cmdq_client, client); in ddp_cmdq_cb() 283 struct mtk_crtc *mtk_crtc = container_of(cmdq_cl, struct mtk_crtc, cmdq_client); in ddp_cmdq_cb() 604 if (mtk_crtc->cmdq_client.chan) { in mtk_crtc_update_config() 605 mbox_flush(mtk_crtc->cmdq_client.chan, 2000); in mtk_crtc_update_config() [all …]
|
| /linux/include/linux/soc/mediatek/ |
| H A D | mtk-cmdq.h | 73 struct cmdq_client { struct 102 struct cmdq_client *cmdq_mbox_create(struct device *dev, int index); 108 void cmdq_mbox_destroy(struct cmdq_client *client); 118 int cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, size_t size); 125 void cmdq_pkt_destroy(struct cmdq_client *client, struct cmdq_pkt *pkt); 470 static inline struct cmdq_client *cmdq_mbox_create(struct device *dev, int index) in cmdq_mbox_create() 475 static inline void cmdq_mbox_destroy(struct cmdq_client *client) { } in cmdq_mbox_destroy() 477 static inline int cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, size_t size) in cmdq_pkt_create() 482 static inline void cmdq_pkt_destroy(struct cmdq_client *client, struct cmdq_pkt *pkt) { } in cmdq_pkt_destroy()
|
| /linux/drivers/soc/mediatek/ |
| H A D | mtk-cmdq-helper.c | 113 struct cmdq_client *cmdq_mbox_create(struct device *dev, int index) in cmdq_mbox_create() 115 struct cmdq_client *client; in cmdq_mbox_create() 119 return (struct cmdq_client *)-ENOMEM; in cmdq_mbox_create() 140 void cmdq_mbox_destroy(struct cmdq_client *client) in cmdq_mbox_destroy() 147 int cmdq_pkt_create(struct cmdq_client *client, struct cmdq_pkt *pkt, size_t size) in cmdq_pkt_create() 174 void cmdq_pkt_destroy(struct cmdq_client *client, struct cmdq_pkt *pkt) in cmdq_pkt_destroy()
|
| /linux/drivers/media/platform/mediatek/mdp3/ |
| H A D | mtk-mdp3-core.h | 128 struct cmdq_client *cmdq_clt[MDP_PP_MAX];
|