Home
last modified time | relevance | path

Searched refs:entity (Results 1 – 21 of 21) sorted by relevance

/tf-a-ffa_el3_spmc/drivers/io/
A Dio_semihosting.c27 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 Dio_storage.c56 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 Dio_memmap.c43 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 Dio_dummy.c31 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)&current_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 Dio_encrypted.c36 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 Dio_mtd.c29 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 Dio_block.c31 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 Dio_fip.c72 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)&current_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 …]
/tf-a-ffa_el3_spmc/drivers/intel/soc/stratix10/io/
A Ds10_memmap_qspi.c45 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 …]
/tf-a-ffa_el3_spmc/services/spd/trusty/
A Dsmcall.h20 #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
/tf-a-ffa_el3_spmc/include/drivers/io/
A Dio_driver.h41 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);
/tf-a-ffa_el3_spmc/drivers/st/io/
A Dio_mmc.c21 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
A Dio_stm32image.c31 const uintptr_t spec, io_entity_t *entity);
32 static int stm32image_partition_size(io_entity_t *entity, size_t *length);
33 static int stm32image_partition_read(io_entity_t *entity, uintptr_t buffer,
35 static int stm32image_partition_close(io_entity_t *entity);
142 const uintptr_t spec, io_entity_t *entity) in stm32image_partition_open() argument
147 assert(entity != NULL); in stm32image_partition_open()
165 static int stm32image_partition_size(io_entity_t *entity, size_t *length) in stm32image_partition_size() argument
173 assert(entity != NULL); in stm32image_partition_size()
255 assert(entity != NULL); in stm32image_partition_read()
283 result = stm32image_partition_size(entity, &length); in stm32image_partition_read()
[all …]
/tf-a-ffa_el3_spmc/drivers/renesas/common/io/
A Dio_memdrv.c43 io_entity_t *entity) in memdrv_block_open() argument
61 entity->info = (uintptr_t) &current_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 Dio_emmcdrv.c41 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) &current_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 Dio_rcar.c470 io_entity_t *entity) in rcar_file_open() argument
502 entity->info = (uintptr_t) &current_file; in rcar_file_open()
522 entity->info = (uintptr_t) &current_file; in rcar_file_open()
527 static int32_t rcar_file_len(io_entity_t *entity, size_t *length) in rcar_file_len() argument
529 *length = ((file_state_t *) entity->info)->size; in rcar_file_len()
536 static int32_t rcar_file_read(io_entity_t *entity, uintptr_t buffer, in rcar_file_read() argument
539 file_state_t *fp = (file_state_t *) entity->info; in rcar_file_read()
596 static int32_t rcar_file_close(io_entity_t *entity) in rcar_file_close() argument
602 entity->info = 0U; in rcar_file_close()
/tf-a-ffa_el3_spmc/docs/getting_started/
A Drt-svc-writers-guide.rst62 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
/tf-a-ffa_el3_spmc/docs/plat/
A Drpi4.rst59 As with the previous models, the GPU and its firmware are the first entity to
/tf-a-ffa_el3_spmc/docs/components/fconf/
A Dindex.rst11 retrieved without the requesting entity knowing what backing store is being used
/tf-a-ffa_el3_spmc/docs/process/
A Dcoding-guidelines.rst249 Each secure world image may be provided by a different entity (for example, a
/tf-a-ffa_el3_spmc/docs/design/
A Dfirmware-design.rst934 #. Incorrect range of owning entity numbers for a given ``call_type``
972 Bit[31] (fast/yielding call) and bits[29:24] (owning entity number) of the SMC

Completed in 33 milliseconds