Lines Matching refs:inv_arg
79 struct tee_ioctl_invoke_arg inv_arg; in get_optee_rng_data() local
82 memset(&inv_arg, 0, sizeof(inv_arg)); in get_optee_rng_data()
86 inv_arg.func = TA_CMD_GET_ENTROPY; in get_optee_rng_data()
87 inv_arg.session = pvt_data->session_id; in get_optee_rng_data()
88 inv_arg.num_params = 4; in get_optee_rng_data()
96 ret = tee_client_invoke_func(pvt_data->ctx, &inv_arg, param); in get_optee_rng_data()
97 if ((ret < 0) || (inv_arg.ret != 0)) { in get_optee_rng_data()
99 inv_arg.ret); in get_optee_rng_data()
179 struct tee_ioctl_invoke_arg inv_arg; in get_optee_rng_info() local
182 memset(&inv_arg, 0, sizeof(inv_arg)); in get_optee_rng_info()
186 inv_arg.func = TA_CMD_GET_RNG_INFO; in get_optee_rng_info()
187 inv_arg.session = pvt_data.session_id; in get_optee_rng_info()
188 inv_arg.num_params = 4; in get_optee_rng_info()
193 ret = tee_client_invoke_func(pvt_data.ctx, &inv_arg, param); in get_optee_rng_info()
194 if ((ret < 0) || (inv_arg.ret != 0)) { in get_optee_rng_info()
196 inv_arg.ret); in get_optee_rng_info()