/arm-trusted-firmware-2.8.0/drivers/io/ |
A D | io_semihosting.c | 27 io_entity_t *entity); 79 assert(entity != NULL); in sh_file_open() 96 assert(entity != NULL); in sh_file_seek() 98 file_handle = (long)entity->info; in sh_file_seek() 111 assert(entity != NULL); in sh_file_len() 135 assert(entity != NULL); in sh_file_read() 138 file_handle = (long)entity->info; in sh_file_read() 159 assert(entity != NULL); in sh_file_write() 162 file_handle = (long)entity->info; in sh_file_write() 178 assert(entity != NULL); in sh_file_close() [all …]
|
A D | io_storage.c | 56 return (entity != NULL) && in is_valid_entity() 87 *handle = (uintptr_t)entity; in set_handle() 96 if (entity_map[index] == entity) { in find_first_entity() 110 assert(entity != NULL); in allocate_entity() 116 *entity = &entity_pool[index]; in allocate_entity() 130 assert(entity != NULL); in free_entity() 216 io_entity_t *entity; in io_open() local 225 entity->dev_handle = dev; in io_open() 226 set_handle(handle, entity); in io_open() 228 free_entity(entity); in io_open() [all …]
|
A D | io_memmap.c | 43 io_entity_t *entity); 102 io_entity_t *entity) in memmap_block_open() argument 113 assert(entity != NULL); in memmap_block_open() 139 assert(entity != NULL); in memmap_block_seek() 159 assert(entity != NULL); in memmap_block_len() 175 assert(entity != NULL); in memmap_block_read() 178 fp = (memmap_file_state_t *) entity->info; in memmap_block_read() 203 assert(entity != NULL); in memmap_block_write() 206 fp = (memmap_file_state_t *) entity->info; in memmap_block_write() 227 assert(entity != NULL); in memmap_block_close() [all …]
|
A D | io_dummy.c | 31 io_entity_t *entity); 32 static int dummy_block_len(io_entity_t *entity, size_t *length); 35 static int dummy_block_close(io_entity_t *entity); 83 io_entity_t *entity) in dummy_block_open() argument 90 assert(entity != NULL); in dummy_block_open() 94 entity->info = (uintptr_t)¤t_file; in dummy_block_open() 108 assert(entity != NULL); in dummy_block_len() 111 *length = ((struct file_state *)entity->info)->size; in dummy_block_len() 130 static int dummy_block_close(io_entity_t *entity) in dummy_block_close() argument 132 assert(entity != NULL); in dummy_block_close() [all …]
|
A D | io_encrypted.c | 36 io_entity_t *entity); 37 static int enc_file_len(io_entity_t *entity, size_t *length); 38 static int enc_file_read(io_entity_t *entity, uintptr_t buffer, size_t length, 40 static int enc_file_close(io_entity_t *entity); 109 io_entity_t *entity) in enc_file_open() argument 114 assert(entity != NULL); in enc_file_open() 128 static int enc_file_len(io_entity_t *entity, size_t *length) in enc_file_len() argument 132 assert(entity != NULL); in enc_file_len() 165 assert(entity != NULL); in enc_file_read() 220 static int enc_file_close(io_entity_t *entity) in enc_file_close() argument [all …]
|
A D | io_mtd.c | 29 io_entity_t *entity); 33 static int mtd_close(io_entity_t *entity); 133 io_entity_t *entity) in mtd_open() argument 140 assert((dev_info->info != 0UL) && (entity->info == 0UL)); in mtd_open() 144 entity->info = (uintptr_t)cur; in mtd_open() 166 assert((entity->info != (uintptr_t)NULL) && (offset >= 0)); in mtd_seek() 168 cur = (mtd_dev_state_t *)entity->info; in mtd_seek() 210 assert(entity->info != (uintptr_t)NULL); in mtd_read() 213 cur = (mtd_dev_state_t *)entity->info; in mtd_read() 235 static int mtd_close(io_entity_t *entity) in mtd_close() argument [all …]
|
A D | io_block.c | 31 io_entity_t *entity); 37 static int block_close(io_entity_t *entity); 128 io_entity_t *entity) in block_open() argument 135 (entity->info == (uintptr_t)NULL)); in block_open() 146 entity->info = (uintptr_t)cur; in block_open() 155 assert(entity->info != (uintptr_t)NULL); in block_seek() 157 cur = (block_dev_state_t *)entity->info; in block_seek() 267 assert(entity->info != (uintptr_t)NULL); in block_read() 268 cur = (block_dev_state_t *)entity->info; in block_read() 379 assert(entity->info != (uintptr_t)NULL); in block_write() [all …]
|
A D | io_fip.c | 72 io_entity_t *entity); 76 static int fip_file_close(io_entity_t *entity); 285 io_entity_t *entity) in fip_file_open() argument 295 assert(entity != NULL); in fip_file_open() 351 entity->info = (uintptr_t)¤t_fip_file; in fip_file_open() 369 assert(entity != NULL); in fip_file_len() 388 assert(entity != NULL); in fip_file_read() 390 assert(entity->info != (uintptr_t)NULL); in fip_file_read() 401 fp = (fip_file_state_t *)entity->info; in fip_file_read() 435 static int fip_file_close(io_entity_t *entity) in fip_file_close() argument [all …]
|
/arm-trusted-firmware-2.8.0/drivers/intel/soc/stratix10/io/ |
A D | s10_memmap_qspi.c | 45 io_entity_t *entity); 105 io_entity_t *entity) in memmap_block_open() argument 116 assert(entity != NULL); in memmap_block_open() 142 assert(entity != NULL); in memmap_block_seek() 162 assert(entity != NULL); in memmap_block_len() 178 assert(entity != NULL); in memmap_block_read() 181 fp = (file_state_t *) entity->info; in memmap_block_read() 205 assert(entity != NULL); in memmap_block_write() 208 fp = (file_state_t *) entity->info; in memmap_block_write() 228 assert(entity != NULL); in memmap_block_close() [all …]
|
/arm-trusted-firmware-2.8.0/services/spd/trusty/ |
A D | smcall.h | 20 #define SMC_NR(entity, fn, fastcall, smc64) \ argument 23 (((entity) & 0x3FU) << 24U) | \ 26 #define SMC_FASTCALL_NR(entity, fn) SMC_NR((entity), (fn), 1U, 0U) argument 27 #define SMC_FASTCALL64_NR(entity, fn) SMC_NR((entity), (fn), 1U, 1U) argument 28 #define SMC_YIELDCALL_NR(entity, fn) SMC_NR((entity), (fn), 0U, 0U) argument 29 #define SMC_YIELDCALL64_NR(entity, fn) SMC_NR((entity), (fn), 0U, 1U) argument
|
/arm-trusted-firmware-2.8.0/include/drivers/io/ |
A D | io_driver.h | 41 io_entity_t *entity); 42 int (*seek)(io_entity_t *entity, int mode, signed long long offset); 43 int (*size)(io_entity_t *entity, size_t *length); 44 int (*read)(io_entity_t *entity, uintptr_t buffer, size_t length, 46 int (*write)(io_entity_t *entity, const uintptr_t buffer, 48 int (*close)(io_entity_t *entity);
|
/arm-trusted-firmware-2.8.0/drivers/st/io/ |
A D | io_mmc.c | 21 io_entity_t *entity); 23 static int mmc_block_seek(io_entity_t *entity, int mode, 25 static int mmc_block_read(io_entity_t *entity, uintptr_t buffer, size_t length, 27 static int mmc_block_close(io_entity_t *entity); 89 io_entity_t *entity) in mmc_block_open() argument 96 static int mmc_block_seek(io_entity_t *entity, int mode, in mmc_block_seek() argument 104 static int mmc_block_read(io_entity_t *entity, uintptr_t buffer, in mmc_block_read() argument 125 static int mmc_block_close(io_entity_t *entity) in mmc_block_close() argument
|
/arm-trusted-firmware-2.8.0/drivers/renesas/common/io/ |
A D | io_memdrv.c | 43 io_entity_t *entity) in memdrv_block_open() argument 61 entity->info = (uintptr_t) ¤t_file; in memdrv_block_open() 66 static int32_t memdrv_block_seek(io_entity_t *entity, int32_t mode, in memdrv_block_seek() argument 73 ((file_state_t *) entity->info)->file_pos = offset; in memdrv_block_seek() 78 static int32_t memdrv_block_read(io_entity_t *entity, uintptr_t buffer, in memdrv_block_read() argument 83 fp = (file_state_t *) entity->info; in memdrv_block_read() 101 static int32_t memdrv_block_close(io_entity_t *entity) in memdrv_block_close() argument 103 entity->info = 0U; in memdrv_block_close()
|
A D | io_emmcdrv.c | 41 static int32_t emmcdrv_block_seek(io_entity_t *entity, int32_t mode, in emmcdrv_block_seek() argument 48 ((file_state_t *) entity->info)->file_pos = offset; in emmcdrv_block_seek() 53 static int32_t emmcdrv_block_read(io_entity_t *entity, uintptr_t buffer, in emmcdrv_block_read() argument 56 file_state_t *fp = (file_state_t *) entity->info; in emmcdrv_block_read() 84 const uintptr_t spec, io_entity_t *entity) in emmcdrv_block_open() argument 122 entity->info = (uintptr_t) ¤t_file; in emmcdrv_block_open() 127 static int32_t emmcdrv_block_close(io_entity_t *entity) in emmcdrv_block_close() argument 130 entity->info = 0U; in emmcdrv_block_close()
|
A D | io_rcar.c | 481 io_entity_t *entity) in rcar_file_open() argument 513 entity->info = (uintptr_t) ¤t_file; in rcar_file_open() 533 entity->info = (uintptr_t) ¤t_file; in rcar_file_open() 538 static int32_t rcar_file_len(io_entity_t *entity, size_t *length) in rcar_file_len() argument 540 *length = ((file_state_t *) entity->info)->size; in rcar_file_len() 547 static int32_t rcar_file_read(io_entity_t *entity, uintptr_t buffer, in rcar_file_read() argument 550 file_state_t *fp = (file_state_t *) entity->info; in rcar_file_read() 607 static int32_t rcar_file_close(io_entity_t *entity) in rcar_file_close() argument 613 entity->info = 0U; in rcar_file_close()
|
/arm-trusted-firmware-2.8.0/docs/getting_started/ |
A D | rt-svc-writers-guide.rst | 62 Each individual entity can allocate the valid identifiers within the entity 83 each owning entity can place the implementation of its runtime service. The 288 It is possible that a single owning entity implements multiple sub-services. For
|
/arm-trusted-firmware-2.8.0/docs/plat/ |
A D | rpi4.rst | 59 As with the previous models, the GPU and its firmware are the first entity to
|
/arm-trusted-firmware-2.8.0/docs/components/fconf/ |
A D | index.rst | 11 retrieved without the requesting entity knowing what backing store is being used
|
/arm-trusted-firmware-2.8.0/docs/components/ |
A D | firmware-update.rst | 34 entity aka ``Client`` to transmit the firmware images to the ``Update Agent``.
|
A D | el3-spmc.rst | 270 FFA version of the calling entity.
|
/arm-trusted-firmware-2.8.0/docs/process/ |
A D | coding-guidelines.rst | 249 Each secure world image may be provided by a different entity (for example, a
|
/arm-trusted-firmware-2.8.0/docs/design/ |
A D | firmware-design.rst | 944 #. Incorrect range of owning entity numbers for a given ``call_type`` 982 Bit[31] (fast/yielding call) and bits[29:24] (owning entity number) of the SMC
|