Home
last modified time | relevance | path

Searched refs:msg_handle (Results 1 – 17 of 17) sorted by relevance

/trusted-firmware-m-latest/secure_fw/partitions/lib/runtime/
Dpsa_api_ipc.c44 size_t psa_read(psa_handle_t msg_handle, uint32_t invec_idx, in psa_read() argument
47 return PART_METADATA()->psa_fns->psa_read(msg_handle, invec_idx, buffer, num_bytes); in psa_read()
50 size_t psa_skip(psa_handle_t msg_handle, uint32_t invec_idx, size_t num_bytes) in psa_skip() argument
52 return PART_METADATA()->psa_fns->psa_skip(msg_handle, invec_idx, num_bytes); in psa_skip()
55 void psa_write(psa_handle_t msg_handle, uint32_t outvec_idx, in psa_write() argument
58 PART_METADATA()->psa_fns->psa_write(msg_handle, outvec_idx, buffer, num_bytes); in psa_write()
61 void psa_reply(psa_handle_t msg_handle, psa_status_t retval) in psa_reply() argument
63 PART_METADATA()->psa_fns->psa_reply(msg_handle, retval); in psa_reply()
87 void psa_set_rhandle(psa_handle_t msg_handle, void *rhandle) in psa_set_rhandle() argument
89 PART_METADATA()->psa_fns->psa_set_rhandle(msg_handle, rhandle); in psa_set_rhandle()
[all …]
/trusted-firmware-m-latest/interface/include/psa/
Dservice.h148 void psa_set_rhandle(psa_handle_t msg_handle, void *rhandle);
175 size_t psa_read(psa_handle_t msg_handle, uint32_t invec_idx,
198 size_t psa_skip(psa_handle_t msg_handle, uint32_t invec_idx, size_t num_bytes);
222 void psa_write(psa_handle_t msg_handle, uint32_t outvec_idx,
239 void psa_reply(psa_handle_t msg_handle, psa_status_t status);
362 const void *psa_map_invec(psa_handle_t msg_handle, uint32_t invec_idx);
385 void psa_unmap_invec(psa_handle_t msg_handle, uint32_t invec_idx);
411 void *psa_map_outvec(psa_handle_t msg_handle, uint32_t outvec_idx);
437 void psa_unmap_outvec(psa_handle_t msg_handle, uint32_t outvec_idx, size_t len);
/trusted-firmware-m-latest/secure_fw/spm/include/interface/
Druntime_defs.h35 size_t (*psa_read)(psa_handle_t msg_handle, uint32_t invec_idx, void *buffer,
37 size_t (*psa_skip)(psa_handle_t msg_handle, uint32_t invec_idx, size_t num_bytes);
38 void (*psa_write)(psa_handle_t msg_handle, uint32_t outvec_idx, const void *buffer,
40 void (*psa_reply)(psa_handle_t msg_handle, psa_status_t retval);
46 void (*psa_set_rhandle)(psa_handle_t msg_handle, void *rhandle);
63 void * (*psa_map_invec)(psa_handle_t msg_handle, uint32_t invec_idx);
64 void (*psa_unmap_invec)(psa_handle_t msg_handle, uint32_t invec_idx);
65 void * (*psa_map_outvec)(psa_handle_t msg_handle, uint32_t outvec_idx);
66 void (*psa_unmap_outvec)(psa_handle_t msg_handle, uint32_t outvec_idx, size_t len);
/trusted-firmware-m-latest/secure_fw/spm/core/
Dpsa_interface_sfn.c65 size_t psa_read(psa_handle_t msg_handle, uint32_t invec_idx, in psa_read() argument
73 return tfm_spm_partition_psa_read(msg_handle, invec_idx, in psa_read()
77 size_t psa_skip(psa_handle_t msg_handle, uint32_t invec_idx, in psa_skip() argument
85 return tfm_spm_partition_psa_skip(msg_handle, invec_idx, num_bytes); in psa_skip()
88 void psa_write(psa_handle_t msg_handle, uint32_t outvec_idx, in psa_write() argument
96 tfm_spm_partition_psa_write(msg_handle, outvec_idx, buffer, num_bytes); in psa_write()
224 const void *psa_map_invec(psa_handle_t msg_handle, uint32_t invec_idx) in psa_map_invec() argument
231 return tfm_spm_partition_psa_map_invec(msg_handle, invec_idx); in psa_map_invec()
234 void psa_unmap_invec(psa_handle_t msg_handle, uint32_t invec_idx) in psa_unmap_invec() argument
241 tfm_spm_partition_psa_unmap_invec(msg_handle, invec_idx); in psa_unmap_invec()
[all …]
Dpsa_mmiovec_api.c16 const void *tfm_spm_partition_psa_map_invec(psa_handle_t msg_handle, in tfm_spm_partition_psa_map_invec() argument
24 handle = spm_msg_handle_to_connection(msg_handle); in tfm_spm_partition_psa_map_invec()
92 void tfm_spm_partition_psa_unmap_invec(psa_handle_t msg_handle, in tfm_spm_partition_psa_unmap_invec() argument
98 handle = spm_msg_handle_to_connection(msg_handle); in tfm_spm_partition_psa_unmap_invec()
146 void *tfm_spm_partition_psa_map_outvec(psa_handle_t msg_handle, in tfm_spm_partition_psa_map_outvec() argument
154 handle = spm_msg_handle_to_connection(msg_handle); in tfm_spm_partition_psa_map_outvec()
220 void tfm_spm_partition_psa_unmap_outvec(psa_handle_t msg_handle, in tfm_spm_partition_psa_unmap_outvec() argument
226 handle = spm_msg_handle_to_connection(msg_handle); in tfm_spm_partition_psa_unmap_outvec()
Dpsa_interface_thread_fn_call.c78 size_t psa_read_thread_fn_call(psa_handle_t msg_handle, uint32_t invec_idx, in psa_read_thread_fn_call() argument
86 size_t psa_skip_thread_fn_call(psa_handle_t msg_handle, in psa_skip_thread_fn_call() argument
94 void psa_write_thread_fn_call(psa_handle_t msg_handle, uint32_t outvec_idx, in psa_write_thread_fn_call() argument
102 void psa_reply_thread_fn_call(psa_handle_t msg_handle, psa_status_t status) in psa_reply_thread_fn_call() argument
156 void psa_set_rhandle_thread_fn_call(psa_handle_t msg_handle, void *rhandle) in psa_set_rhandle_thread_fn_call() argument
203 const void *psa_map_invec_thread_fn_call(psa_handle_t msg_handle, uint32_t invec_idx) in psa_map_invec_thread_fn_call() argument
210 void psa_unmap_invec_thread_fn_call(psa_handle_t msg_handle, uint32_t invec_idx) in psa_unmap_invec_thread_fn_call() argument
217 void *psa_map_outvec_thread_fn_call(psa_handle_t msg_handle, uint32_t outvec_idx) in psa_map_outvec_thread_fn_call() argument
224 void psa_unmap_outvec_thread_fn_call(psa_handle_t msg_handle, uint32_t outvec_idx, in psa_unmap_outvec_thread_fn_call() argument
Dpsa_read_write_skip_api.c15 size_t tfm_spm_partition_psa_read(psa_handle_t msg_handle, uint32_t invec_idx, in tfm_spm_partition_psa_read() argument
24 handle = spm_msg_handle_to_connection(msg_handle); in tfm_spm_partition_psa_read()
85 size_t tfm_spm_partition_psa_skip(psa_handle_t msg_handle, uint32_t invec_idx, in tfm_spm_partition_psa_skip() argument
92 handle = spm_msg_handle_to_connection(msg_handle); in tfm_spm_partition_psa_skip()
145 psa_status_t tfm_spm_partition_psa_write(psa_handle_t msg_handle, uint32_t outvec_idx, in tfm_spm_partition_psa_write() argument
153 handle = spm_msg_handle_to_connection(msg_handle); in tfm_spm_partition_psa_write()
Dpsa_interface_svc.c52 __naked size_t psa_read_svc(psa_handle_t msg_handle, uint32_t invec_idx, in psa_read_svc() argument
59 __naked size_t psa_skip_svc(psa_handle_t msg_handle, in psa_skip_svc() argument
66 __naked void psa_write_svc(psa_handle_t msg_handle, uint32_t outvec_idx, in psa_write_svc() argument
73 __naked void psa_reply_svc(psa_handle_t msg_handle, psa_status_t retval) in psa_reply_svc() argument
120 __naked void psa_set_rhandle_svc(psa_handle_t msg_handle, void *rhandle) in psa_set_rhandle_svc() argument
Dpsa_connection_api.c129 psa_status_t tfm_spm_partition_psa_set_rhandle(psa_handle_t msg_handle, void *rhandle) in tfm_spm_partition_psa_set_rhandle() argument
134 handle = spm_msg_handle_to_connection(msg_handle); in tfm_spm_partition_psa_set_rhandle()
Dpsa_api.c200 psa_status_t tfm_spm_partition_psa_reply(psa_handle_t msg_handle, in tfm_spm_partition_psa_reply() argument
209 handle = spm_msg_handle_to_connection(msg_handle); in tfm_spm_partition_psa_reply()
232 ret = msg_handle; in tfm_spm_partition_psa_reply()
Dspm_ipc.c269 struct connection_t *spm_msg_handle_to_connection(psa_handle_t msg_handle) in spm_msg_handle_to_connection() argument
281 struct connection_t *p_conn_handle = handle_to_connection(msg_handle); in spm_msg_handle_to_connection()
Dspm.h230 struct connection_t *spm_msg_handle_to_connection(psa_handle_t msg_handle);
/trusted-firmware-m-latest/secure_fw/spm/include/ffm/
Dpsa_api.h334 size_t tfm_spm_partition_psa_read(psa_handle_t msg_handle, uint32_t invec_idx,
357 size_t tfm_spm_partition_psa_skip(psa_handle_t msg_handle, uint32_t invec_idx,
382 psa_status_t tfm_spm_partition_psa_write(psa_handle_t msg_handle, uint32_t outvec_idx,
400 int32_t tfm_spm_partition_psa_reply(psa_handle_t msg_handle,
450 psa_status_t tfm_spm_partition_psa_set_rhandle(psa_handle_t msg_handle, void *rhandle);
541 const void *tfm_spm_partition_psa_map_invec(psa_handle_t msg_handle,
547 void tfm_spm_partition_psa_unmap_invec(psa_handle_t msg_handle,
553 void *tfm_spm_partition_psa_map_outvec(psa_handle_t msg_handle,
559 void tfm_spm_partition_psa_unmap_outvec(psa_handle_t msg_handle,
/trusted-firmware-m-latest/platform/include/
Dtfm_hal_mailbox.h34 mailbox_msg_handle_t msg_handle; member
/trusted-firmware-m-latest/docs/design_docs/services/
Dtfm_psa_inter_process_communication.rst177 void psa_set_rhandle(psa_handle_t msg_handle, void *rhandle);
179 size_t psa_read(psa_handle_t msg_handle, uint32_t invec_idx,
181 size_t psa_skip(psa_handle_t msg_handle, uint32_t invec_idx,
183 void psa_write(psa_handle_t msg_handle, uint32_t outvec_idx,
185 void psa_reply(psa_handle_t msg_handle, psa_status_t status);
/trusted-firmware-m-latest/secure_fw/partitions/ns_agent_mailbox/
Dtfm_spe_mailbox.c242 &spe_mailbox_queue.queue[idx].msg_handle; in tfm_mailbox_dispatch()
384 &spe_mailbox_queue.queue[idx].msg_handle); in tfm_mailbox_handle_msg()
/trusted-firmware-m-latest/docs/design_docs/dual-cpu/
Dmailbox_design_on_dual_core_system.rst730 - ``msg_handle`` contains the handle to the mailbox message under processing.
741 mailbox_msg_handle_t msg_handle;