Home
last modified time | relevance | path

Searched refs:outvec_idx (Results 1 – 10 of 10) sorted by relevance

/trusted-firmware-m-3.7.0/secure_fw/spm/core/
Dpsa_mmiovec_api.c147 uint32_t outvec_idx) in tfm_spm_partition_psa_map_outvec() argument
181 if (outvec_idx >= PSA_MAX_IOVEC) { in tfm_spm_partition_psa_map_outvec()
186 if (handle->msg.out_size[outvec_idx] == 0) { in tfm_spm_partition_psa_map_outvec()
194 if (IOVEC_IS_MAPPED(handle, (outvec_idx + OUTVEC_IDX_BASE))) { in tfm_spm_partition_psa_map_outvec()
202 if (IOVEC_IS_ACCESSED(handle, (outvec_idx + OUTVEC_IDX_BASE))) { in tfm_spm_partition_psa_map_outvec()
210 partition->boundary, (uintptr_t)handle->outvec_base[outvec_idx], in tfm_spm_partition_psa_map_outvec()
211 handle->msg.out_size[outvec_idx], TFM_HAL_ACCESS_READWRITE); in tfm_spm_partition_psa_map_outvec()
215 SET_IOVEC_MAPPED(handle, (outvec_idx + OUTVEC_IDX_BASE)); in tfm_spm_partition_psa_map_outvec()
217 return handle->outvec_base[outvec_idx]; in tfm_spm_partition_psa_map_outvec()
221 uint32_t outvec_idx, size_t len) in tfm_spm_partition_psa_unmap_outvec() argument
[all …]
Dpsa_read_write_skip_api.c145 psa_status_t tfm_spm_partition_psa_write(psa_handle_t msg_handle, uint32_t outvec_idx, in tfm_spm_partition_psa_write() argument
170 if (outvec_idx >= PSA_MAX_IOVEC) { in tfm_spm_partition_psa_write()
178 if (num_bytes > handle->msg.out_size[outvec_idx] - handle->outvec_written[outvec_idx]) { in tfm_spm_partition_psa_write()
187 if (IOVEC_IS_MAPPED(handle, (outvec_idx + OUTVEC_IDX_BASE))) { in tfm_spm_partition_psa_write()
191 SET_IOVEC_ACCESSED(handle, (outvec_idx + OUTVEC_IDX_BASE)); in tfm_spm_partition_psa_write()
205 spm_memcpy((char *)handle->outvec_base[outvec_idx] + in tfm_spm_partition_psa_write()
206 handle->outvec_written[outvec_idx], buffer, num_bytes); in tfm_spm_partition_psa_write()
209 handle->outvec_written[outvec_idx] += num_bytes; in tfm_spm_partition_psa_write()
Dpsa_interface_sfn.c88 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()
244 void *psa_map_outvec(psa_handle_t msg_handle, uint32_t outvec_idx) in psa_map_outvec() argument
251 return tfm_spm_partition_psa_map_outvec(msg_handle, outvec_idx); in psa_map_outvec()
254 void psa_unmap_outvec(psa_handle_t msg_handle, uint32_t outvec_idx, size_t len) in psa_unmap_outvec() argument
261 tfm_spm_partition_psa_unmap_outvec(msg_handle, outvec_idx, len); in psa_unmap_outvec()
Dpsa_interface_thread_fn_call.c94 void psa_write_thread_fn_call(psa_handle_t msg_handle, uint32_t outvec_idx, in psa_write_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_interface_svc.c66 __naked void psa_write_svc(psa_handle_t msg_handle, uint32_t outvec_idx, in psa_write_svc() argument
/trusted-firmware-m-3.7.0/secure_fw/partitions/lib/runtime/
Dpsa_api_ipc.c55 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()
142 void *psa_map_outvec(psa_handle_t msg_handle, uint32_t outvec_idx) in psa_map_outvec() argument
144 PART_METADATA()->psa_fns->psa_map_outvec(msg_handle, outvec_idx); in psa_map_outvec()
147 void psa_unmap_outvec(psa_handle_t msg_handle, uint32_t outvec_idx, size_t len) in psa_unmap_outvec() argument
149 PART_METADATA()->psa_fns->psa_unmap_outvec(msg_handle, outvec_idx, len); in psa_unmap_outvec()
/trusted-firmware-m-3.7.0/interface/include/psa/
Dservice.h222 void psa_write(psa_handle_t msg_handle, uint32_t outvec_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-3.7.0/secure_fw/spm/include/interface/
Druntime_defs.h38 void (*psa_write)(psa_handle_t msg_handle, uint32_t outvec_idx, const void *buffer,
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-3.7.0/secure_fw/spm/include/ffm/
Dpsa_api.h382 psa_status_t tfm_spm_partition_psa_write(psa_handle_t msg_handle, uint32_t outvec_idx,
554 uint32_t outvec_idx);
560 uint32_t outvec_idx, size_t len);
/trusted-firmware-m-3.7.0/docs/design_docs/services/
Dtfm_psa_inter_process_communication.rst183 void psa_write(psa_handle_t msg_handle, uint32_t outvec_idx,