/trusted-firmware-m-3.7.0/secure_fw/spm/core/ |
D | psa_mmiovec_api.c | 147 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 …]
|
D | psa_read_write_skip_api.c | 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 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()
|
D | psa_interface_sfn.c | 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() 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()
|
D | psa_interface_thread_fn_call.c | 94 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
|
D | psa_interface_svc.c | 66 __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/ |
D | psa_api_ipc.c | 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() 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/ |
D | service.h | 222 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/ |
D | runtime_defs.h | 38 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/ |
D | psa_api.h | 382 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/ |
D | tfm_psa_inter_process_communication.rst | 183 void psa_write(psa_handle_t msg_handle, uint32_t outvec_idx,
|