Lines Matching refs:psp
190 int tee_dev_init(struct psp_device *psp) in tee_dev_init() argument
192 struct device *dev = psp->dev; in tee_dev_init()
201 psp->tee_data = tee; in tee_dev_init()
204 tee->psp = psp; in tee_dev_init()
206 tee->io_regs = psp->io_regs; in tee_dev_init()
208 tee->vdata = (struct tee_vdata *)psp->vdata->tee; in tee_dev_init()
226 psp->tee_data = NULL; in tee_dev_init()
233 void tee_dev_destroy(struct psp_device *psp) in tee_dev_destroy() argument
235 struct psp_tee_device *tee = psp->tee_data; in tee_dev_destroy()
333 struct psp_device *psp = psp_get_master_device(); in psp_tee_process_cmd() local
343 if (!psp || !psp->tee_data) in psp_tee_process_cmd()
349 tee = psp->tee_data; in psp_tee_process_cmd()
368 struct psp_device *psp = psp_get_master_device(); in psp_check_tee_status() local
370 if (!psp || !psp->tee_data) in psp_check_tee_status()