pvt_data 73 drivers/char/hw_random/optee-rng.c static size_t get_optee_rng_data(struct optee_rng_private *pvt_data, pvt_data 87 drivers/char/hw_random/optee-rng.c inv_arg.session = pvt_data->session_id; pvt_data 92 drivers/char/hw_random/optee-rng.c param[0].u.memref.shm = pvt_data->entropy_shm_pool; pvt_data 96 drivers/char/hw_random/optee-rng.c ret = tee_client_invoke_func(pvt_data->ctx, &inv_arg, param); pvt_data 98 drivers/char/hw_random/optee-rng.c dev_err(pvt_data->dev, "TA_CMD_GET_ENTROPY invoke err: %x\n", pvt_data 103 drivers/char/hw_random/optee-rng.c rng_data = tee_shm_get_va(pvt_data->entropy_shm_pool, 0); pvt_data 105 drivers/char/hw_random/optee-rng.c dev_err(pvt_data->dev, "tee_shm_get_va failed\n"); pvt_data 117 drivers/char/hw_random/optee-rng.c struct optee_rng_private *pvt_data = to_optee_rng_private(rng); pvt_data 126 drivers/char/hw_random/optee-rng.c rng_size = get_optee_rng_data(pvt_data, data, (max - read)); pvt_data 134 drivers/char/hw_random/optee-rng.c msleep((1000 * (max - read)) / pvt_data->data_rate); pvt_data 145 drivers/char/hw_random/optee-rng.c struct optee_rng_private *pvt_data = to_optee_rng_private(rng); pvt_data 148 drivers/char/hw_random/optee-rng.c entropy_shm_pool = tee_shm_alloc(pvt_data->ctx, MAX_ENTROPY_REQ_SZ, pvt_data 151 drivers/char/hw_random/optee-rng.c dev_err(pvt_data->dev, "tee_shm_alloc failed\n"); pvt_data 155 drivers/char/hw_random/optee-rng.c pvt_data->entropy_shm_pool = entropy_shm_pool; pvt_data 162 drivers/char/hw_random/optee-rng.c struct optee_rng_private *pvt_data = to_optee_rng_private(rng); pvt_data 164 drivers/char/hw_random/optee-rng.c tee_shm_free(pvt_data->entropy_shm_pool); pvt_data 167 drivers/char/hw_random/optee-rng.c static struct optee_rng_private pvt_data = { pvt_data 187 drivers/char/hw_random/optee-rng.c inv_arg.session = pvt_data.session_id; pvt_data 193 drivers/char/hw_random/optee-rng.c ret = tee_client_invoke_func(pvt_data.ctx, &inv_arg, param); pvt_data 200 drivers/char/hw_random/optee-rng.c pvt_data.data_rate = param[0].u.value.a; pvt_data 201 drivers/char/hw_random/optee-rng.c pvt_data.optee_rng.quality = param[0].u.value.b; pvt_data 223 drivers/char/hw_random/optee-rng.c pvt_data.ctx = tee_client_open_context(NULL, optee_ctx_match, NULL, pvt_data 225 drivers/char/hw_random/optee-rng.c if (IS_ERR(pvt_data.ctx)) pvt_data 233 drivers/char/hw_random/optee-rng.c ret = tee_client_open_session(pvt_data.ctx, &sess_arg, NULL); pvt_data 240 drivers/char/hw_random/optee-rng.c pvt_data.session_id = sess_arg.session; pvt_data 246 drivers/char/hw_random/optee-rng.c err = hwrng_register(&pvt_data.optee_rng); pvt_data 252 drivers/char/hw_random/optee-rng.c pvt_data.dev = dev; pvt_data 257 drivers/char/hw_random/optee-rng.c tee_client_close_session(pvt_data.ctx, pvt_data.session_id); pvt_data 259 drivers/char/hw_random/optee-rng.c tee_client_close_context(pvt_data.ctx); pvt_data 266 drivers/char/hw_random/optee-rng.c hwrng_unregister(&pvt_data.optee_rng); pvt_data 267 drivers/char/hw_random/optee-rng.c tee_client_close_session(pvt_data.ctx, pvt_data.session_id); pvt_data 268 drivers/char/hw_random/optee-rng.c tee_client_close_context(pvt_data.ctx); pvt_data 46 drivers/char/tpm/tpm_ftpm_tee.c struct ftpm_tee_private *pvt_data = dev_get_drvdata(chip->dev.parent); pvt_data 49 drivers/char/tpm/tpm_ftpm_tee.c len = pvt_data->resp_len; pvt_data 57 drivers/char/tpm/tpm_ftpm_tee.c memcpy(buf, pvt_data->resp_buf, len); pvt_data 58 drivers/char/tpm/tpm_ftpm_tee.c pvt_data->resp_len = 0; pvt_data 75 drivers/char/tpm/tpm_ftpm_tee.c struct ftpm_tee_private *pvt_data = dev_get_drvdata(chip->dev.parent); pvt_data 82 drivers/char/tpm/tpm_ftpm_tee.c struct tee_shm *shm = pvt_data->shm; pvt_data 93 drivers/char/tpm/tpm_ftpm_tee.c pvt_data->resp_len = 0; pvt_data 98 drivers/char/tpm/tpm_ftpm_tee.c .session = pvt_data->session, pvt_data 130 drivers/char/tpm/tpm_ftpm_tee.c rc = tee_client_invoke_func(pvt_data->ctx, &transceive_args, pvt_data 162 drivers/char/tpm/tpm_ftpm_tee.c memcpy(pvt_data->resp_buf, temp_buf, resp_len); pvt_data 163 drivers/char/tpm/tpm_ftpm_tee.c pvt_data->resp_len = resp_len; pvt_data 222 drivers/char/tpm/tpm_ftpm_tee.c struct ftpm_tee_private *pvt_data = NULL; pvt_data 225 drivers/char/tpm/tpm_ftpm_tee.c pvt_data = devm_kzalloc(dev, sizeof(struct ftpm_tee_private), pvt_data 227 drivers/char/tpm/tpm_ftpm_tee.c if (!pvt_data) pvt_data 230 drivers/char/tpm/tpm_ftpm_tee.c dev_set_drvdata(dev, pvt_data); pvt_data 233 drivers/char/tpm/tpm_ftpm_tee.c pvt_data->ctx = tee_client_open_context(NULL, ftpm_tee_match, NULL, pvt_data 235 drivers/char/tpm/tpm_ftpm_tee.c if (IS_ERR(pvt_data->ctx)) { pvt_data 236 drivers/char/tpm/tpm_ftpm_tee.c if (PTR_ERR(pvt_data->ctx) == -ENOENT) pvt_data 239 drivers/char/tpm/tpm_ftpm_tee.c return PTR_ERR(pvt_data->ctx); pvt_data 248 drivers/char/tpm/tpm_ftpm_tee.c rc = tee_client_open_session(pvt_data->ctx, &sess_arg, NULL); pvt_data 255 drivers/char/tpm/tpm_ftpm_tee.c pvt_data->session = sess_arg.session; pvt_data 258 drivers/char/tpm/tpm_ftpm_tee.c pvt_data->shm = tee_shm_alloc(pvt_data->ctx, pvt_data 261 drivers/char/tpm/tpm_ftpm_tee.c if (IS_ERR(pvt_data->shm)) { pvt_data 275 drivers/char/tpm/tpm_ftpm_tee.c pvt_data->chip = chip; pvt_data 276 drivers/char/tpm/tpm_ftpm_tee.c pvt_data->chip->flags |= TPM_CHIP_FLAG_TPM2; pvt_data 279 drivers/char/tpm/tpm_ftpm_tee.c rc = tpm_chip_register(pvt_data->chip); pvt_data 289 drivers/char/tpm/tpm_ftpm_tee.c put_device(&pvt_data->chip->dev); pvt_data 291 drivers/char/tpm/tpm_ftpm_tee.c tee_shm_free(pvt_data->shm); pvt_data 293 drivers/char/tpm/tpm_ftpm_tee.c tee_client_close_session(pvt_data->ctx, pvt_data->session); pvt_data 295 drivers/char/tpm/tpm_ftpm_tee.c tee_client_close_context(pvt_data->ctx); pvt_data 309 drivers/char/tpm/tpm_ftpm_tee.c struct ftpm_tee_private *pvt_data = dev_get_drvdata(&pdev->dev); pvt_data 312 drivers/char/tpm/tpm_ftpm_tee.c tpm_chip_unregister(pvt_data->chip); pvt_data 315 drivers/char/tpm/tpm_ftpm_tee.c put_device(&pvt_data->chip->dev); pvt_data 318 drivers/char/tpm/tpm_ftpm_tee.c tee_shm_free(pvt_data->shm); pvt_data 321 drivers/char/tpm/tpm_ftpm_tee.c tee_client_close_session(pvt_data->ctx, pvt_data->session); pvt_data 324 drivers/char/tpm/tpm_ftpm_tee.c tee_client_close_context(pvt_data->ctx); pvt_data 337 drivers/char/tpm/tpm_ftpm_tee.c struct ftpm_tee_private *pvt_data = dev_get_drvdata(&pdev->dev); pvt_data 339 drivers/char/tpm/tpm_ftpm_tee.c tee_shm_free(pvt_data->shm); pvt_data 340 drivers/char/tpm/tpm_ftpm_tee.c tee_client_close_session(pvt_data->ctx, pvt_data->session); pvt_data 341 drivers/char/tpm/tpm_ftpm_tee.c tee_client_close_context(pvt_data->ctx); pvt_data 196 sound/soc/intel/skylake/skl-ssp-clk.c return skl_send_clk_dma_control(clkdev->pdata->pvt_data, rcfg, pvt_data 105 sound/soc/intel/skylake/skl-ssp-clk.h void *pvt_data; pvt_data 2507 sound/soc/intel/skylake/skl-topology.c char *pvt_data, struct skl_dev *skl, pvt_data 2520 sound/soc/intel/skylake/skl-topology.c array = (struct snd_soc_tplg_vendor_array *)(pvt_data + off); pvt_data 3342 sound/soc/intel/skylake/skl-topology.c char *pvt_data, struct skl_dev *skl, pvt_data 3355 sound/soc/intel/skylake/skl-topology.c array = (struct snd_soc_tplg_vendor_array *)(pvt_data + off); pvt_data 651 sound/soc/intel/skylake/skl.c clk_pdata->pvt_data = skl;