Home
last modified time | relevance | path

Searched refs:TEE_SHM_DMA_BUF (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/tee/
Dtee_shm.c35 if (shm->flags & TEE_SHM_DMA_BUF) { in tee_shm_release()
44 if (shm->flags & TEE_SHM_DMA_BUF) in tee_shm_release()
120 if ((flags & ~(TEE_SHM_MAPPED | TEE_SHM_DMA_BUF))) { in tee_shm_alloc()
142 if (flags & TEE_SHM_DMA_BUF) in tee_shm_alloc()
154 if (flags & TEE_SHM_DMA_BUF) { in tee_shm_alloc()
181 if (flags & TEE_SHM_DMA_BUF) { in tee_shm_alloc()
200 const u32 req_user_flags = TEE_SHM_DMA_BUF | TEE_SHM_USER_MAPPED; in tee_shm_register()
201 const u32 req_kernel_flags = TEE_SHM_DMA_BUF | TEE_SHM_KERNEL_MAPPED; in tee_shm_register()
288 if (flags & TEE_SHM_DMA_BUF) { in tee_shm_register()
330 if (!(shm->flags & TEE_SHM_DMA_BUF)) in tee_shm_get_fd()
[all …]
Dtee_core.c296 shm = tee_shm_alloc(ctx, data.size, TEE_SHM_MAPPED | TEE_SHM_DMA_BUF); in tee_ioctl_shm_alloc()
334 TEE_SHM_DMA_BUF | TEE_SHM_USER_MAPPED); in tee_ioctl_shm_register()
/Linux-v5.10/drivers/tee/optee/
Dshm_pool.c30 if (shm->flags & TEE_SHM_DMA_BUF) { in pool_op_alloc()
55 if (shm->flags & TEE_SHM_DMA_BUF) in pool_op_free()
Ddevice.c117 TEE_SHM_MAPPED | TEE_SHM_DMA_BUF); in __optee_enumerate_devices()
/Linux-v5.10/drivers/firmware/broadcom/
Dtee_bnxt_fw.c216 TEE_SHM_MAPPED | TEE_SHM_DMA_BUF); in tee_bnxt_fw_probe()
/Linux-v5.10/drivers/char/hw_random/
Doptee-rng.c149 TEE_SHM_MAPPED | TEE_SHM_DMA_BUF); in optee_rng_init()
/Linux-v5.10/include/linux/
Dtee_drv.h24 #define TEE_SHM_DMA_BUF BIT(1) /* Memory with dma-buf handle */ macro
/Linux-v5.10/drivers/char/tpm/
Dtpm_ftpm_tee.c259 TEE_SHM_MAPPED | TEE_SHM_DMA_BUF); in ftpm_tee_probe()