Home
last modified time | relevance | path

Searched refs:num_bytes (Results 1 – 12 of 12) sorted by relevance

/trusted-firmware-m-3.5.0/secure_fw/spm/ffm/
Dpsa_read_write_skip_api.c16 void *buffer, size_t num_bytes) in tfm_spm_partition_psa_read() argument
68 num_bytes, TFM_HAL_ACCESS_READWRITE); in tfm_spm_partition_psa_read()
73 bytes = num_bytes > handle->msg.in_size[invec_idx] ? in tfm_spm_partition_psa_read()
74 handle->msg.in_size[invec_idx] : num_bytes; in tfm_spm_partition_psa_read()
87 size_t num_bytes) in tfm_spm_partition_psa_skip() argument
134 if (num_bytes > handle->msg.in_size[invec_idx]) { in tfm_spm_partition_psa_skip()
135 num_bytes = handle->msg.in_size[invec_idx]; in tfm_spm_partition_psa_skip()
140 (char *)handle->invec[invec_idx].base + num_bytes; in tfm_spm_partition_psa_skip()
141 handle->msg.in_size[invec_idx] -= num_bytes; in tfm_spm_partition_psa_skip()
143 return num_bytes; in tfm_spm_partition_psa_skip()
[all …]
/trusted-firmware-m-3.5.0/secure_fw/partitions/lib/runtime/
Dpsa_api_ipc.c45 void *buffer, size_t num_bytes) 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()
56 const void *buffer, size_t num_bytes) in psa_write() argument
58 PART_METADATA()->psa_fns->psa_write(msg_handle, outvec_idx, buffer, num_bytes); in psa_write()
/trusted-firmware-m-3.5.0/secure_fw/spm/cmsis_psa/
Dpsa_interface_sfn.c66 void *buffer, size_t num_bytes) in psa_read() argument
74 buffer, num_bytes); in psa_read()
78 size_t num_bytes) in psa_skip() argument
85 return tfm_spm_partition_psa_skip(msg_handle, invec_idx, num_bytes); in psa_skip()
89 const void *buffer, size_t num_bytes) in psa_write() argument
96 tfm_spm_partition_psa_write(msg_handle, outvec_idx, buffer, num_bytes); in psa_write()
Dpsa_interface_svc.c53 void *buffer, size_t num_bytes) in psa_read_svc() argument
60 uint32_t invec_idx, size_t num_bytes) in psa_skip_svc() argument
67 const void *buffer, size_t num_bytes) in psa_write_svc() argument
Dpsa_interface_cross.c122 void *buffer, size_t num_bytes) in psa_read_cross() argument
138 uint32_t invec_idx, size_t num_bytes) in psa_skip_cross() argument
154 const void *buffer, size_t num_bytes) in psa_write_cross() argument
/trusted-firmware-m-3.5.0/secure_fw/partitions/internal_trusted_storage/
Dtfm_its_req_mngr.h21 size_t its_req_mngr_read(uint8_t *buf, size_t num_bytes);
22 void its_req_mngr_write(const uint8_t *buf, size_t num_bytes);
Dtfm_its_req_mngr.c180 size_t its_req_mngr_read(uint8_t *buf, size_t num_bytes) in its_req_mngr_read() argument
182 return psa_read(handle, 1, buf, num_bytes); in its_req_mngr_read()
185 void its_req_mngr_write(const uint8_t *buf, size_t num_bytes) in its_req_mngr_write() argument
187 psa_write(handle, 0, buf, num_bytes); in its_req_mngr_write()
/trusted-firmware-m-3.5.0/interface/include/psa/
Dservice.h176 void *buffer, size_t num_bytes);
198 size_t psa_skip(psa_handle_t msg_handle, uint32_t invec_idx, size_t num_bytes);
223 const void *buffer, size_t num_bytes);
/trusted-firmware-m-3.5.0/secure_fw/spm/include/interface/
Druntime_defs.h35 size_t num_bytes);
36 size_t (*psa_skip)(psa_handle_t msg_handle, uint32_t invec_idx, size_t num_bytes);
38 size_t num_bytes);
/trusted-firmware-m-3.5.0/secure_fw/spm/include/ffm/
Dpsa_api.h252 void *buffer, size_t num_bytes);
275 size_t num_bytes);
300 const void *buffer, size_t num_bytes);
/trusted-firmware-m-3.5.0/secure_fw/partitions/internal_trusted_storage/flash_fs/
Dits_flash_fs_dblock.c148 size_t num_bytes; in its_flash_fs_dblock_write_file() local
176 num_bytes = (fs_ctx->cfg->block_size - block_meta->free_size) - pos; in its_flash_fs_dblock_write_file()
180 block_meta->phy_id, pos, num_bytes); in its_flash_fs_dblock_write_file()
/trusted-firmware-m-3.5.0/docs/design_docs/services/
Dtfm_psa_inter_process_communication.rst180 void *buffer, size_t num_bytes);
182 size_t num_bytes);
184 const void *buffer, size_t num_bytes);