Home
last modified time | relevance | path

Searched refs:tee (Results 1 – 15 of 15) sorted by relevance

/drivers/crypto/ccp/
Dtee-dev.c24 static int tee_alloc_ring(struct psp_tee_device *tee, int ring_size) in tee_alloc_ring() argument
26 struct ring_buf_manager *rb_mgr = &tee->rb_mgr; in tee_alloc_ring()
48 static void tee_free_ring(struct psp_tee_device *tee) in tee_free_ring() argument
50 struct ring_buf_manager *rb_mgr = &tee->rb_mgr; in tee_free_ring()
64 static int tee_wait_cmd_poll(struct psp_tee_device *tee, unsigned int timeout, in tee_wait_cmd_poll() argument
71 *reg = ioread32(tee->io_regs + tee->vdata->cmdresp_reg); in tee_wait_cmd_poll()
78 dev_err(tee->dev, "tee: command timed out, disabling PSP\n"); in tee_wait_cmd_poll()
85 struct tee_init_ring_cmd *tee_alloc_cmd_buffer(struct psp_tee_device *tee) in tee_alloc_cmd_buffer() argument
93 cmd->hi_addr = upper_32_bits(tee->rb_mgr.ring_pa); in tee_alloc_cmd_buffer()
94 cmd->low_addr = lower_32_bits(tee->rb_mgr.ring_pa); in tee_alloc_cmd_buffer()
[all …]
DMakefile13 tee-dev.o
Dsp-pci.c318 .tee = &teev1,
326 .tee = &teev1,
Dsp-dev.h58 const struct tee_vdata *tee; member
/drivers/tee/amdtee/
Dcall.c15 static int tee_params_to_amd_params(struct tee_param *tee, u32 count, in tee_params_to_amd_params() argument
24 if (!tee || !amd || count > TEE_MAX_PARAMS) in tee_params_to_amd_params()
30 if (tee[i].attr > TEE_IOCTL_PARAM_ATTR_TYPE_MEMREF_INOUT) in tee_params_to_amd_params()
33 amd->param_types |= ((tee[i].attr & 0xF) << i * 4); in tee_params_to_amd_params()
48 u32 buf_id = get_buffer_id(tee[i].u.memref.shm); in tee_params_to_amd_params()
51 amd->params[i].mref.offset = tee[i].u.memref.shm_offs; in tee_params_to_amd_params()
52 amd->params[i].mref.size = tee[i].u.memref.size; in tee_params_to_amd_params()
59 if (tee[i].u.value.c) in tee_params_to_amd_params()
62 amd->params[i].val.a = tee[i].u.value.a; in tee_params_to_amd_params()
63 amd->params[i].val.b = tee[i].u.value.b; in tee_params_to_amd_params()
[all …]
/drivers/tee/
DMakefile2 obj-$(CONFIG_TEE) += tee.o
3 tee-objs += tee_core.o
4 tee-objs += tee_shm.o
5 tee-objs += tee_shm_pool.o
DKconfig18 source "drivers/tee/optee/Kconfig"
19 source "drivers/tee/amdtee/Kconfig"
/drivers/net/ethernet/mellanox/mlxsw/
Dcore_env.c425 enum mlxsw_reg_mtmp_tee tee; in mlxsw_env_temp_event_set() local
456 tee = enable ? MLXSW_REG_MTMP_TEE_GENERATE_EVENT : MLXSW_REG_MTMP_TEE_NO_EVENT; in mlxsw_env_temp_event_set()
457 mlxsw_reg_mtmp_tee_set(mtmp_pl, tee); in mlxsw_env_temp_event_set()
Dreg.h9514 MLXSW_ITEM32(reg, mtmp, tee, 0x0C, 30, 2);
/drivers/firmware/broadcom/
DKconfig32 registers on tee bus and invoke calls to manage firmware on BNXT device.
Dtee_bnxt_fw.c258 MODULE_DEVICE_TABLE(tee, tee_bnxt_fw_id_table);
/drivers/char/hw_random/
Doptee-rng.c278 MODULE_DEVICE_TABLE(tee, optee_rng_id_table);
/drivers/
DMakefile182 obj-$(CONFIG_TEE) += tee/
DKconfig222 source "drivers/tee/Kconfig"
/drivers/char/tpm/
Dtpm_ftpm_tee.c380 MODULE_DEVICE_TABLE(tee, optee_ftpm_id_table);