Searched refs:sess_arg (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/nvmem/ |
| H A D | stm32-bsec-optee-ta.c | 73 struct tee_ioctl_open_session_arg sess_arg; in stm32_bsec_ta_open_session() local 76 memset(&sess_arg, 0, sizeof(sess_arg)); in stm32_bsec_ta_open_session() 77 export_uuid(sess_arg.uuid, &stm32mp_bsec_ta_uuid); in stm32_bsec_ta_open_session() 78 sess_arg.clnt_login = TEE_IOCTL_LOGIN_REE_KERNEL; in stm32_bsec_ta_open_session() 79 sess_arg.num_params = 0; in stm32_bsec_ta_open_session() 81 rc = tee_client_open_session(ctx, &sess_arg, NULL); in stm32_bsec_ta_open_session() 82 if ((rc < 0) || (sess_arg.ret != 0)) { in stm32_bsec_ta_open_session() 84 __func__, sess_arg.ret, rc); in stm32_bsec_ta_open_session() 88 *id = sess_arg.session; in stm32_bsec_ta_open_session()
|
| /linux/security/keys/trusted-keys/ |
| H A D | trusted_tee.c | 209 struct tee_ioctl_open_session_arg sess_arg; in trusted_key_probe() local 211 memset(&sess_arg, 0, sizeof(sess_arg)); in trusted_key_probe() 218 memcpy(sess_arg.uuid, rng_device->id.uuid.b, TEE_IOCTL_UUID_LEN); in trusted_key_probe() 219 sess_arg.clnt_login = TEE_IOCTL_LOGIN_REE_KERNEL; in trusted_key_probe() 220 sess_arg.num_params = 0; in trusted_key_probe() 222 ret = tee_client_open_session(pvt_data.ctx, &sess_arg, NULL); in trusted_key_probe() 223 if ((ret < 0) || (sess_arg.ret != 0)) { in trusted_key_probe() 225 sess_arg.ret); in trusted_key_probe() 229 pvt_data.session_id = sess_arg in trusted_key_probe() [all...] |
| /linux/drivers/firmware/efi/stmm/ |
| H A D | tee_stmm_efi.c | 534 struct tee_ioctl_open_session_arg sess_arg; in tee_stmm_efi_probe() local 547 memset(&sess_arg, 0, sizeof(sess_arg)); in tee_stmm_efi_probe() 548 export_uuid(sess_arg.uuid, &tee_stmm_efi_id_table[0].uuid); in tee_stmm_efi_probe() 549 rc = tee_client_open_session(pvt_data.ctx, &sess_arg, NULL); in tee_stmm_efi_probe() 550 if ((rc < 0) || (sess_arg.ret != 0)) { in tee_stmm_efi_probe() 552 sess_arg.ret); in tee_stmm_efi_probe() 555 pvt_data.session = sess_arg.session; in tee_stmm_efi_probe()
|
| /linux/drivers/rtc/ |
| H A D | rtc-optee.c | 551 struct tee_ioctl_open_session_arg sess_arg = {0}; in optee_rtc_probe() local 573 export_uuid(sess_arg.uuid, &rtc_device->id.uuid); in optee_rtc_probe() 574 sess_arg.clnt_login = TEE_IOCTL_LOGIN_REE_KERNEL; in optee_rtc_probe() 576 ret = tee_client_open_session(priv->ctx, &sess_arg, NULL); in optee_rtc_probe() 577 if (ret < 0 || sess_arg.ret != 0) { in optee_rtc_probe() 578 dev_err(dev, "tee_client_open_session failed, err: %x\n", sess_arg.ret); in optee_rtc_probe() 582 priv->session_id = sess_arg.session; in optee_rtc_probe()
|