Lines Matching full:scp
26 dev = scp_get_device(vpu->scp); in mdp_vpu_shared_mem_alloc()
68 dev = scp_get_device(vpu->scp); in mdp_vpu_shared_mem_free()
126 struct mtk_scp *scp = mdp->scp; in mdp_vpu_register() local
129 err = scp_ipi_register(scp, SCP_IPI_MDP_INIT, in mdp_vpu_register()
135 err = scp_ipi_register(scp, SCP_IPI_MDP_DEINIT, in mdp_vpu_register()
141 err = scp_ipi_register(scp, SCP_IPI_MDP_FRAME, in mdp_vpu_register()
150 scp_ipi_unregister(scp, SCP_IPI_MDP_DEINIT); in mdp_vpu_register()
152 scp_ipi_unregister(scp, SCP_IPI_MDP_INIT); in mdp_vpu_register()
160 scp_ipi_unregister(mdp->scp, SCP_IPI_MDP_INIT); in mdp_vpu_unregister()
161 scp_ipi_unregister(mdp->scp, SCP_IPI_MDP_DEINIT); in mdp_vpu_unregister()
162 scp_ipi_unregister(mdp->scp, SCP_IPI_MDP_FRAME); in mdp_vpu_unregister()
172 if (!vpu->scp) { in mdp_vpu_sendmsg()
173 dev_dbg(&mdp->pdev->dev, "vpu scp is NULL"); in mdp_vpu_sendmsg()
176 ret = scp_ipi_send(vpu->scp, id, buf, len, 2000); in mdp_vpu_sendmsg()
193 int mdp_vpu_dev_init(struct mdp_vpu_dev *vpu, struct mtk_scp *scp, in mdp_vpu_dev_init() argument
204 vpu->scp = scp; in mdp_vpu_dev_init()