Searched refs:inv_arg (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/char/hw_random/ |
D | optee-rng.c | 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() [all …]
|
/Linux-v5.4/drivers/tee/optee/ |
D | device.c | 38 struct tee_ioctl_invoke_arg inv_arg; in get_devices() local 41 memset(&inv_arg, 0, sizeof(inv_arg)); in get_devices() 45 inv_arg.func = PTA_CMD_GET_DEVICES; in get_devices() 46 inv_arg.session = session; in get_devices() 47 inv_arg.num_params = 4; in get_devices() 55 ret = tee_client_invoke_func(ctx, &inv_arg, param); in get_devices() 56 if ((ret < 0) || ((inv_arg.ret != TEEC_SUCCESS) && in get_devices() 57 (inv_arg.ret != TEEC_ERROR_SHORT_BUFFER))) { in get_devices() 59 inv_arg.ret); in get_devices()
|