Home
last modified time | relevance | path

Searched defs:shm (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/drivers/tee/
H A Dtee_shm.c44 static void release_registered_pages(struct tee_shm *shm) in release_registered_pages()
81 struct tee_shm *shm; in shm_alloc_helper() local
143 struct tee_shm *shm; in tee_shm_alloc_user_buf() local
221 struct tee_shm *shm; in register_shm_helper() local
309 struct tee_shm *shm; in tee_shm_register_user_buf() local
368 struct tee_shm *shm = filp->private_data; in tee_shm_fop_mmap() local
394 int tee_shm_get_fd(struct tee_shm *shm) in tee_shm_get_fd()
413 void tee_shm_free(struct tee_shm *shm) in tee_shm_free()
426 void *tee_shm_get_va(struct tee_shm *shm, size_t offs) in tee_shm_get_va()
464 struct tee_shm *shm; in tee_shm_get_from_id() local
[all …]
H A Dtee_shm_pool.c12 static int pool_op_gen_alloc(struct tee_shm_pool *pool, struct tee_shm *shm, in pool_op_gen_alloc()
37 static void pool_op_gen_free(struct tee_shm_pool *pool, struct tee_shm *shm) in pool_op_gen_free()
H A Dtee_core.c291 struct tee_shm *shm; in tee_ioctl_shm_alloc() local
327 struct tee_shm *shm; in tee_ioctl_shm_register() local
363 struct tee_shm *shm; in params_from_user() local
/openbmc/linux/drivers/tee/optee/
H A Dffa_abi.c41 struct tee_shm *shm; member
61 struct tee_shm *shm = NULL; in optee_shm_from_ffa_handle() local
126 struct tee_shm *shm = NULL; in from_msg_param_ffa_mem() local
192 struct tee_shm *shm = p->u.memref.shm; in to_msg_param_ffa_mem() local
314 struct tee_shm *shm) in optee_ffa_shm_unregister()
343 struct tee_shm *shm) in optee_ffa_shm_unregister_supp()
375 struct tee_shm *shm, size_t size, size_t align) in pool_ffa_op_alloc()
382 struct tee_shm *shm) in pool_ffa_op_free()
430 struct tee_shm *shm; in handle_ffa_rpc_func_cmd_shm_alloc() local
470 struct tee_shm *shm; in handle_ffa_rpc_func_cmd_shm_free() local
[all …]
H A Dcore.c21 int optee_pool_op_alloc_helper(struct tee_shm_pool *pool, struct tee_shm *shm, in optee_pool_op_alloc_helper()
72 void optee_pool_op_free_helper(struct tee_shm_pool *pool, struct tee_shm *shm, in optee_pool_op_free_helper()
H A Dsmc_abi.c85 struct tee_shm *shm; in from_msg_param_tmp_mem() local
112 struct tee_shm *shm; in from_msg_param_reg_mem() local
323 struct tee_shm *shm; in __optee_disable_shm_cache() local
573 struct tee_shm *shm) in optee_shm_unregister_supp()
588 struct tee_shm *shm, size_t size, size_t align) in pool_op_alloc()
602 struct tee_shm *shm) in pool_op_free()
652 struct tee_shm *shm; in handle_rpc_func_cmd_shm_free() local
682 struct tee_shm *shm; in handle_rpc_func_cmd_shm_alloc() local
822 struct tee_shm *shm; in optee_handle_rpc() local
888 struct tee_shm *shm, u_int offs) in optee_smc_do_call_with_arg()
[all …]
H A Dcall.c38 struct tee_shm *shm; member
287 struct tee_shm *shm; in optee_open_session() local
368 struct tee_shm *shm; in optee_close_session_helper() local
410 struct tee_shm *shm; in optee_invoke_func() local
460 struct tee_shm *shm; in optee_cancel_req() local
H A Drpc.c215 struct tee_shm *shm; in optee_rpc_cmd_alloc_suppl() local
233 void optee_rpc_cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm) in optee_rpc_cmd_free_suppl()
/openbmc/u-boot/drivers/tee/
H A Dtee-uclass.c52 struct tee_shm *shm; in __tee_shm_add() local
119 void tee_shm_free(struct tee_shm *shm) in tee_shm_free()
136 bool tee_shm_is_registered(struct tee_shm *shm, struct udevice *dev) in tee_shm_is_registered()
186 struct tee_shm *shm; in tee_pre_remove() local
H A Dsandbox.c270 static int sandbox_tee_shm_register(struct udevice *dev, struct tee_shm *shm) in sandbox_tee_shm_register()
279 static int sandbox_tee_shm_unregister(struct udevice *dev, struct tee_shm *shm) in sandbox_tee_shm_unregister()
/openbmc/linux/include/linux/
H A Dtee_drv.h63 struct tee_shm *shm; member
284 static inline bool tee_shm_is_dynamic(struct tee_shm *shm) in tee_shm_is_dynamic()
325 static inline size_t tee_shm_get_size(struct tee_shm *shm) in tee_shm_get_size()
336 static inline struct page **tee_shm_get_pages(struct tee_shm *shm, in tee_shm_get_pages()
348 static inline size_t tee_shm_get_page_offset(struct tee_shm *shm) in tee_shm_get_page_offset()
358 static inline int tee_shm_get_id(struct tee_shm *shm) in tee_shm_get_id()
/openbmc/u-boot/drivers/tee/optee/
H A Dcore.c203 struct tee_shm *shm; in from_msg_param() local
250 struct tee_shm *shm; in handle_rpc() local
333 struct tee_shm *shm; in optee_close_session() local
354 struct tee_shm *shm; in optee_open_session() local
404 struct tee_shm *shm; in optee_invoke_func() local
438 static int optee_shm_register(struct udevice *dev, struct tee_shm *shm) in optee_shm_register()
473 static int optee_shm_unregister(struct udevice *dev, struct tee_shm *shm) in optee_shm_unregister()
H A Dsupplicant.c20 struct tee_shm *shm; in cmd_shm_alloc() local
/openbmc/linux/drivers/tee/amdtee/
H A Dshm_pool.c11 static int pool_op_alloc(struct tee_shm_pool *pool, struct tee_shm *shm, in pool_op_alloc()
41 static void pool_op_free(struct tee_shm_pool *pool, struct tee_shm *shm) in pool_op_free()
H A Dcore.c153 u32 get_buffer_id(struct tee_shm *shm) in get_buffer_id()
341 int amdtee_map_shmem(struct tee_shm *shm) in amdtee_map_shmem()
383 void amdtee_unmap_shmem(struct tee_shm *shm) in amdtee_unmap_shmem()
/openbmc/linux/drivers/nvmem/
H A Dstm32-bsec-optee-ta.c142 struct tee_shm *shm; in stm32_bsec_optee_ta_read() local
207 { struct tee_shm *shm; in stm32_bsec_optee_ta_write() local
/openbmc/linux/drivers/char/tpm/
H A Dtpm_ftpm_tee.h37 struct tee_shm *shm; member
H A Dtpm_ftpm_tee.c81 struct tee_shm *shm = pvt_data->shm; in ftpm_tee_tpm_op_send() local
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v5.c679 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
/openbmc/linux/tools/testing/selftests/futex/functional/
H A Dfutex_wait.c54 void *shm; in main() local
/openbmc/linux/drivers/rtc/
H A Drtc-optee.c51 struct tee_shm *shm; member
247 struct tee_shm *shm; in optee_rtc_probe() local
/openbmc/linux/sound/usb/usx2y/
H A Dusx2yhwdeppcm.c107 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; in usx2y_usbpcm_urb_capt_iso_advance() local
H A DusX2Yhwdep.c73 struct us428ctls_sharedmem *shm = us428->us428ctls_sharedmem; in snd_us428ctls_poll() local
/openbmc/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-wpcm450.dtsi489 shm: syscon@c8001000 { label
/openbmc/u-boot/include/
H A Dtee.h96 struct tee_shm *shm; member

12