Searched refs:pvt_data (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/drivers/char/tpm/ |
D | tpm_ftpm_tee.c | 45 struct ftpm_tee_private *pvt_data = dev_get_drvdata(chip->dev.parent); in ftpm_tee_tpm_op_recv() local 48 len = pvt_data->resp_len; in ftpm_tee_tpm_op_recv() 56 memcpy(buf, pvt_data->resp_buf, len); in ftpm_tee_tpm_op_recv() 57 pvt_data->resp_len = 0; in ftpm_tee_tpm_op_recv() 74 struct ftpm_tee_private *pvt_data = dev_get_drvdata(chip->dev.parent); in ftpm_tee_tpm_op_send() local 81 struct tee_shm *shm = pvt_data->shm; in ftpm_tee_tpm_op_send() 92 pvt_data->resp_len = 0; in ftpm_tee_tpm_op_send() 97 .session = pvt_data->session, in ftpm_tee_tpm_op_send() 129 rc = tee_client_invoke_func(pvt_data->ctx, &transceive_args, in ftpm_tee_tpm_op_send() 161 memcpy(pvt_data->resp_buf, temp_buf, resp_len); in ftpm_tee_tpm_op_send() [all …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/security/keys/trusted-keys/ |
D | trusted_tee.c | 58 static struct trusted_key_tee_private pvt_data; variable 73 reg_shm = tee_shm_register_kernel_buf(pvt_data.ctx, p->key, in trusted_tee_seal() 76 dev_err(pvt_data.dev, "shm register failed\n"); in trusted_tee_seal() 81 inv_arg.session = pvt_data.session_id; in trusted_tee_seal() 93 ret = tee_client_invoke_func(pvt_data.ctx, &inv_arg, param); in trusted_tee_seal() 95 dev_err(pvt_data.dev, "TA_CMD_SEAL invoke err: %x\n", in trusted_tee_seal() 120 reg_shm = tee_shm_register_kernel_buf(pvt_data.ctx, p->key, in trusted_tee_unseal() 123 dev_err(pvt_data.dev, "shm register failed\n"); in trusted_tee_unseal() 128 inv_arg.session = pvt_data.session_id; in trusted_tee_unseal() 140 ret = tee_client_invoke_func(pvt_data.ctx, &inv_arg, param); in trusted_tee_unseal() [all …]
|
/linux-6.6.21/sound/soc/intel/skylake/ |
D | skl-ssp-clk.h | 105 void *pvt_data; member
|
D | skl-ssp-clk.c | 196 return skl_send_clk_dma_control(clkdev->pdata->pvt_data, rcfg, in skl_clk_change_status()
|
D | skl-topology.c | 2598 char *pvt_data, struct skl_dev *skl, in skl_tplg_get_tokens() argument 2611 array = (struct snd_soc_tplg_vendor_array *)(pvt_data + off); in skl_tplg_get_tokens() 3457 char *pvt_data, struct skl_dev *skl, in skl_tplg_get_manifest_tkn() argument 3470 array = (struct snd_soc_tplg_vendor_array *)(pvt_data + off); in skl_tplg_get_manifest_tkn()
|
D | skl.c | 643 clk_pdata->pvt_data = skl; in skl_clock_device_register()
|