| /OK3568_Linux_fs/kernel/drivers/tee/ |
| H A D | tee_shm.c | 16 static void release_registered_pages(struct tee_shm *shm) in release_registered_pages() 32 static void tee_shm_release(struct tee_device *teedev, struct tee_shm *shm) in tee_shm_release() 64 struct tee_shm *shm; in tee_shm_alloc() local 155 struct tee_shm *shm; in tee_shm_register() local 267 struct tee_shm *shm = filp->private_data; in tee_shm_fop_mmap() local 293 int tee_shm_get_fd(struct tee_shm *shm) in tee_shm_get_fd() 312 void tee_shm_free(struct tee_shm *shm) in tee_shm_free() 325 int tee_shm_va2pa(struct tee_shm *shm, void *va, phys_addr_t *pa) in tee_shm_va2pa() 347 int tee_shm_pa2va(struct tee_shm *shm, phys_addr_t pa, void **va) in tee_shm_pa2va() 375 void *tee_shm_get_va(struct tee_shm *shm, size_t offs) in tee_shm_get_va() [all …]
|
| H A D | tee_shm_pool.c | 13 struct tee_shm *shm, size_t size) in pool_op_gen_alloc() 31 struct tee_shm *shm) in pool_op_gen_free()
|
| H A D | tee_core.c | 291 struct tee_shm *shm; in tee_ioctl_shm_alloc() local 328 struct tee_shm *shm; in tee_ioctl_shm_register() local 369 struct tee_shm *shm; in params_from_user() local
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/ |
| H A D | regression_5000.c | 65 TEEC_SharedMemory *shm, size_t size, in RegisterSharedMemory() 75 TEEC_SharedMemory *shm, size_t size, in AllocateSharedMemory() 97 TEEC_SharedMemory shm = { }; in Allocate_In() local 121 TEEC_SharedMemory shm = { }; in Allocate_out_of_memory() local 168 TEEC_SharedMemory shm = { }; in Allocate_InOut() local 192 TEEC_SharedMemory shm = { }; in Register_In() local 218 TEEC_SharedMemory shm = { }; in Register_notZeroLength_Out() local 244 TEEC_SharedMemory shm = { }; in Register_InOut() local 270 TEEC_SharedMemory shm = { }; in Register_zeroLength_Out() local 294 TEEC_SharedMemory shm = { }; in Allocate_Out() local [all …]
|
| H A D | sdp_basic.c | 200 TEEC_SharedMemory *shm = malloc(sizeof(*shm)); in tee_register_buffer() local 231 TEEC_SharedMemory *shm = (TEEC_SharedMemory *)shm_ref; in inject_sdp_data() local 276 TEEC_SharedMemory *shm = (TEEC_SharedMemory *)shm_ref; in transform_sdp_data() local 316 TEEC_SharedMemory *shm = (TEEC_SharedMemory *)shm_ref; in dump_sdp_data() local
|
| H A D | regression_1000.c | 485 TEEC_SharedMemory shm = { }; in xtest_tee_test_invalid_mem_access2() local 1034 TEEC_SharedMemory *shm; member 1090 TEEC_SharedMemory shm = { }; in xtest_tee_test_1013_single() local 1316 TEEC_SharedMemory shm = { }; in xtest_tee_test_1017() local 1368 TEEC_SharedMemory *shm) in invoke_1byte_out_of_bounds() 1396 TEEC_SharedMemory shm = { }; in xtest_tee_test_1018() local 1910 TEEC_SharedMemory shm = { }; in xtest_tee_test_1025() local
|
| H A D | aes_perf.c | 232 static void register_shm(TEEC_SharedMemory *shm, int fd) in register_shm() 240 static void allocate_shm(TEEC_SharedMemory *shm, size_t sz) in allocate_shm()
|
| /OK3568_Linux_fs/external/security/librkcrypto/third_party/optee_client/libteec/src/ |
| H A D | tee_client_api.c | 193 TEEC_SharedMemory *shm) in teec_pre_process_tmpref() 253 TEEC_SharedMemory *shm = NULL; in teec_pre_process_whole() local 284 TEEC_SharedMemory *shm = NULL; in teec_pre_process_partial() local 398 TEEC_SharedMemory *shm) in teec_post_process_tmpref() 413 TEEC_SharedMemory *shm = memref->parent; in teec_post_process_whole() local 435 TEEC_SharedMemory *shm = memref->parent; in teec_post_process_partial() local 609 TEEC_SharedMemory shm[TEEC_CONFIG_PAYLOAD_REF_COUNT]; in TEEC_OpenSession() local 691 TEEC_SharedMemory shm[TEEC_CONFIG_PAYLOAD_REF_COUNT]; in TEEC_InvokeCommand() local 773 TEEC_Result TEEC_RegisterSharedMemory(TEEC_Context *ctx, TEEC_SharedMemory *shm) in TEEC_RegisterSharedMemory() 849 TEEC_SharedMemory *shm, in TEEC_RegisterSharedMemoryFileDescriptor() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tee/optee/ |
| H A D | call.c | 180 struct tee_shm *shm; in get_msg_arg() local 216 struct tee_shm *shm; in optee_open_session() local 291 struct tee_shm *shm; in optee_close_session() local 322 struct tee_shm *shm; in optee_invoke_func() local 367 struct tee_shm *shm; in optee_cancel_req() local 439 struct tee_shm *shm; in __optee_disable_shm_cache() local 611 int optee_shm_register(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register() 663 int optee_shm_unregister(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister() 686 int optee_shm_register_supp(struct tee_context *ctx, struct tee_shm *shm, in optee_shm_register_supp() 697 int optee_shm_unregister_supp(struct tee_context *ctx, struct tee_shm *shm) in optee_shm_unregister_supp()
|
| H A D | rpc.c | 268 struct tee_shm *shm; in cmd_alloc_suppl() local 292 struct tee_shm *shm; in handle_rpc_func_cmd_shm_alloc() local 384 static void cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) in cmd_free_suppl() 412 struct tee_shm *shm; in handle_rpc_func_cmd_shm_free() local 452 struct tee_shm *shm, in handle_rpc_func_cmd() 501 struct tee_shm *shm; in optee_handle_rpc() local
|
| H A D | shm_pool.c | 16 struct tee_shm *shm, size_t size) in pool_op_alloc() 63 struct tee_shm *shm) in pool_op_free()
|
| H A D | core.c | 43 struct tee_shm *shm; in optee_from_msg_param() local 272 struct tee_shm *shm; in optee_release() local
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | tee_drv.h | 66 struct tee_shm *shm; member 355 static inline bool tee_shm_is_registered(struct tee_shm *shm) in tee_shm_is_registered() 414 static inline size_t tee_shm_get_size(struct tee_shm *shm) in tee_shm_get_size() 425 static inline struct page **tee_shm_get_pages(struct tee_shm *shm, in tee_shm_get_pages() 437 static inline size_t tee_shm_get_page_offset(struct tee_shm *shm) in tee_shm_get_page_offset() 447 static inline int tee_shm_get_id(struct tee_shm *shm) in tee_shm_get_id()
|
| /OK3568_Linux_fs/kernel/drivers/tee/amdtee/ |
| H A D | shm_pool.c | 11 static int pool_op_alloc(struct tee_shm_pool_mgr *poolm, struct tee_shm *shm, in pool_op_alloc() 37 static void pool_op_free(struct tee_shm_pool_mgr *poolm, struct tee_shm *shm) in pool_op_free()
|
| H A D | core.c | 153 u32 get_buffer_id(struct tee_shm *shm) in get_buffer_id() 340 int amdtee_map_shmem(struct tee_shm *shm) in amdtee_map_shmem() 382 void amdtee_unmap_shmem(struct tee_shm *shm) in amdtee_unmap_shmem()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/concurrent/ |
| H A D | ta_entry.c | 38 static uint32_t inc_active_count(struct ta_concurrent_shm *shm) in inc_active_count() 43 static uint32_t dec_active_count(struct ta_concurrent_shm *shm) in dec_active_count()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/concurrent_large/ |
| H A D | ta_entry.c | 38 static uint32_t inc_active_count(struct ta_concurrent_shm *shm) in inc_active_count() 43 static uint32_t dec_active_count(struct ta_concurrent_shm *shm) in dec_active_count()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/s5p-mfc/ |
| H A D | s5p_mfc_opr_v5.c | 679 unsigned int shm; in s5p_mfc_set_enc_params() local 763 unsigned int shm; in s5p_mfc_set_enc_params_h264() local 920 unsigned int shm; in s5p_mfc_set_enc_params_mpeg4() local 999 unsigned int shm; in s5p_mfc_set_enc_params_h263() local
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/ |
| H A D | tpm_ftpm_tee.h | 37 struct tee_shm *shm; member
|
| H A D | tpm_ftpm_tee.c | 82 struct tee_shm *shm = pvt_data->shm; in ftpm_tee_tpm_op_send() local
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | vendor_misc.c | 26 char *shm; in vendor_handle_hdcp() local
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/gp/include/ |
| H A D | xml_client_api.h | 151 TEEC_SharedMemory *shm, in RegisterSharedMemory() 269 #define TEEC_initialize_memory(shm, tmpMem, offset, _size, value_beginning, \ argument 292 TEEC_SharedMemory *shm, in TEEC_prepare_OperationEachParameter_memref()
|
| H A D | xml_common_api.h | 204 TEEC_SharedMemory *shm, in AllocateSharedMemory() 224 static TEEC_SharedMemory shm = { }; in GetObjectBufferAttribute_helper() local
|
| /OK3568_Linux_fs/kernel/sound/usb/usx2y/ |
| H A D | usx2yhwdeppcm.c | 103 struct snd_usx2y_hwdep_pcm_shm *shm = usx2y->hwdep_pcm_shm; in usx2y_hwdep_urb_play_prepare() local 144 struct snd_usx2y_hwdep_pcm_shm *shm = subs->usx2y->hwdep_pcm_shm; in usx2y_usbpcm_urb_capt_iso_advance() local
|
| H A D | usX2Yhwdep.c | 81 struct us428ctls_sharedmem *shm = us428->us428ctls_sharedmem; in snd_us428ctls_poll() local
|