Lines Matching refs:psp
192 int tee_dev_init(struct psp_device *psp) in tee_dev_init() argument
194 struct device *dev = psp->dev; in tee_dev_init()
203 psp->tee_data = tee; in tee_dev_init()
206 tee->psp = psp; in tee_dev_init()
208 tee->io_regs = psp->io_regs; in tee_dev_init()
210 tee->vdata = (struct tee_vdata *)psp->vdata->tee; in tee_dev_init()
228 psp->tee_data = NULL; in tee_dev_init()
235 void tee_dev_destroy(struct psp_device *psp) in tee_dev_destroy() argument
237 struct psp_tee_device *tee = psp->tee_data; in tee_dev_destroy()
351 struct psp_device *psp = psp_get_master_device(); in psp_tee_process_cmd() local
361 if (!psp || !psp->tee_data) in psp_tee_process_cmd()
367 tee = psp->tee_data; in psp_tee_process_cmd()
390 struct psp_device *psp = psp_get_master_device(); in psp_check_tee_status() local
392 if (!psp || !psp->tee_data) in psp_check_tee_status()