Lines Matching refs:psp
115 ret = psp_mailbox_command(tee->psp, PSP_CMD_TEE_RING_INIT, cmd, in tee_init_ring()
148 ret = psp_mailbox_command(tee->psp, PSP_CMD_TEE_RING_DESTROY, NULL, in tee_destroy_ring()
162 int tee_dev_init(struct psp_device *psp) in tee_dev_init() argument
164 struct device *dev = psp->dev; in tee_dev_init()
173 psp->tee_data = tee; in tee_dev_init()
176 tee->psp = psp; in tee_dev_init()
178 tee->io_regs = psp->io_regs; in tee_dev_init()
180 tee->vdata = (struct tee_vdata *)psp->vdata->tee; in tee_dev_init()
198 psp->tee_data = NULL; in tee_dev_init()
205 void tee_dev_destroy(struct psp_device *psp) in tee_dev_destroy() argument
207 struct psp_tee_device *tee = psp->tee_data; in tee_dev_destroy()
321 struct psp_device *psp = psp_get_master_device(); in psp_tee_process_cmd() local
331 if (!psp || !psp->tee_data) in psp_tee_process_cmd()
337 tee = psp->tee_data; in psp_tee_process_cmd()
360 struct psp_device *psp = psp_get_master_device(); in psp_check_tee_status() local
362 if (!psp || !psp->tee_data) in psp_check_tee_status()