Lines Matching refs:vers
269 struct tee_ioctl_version_data vers; in tee_ioctl_version() local
271 ctx->teedev->desc->ops->get_version(ctx->teedev, &vers); in tee_ioctl_version()
274 vers.gen_caps |= TEE_GEN_CAP_PRIVILEGED; in tee_ioctl_version()
276 if (copy_to_user(uvers, &vers, sizeof(vers))) in tee_ioctl_version()
968 struct tee_ioctl_version_data vers; in implementation_id_show() local
970 teedev->desc->ops->get_version(teedev, &vers); in implementation_id_show()
971 return scnprintf(buf, PAGE_SIZE, "%d\n", vers.impl_id); in implementation_id_show()
1084 struct tee_ioctl_version_data *vers; member
1094 teedev->desc->ops->get_version(teedev, match_data->vers); in match_dev()
1095 return match_data->match(match_data->vers, match_data->data); in match_dev()
1102 const void *data, struct tee_ioctl_version_data *vers) in tee_client_open_context() argument
1108 struct match_dev_data match_data = { vers ? vers : &v, data, match }; in tee_client_open_context()
1148 struct tee_ioctl_version_data *vers) in tee_client_get_version() argument
1150 ctx->teedev->desc->ops->get_version(ctx->teedev, vers); in tee_client_get_version()