Searched refs:pvt_data (Results 1 – 3 of 3) sorted by relevance
/drivers/char/tpm/ |
D | tpm_ftpm_tee.c | 46 struct ftpm_tee_private *pvt_data = dev_get_drvdata(chip->dev.parent); in ftpm_tee_tpm_op_recv() local 49 len = pvt_data->resp_len; in ftpm_tee_tpm_op_recv() 57 memcpy(buf, pvt_data->resp_buf, len); in ftpm_tee_tpm_op_recv() 58 pvt_data->resp_len = 0; in ftpm_tee_tpm_op_recv() 75 struct ftpm_tee_private *pvt_data = dev_get_drvdata(chip->dev.parent); in ftpm_tee_tpm_op_send() local 82 struct tee_shm *shm = pvt_data->shm; in ftpm_tee_tpm_op_send() 93 pvt_data->resp_len = 0; in ftpm_tee_tpm_op_send() 98 .session = pvt_data->session, in ftpm_tee_tpm_op_send() 130 rc = tee_client_invoke_func(pvt_data->ctx, &transceive_args, in ftpm_tee_tpm_op_send() 162 memcpy(pvt_data->resp_buf, temp_buf, resp_len); in ftpm_tee_tpm_op_send() [all …]
|
/drivers/char/hw_random/ |
D | optee-rng.c | 73 static size_t get_optee_rng_data(struct optee_rng_private *pvt_data, in get_optee_rng_data() argument 87 inv_arg.session = pvt_data->session_id; in get_optee_rng_data() 92 param[0].u.memref.shm = pvt_data->entropy_shm_pool; in get_optee_rng_data() 96 ret = tee_client_invoke_func(pvt_data->ctx, &inv_arg, param); in get_optee_rng_data() 98 dev_err(pvt_data->dev, "TA_CMD_GET_ENTROPY invoke err: %x\n", in get_optee_rng_data() 103 rng_data = tee_shm_get_va(pvt_data->entropy_shm_pool, 0); in get_optee_rng_data() 105 dev_err(pvt_data->dev, "tee_shm_get_va failed\n"); in get_optee_rng_data() 117 struct optee_rng_private *pvt_data = to_optee_rng_private(rng); in optee_rng_read() local 126 rng_size = get_optee_rng_data(pvt_data, data, (max - read)); in optee_rng_read() 131 if (wait && pvt_data->data_rate) { in optee_rng_read() [all …]
|
/drivers/firmware/broadcom/ |
D | tee_bnxt_fw.c | 64 static struct tee_bnxt_fw_private pvt_data; variable 74 arg->session = pvt_data.session_id; in prepare_args() 81 param[0].u.memref.shm = pvt_data.fw_shm_pool; in prepare_args() 105 if (!pvt_data.ctx) in tee_bnxt_fw_load() 110 ret = tee_client_invoke_func(pvt_data.ctx, &arg, param); in tee_bnxt_fw_load() 112 dev_err(pvt_data.dev, in tee_bnxt_fw_load() 140 if (!pvt_data.ctx) in tee_bnxt_copy_coredump() 154 ret = tee_client_invoke_func(pvt_data.ctx, &arg, param); in tee_bnxt_copy_coredump() 156 dev_err(pvt_data.dev, in tee_bnxt_copy_coredump() 162 core_data = tee_shm_get_va(pvt_data.fw_shm_pool, 0); in tee_bnxt_copy_coredump() [all …]
|