Home
last modified time | relevance | path

Searched refs:io_entity_t (Results 1 – 16 of 16) sorted by relevance

/external/arm-trusted-firmware/drivers/io/
Dio_storage.c16 static io_entity_t entity_pool[MAX_IO_HANDLES];
20 static io_entity_t *entity_map[MAX_IO_HANDLES];
54 const io_entity_t *entity = (io_entity_t *)handle; in is_valid_entity()
84 static void set_handle(uintptr_t *handle, io_entity_t *entity) in set_handle()
92 static int find_first_entity(const io_entity_t *entity, unsigned int *index_out) in find_first_entity()
107 static int allocate_entity(io_entity_t **entity) in allocate_entity()
126 static int free_entity(const io_entity_t *entity) in free_entity()
216 io_entity_t *entity; in io_open()
240 io_entity_t *entity = (io_entity_t *)handle; in io_seek()
257 io_entity_t *entity = (io_entity_t *)handle; in io_size()
[all …]
Dio_semihosting.c27 io_entity_t *entity);
28 static int sh_file_seek(io_entity_t *entity, int mode, signed long long offset);
29 static int sh_file_len(io_entity_t *entity, size_t *length);
30 static int sh_file_read(io_entity_t *entity, uintptr_t buffer, size_t length,
32 static int sh_file_write(io_entity_t *entity, const uintptr_t buffer,
34 static int sh_file_close(io_entity_t *entity);
72 const uintptr_t spec, io_entity_t *entity) in sh_file_open()
92 static int sh_file_seek(io_entity_t *entity, int mode, signed long long offset) in sh_file_seek()
107 static int sh_file_len(io_entity_t *entity, size_t *length) in sh_file_len()
127 static int sh_file_read(io_entity_t *entity, uintptr_t buffer, size_t length, in sh_file_read()
[all …]
Dio_memmap.c43 io_entity_t *entity);
44 static int memmap_block_seek(io_entity_t *entity, int mode,
46 static int memmap_block_len(io_entity_t *entity, size_t *length);
47 static int memmap_block_read(io_entity_t *entity, uintptr_t buffer,
49 static int memmap_block_write(io_entity_t *entity, const uintptr_t buffer,
51 static int memmap_block_close(io_entity_t *entity);
102 io_entity_t *entity) in memmap_block_open()
131 static int memmap_block_seek(io_entity_t *entity, int mode, in memmap_block_seek()
157 static int memmap_block_len(io_entity_t *entity, size_t *length) in memmap_block_len()
169 static int memmap_block_read(io_entity_t *entity, uintptr_t buffer, in memmap_block_read()
[all …]
Dio_dummy.c31 io_entity_t *entity);
32 static int dummy_block_len(io_entity_t *entity, size_t *length);
33 static int dummy_block_read(io_entity_t *entity, uintptr_t buffer,
35 static int dummy_block_close(io_entity_t *entity);
83 io_entity_t *entity) in dummy_block_open()
106 static int dummy_block_len(io_entity_t *entity, size_t *length) in dummy_block_len()
118 static int dummy_block_read(io_entity_t *entity, uintptr_t buffer, in dummy_block_read()
130 static int dummy_block_close(io_entity_t *entity) in dummy_block_close()
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()
128 static int enc_file_len(io_entity_t *entity, size_t *length) in enc_file_len()
153 static int enc_file_read(io_entity_t *entity, uintptr_t buffer, size_t length, in enc_file_read()
220 static int enc_file_close(io_entity_t *entity) in enc_file_close()
Dio_mtd.c28 io_entity_t *entity);
29 static int mtd_seek(io_entity_t *entity, int mode, signed long long offset);
30 static int mtd_read(io_entity_t *entity, uintptr_t buffer, size_t length,
32 static int mtd_close(io_entity_t *entity);
114 io_entity_t *entity) in mtd_open()
128 static int mtd_seek(io_entity_t *entity, int mode, signed long long offset) in mtd_seek()
162 static int mtd_read(io_entity_t *entity, uintptr_t buffer, size_t length, in mtd_read()
193 static int mtd_close(io_entity_t *entity) in mtd_close()
Dio_block.c31 io_entity_t *entity);
32 static int block_seek(io_entity_t *entity, int mode, signed long long offset);
33 static int block_read(io_entity_t *entity, uintptr_t buffer, size_t length,
35 static int block_write(io_entity_t *entity, const uintptr_t buffer,
37 static int block_close(io_entity_t *entity);
128 io_entity_t *entity) in block_open()
151 static int block_seek(io_entity_t *entity, int mode, signed long long offset) in block_seek()
244 static int block_read(io_entity_t *entity, uintptr_t buffer, size_t length, in block_read()
356 static int block_write(io_entity_t *entity, const uintptr_t buffer, in block_write()
494 static int block_close(io_entity_t *entity) in block_close()
Dio_fip.c72 io_entity_t *entity);
73 static int fip_file_len(io_entity_t *entity, size_t *length);
74 static int fip_file_read(io_entity_t *entity, uintptr_t buffer, size_t length,
76 static int fip_file_close(io_entity_t *entity);
285 io_entity_t *entity) in fip_file_open()
367 static int fip_file_len(io_entity_t *entity, size_t *length) in fip_file_len()
379 static int fip_file_read(io_entity_t *entity, uintptr_t buffer, size_t length, in fip_file_read()
435 static int fip_file_close(io_entity_t *entity) in fip_file_close()
/external/arm-trusted-firmware/drivers/intel/soc/stratix10/io/
Ds10_memmap_qspi.c45 io_entity_t *entity);
46 static int memmap_block_seek(io_entity_t *entity, int mode,
48 static int memmap_block_len(io_entity_t *entity, size_t *length);
49 static int memmap_block_read(io_entity_t *entity, uintptr_t buffer,
51 static int memmap_block_write(io_entity_t *entity, const uintptr_t buffer,
53 static int memmap_block_close(io_entity_t *entity);
105 io_entity_t *entity) in memmap_block_open()
134 static int memmap_block_seek(io_entity_t *entity, int mode, in memmap_block_seek()
160 static int memmap_block_len(io_entity_t *entity, size_t *length) in memmap_block_len()
172 static int memmap_block_read(io_entity_t *entity, uintptr_t buffer, in memmap_block_read()
[all …]
/external/arm-trusted-firmware/include/drivers/io/
Dio_driver.h19 } io_entity_t; typedef
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);
/external/arm-trusted-firmware/drivers/st/io/
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);
82 io_entity_t *entity) in mmc_block_open()
89 static int mmc_block_seek(io_entity_t *entity, int mode, in mmc_block_seek()
97 static int mmc_block_read(io_entity_t *entity, uintptr_t buffer, in mmc_block_read()
118 static int mmc_block_close(io_entity_t *entity) in mmc_block_close()
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()
165 static int stm32image_partition_size(io_entity_t *entity, size_t *length) in stm32image_partition_size()
246 static int stm32image_partition_read(io_entity_t *entity, uintptr_t buffer, in stm32image_partition_read()
358 static int stm32image_partition_close(io_entity_t *entity) in stm32image_partition_close()
/external/arm-trusted-firmware/drivers/renesas/common/io/
Dio_memdrv.c43 io_entity_t *entity) in memdrv_block_open()
66 static int32_t memdrv_block_seek(io_entity_t *entity, int32_t mode, in memdrv_block_seek()
78 static int32_t memdrv_block_read(io_entity_t *entity, uintptr_t buffer, in memdrv_block_read()
101 static int32_t memdrv_block_close(io_entity_t *entity) in memdrv_block_close()
Dio_emmcdrv.c41 static int32_t emmcdrv_block_seek(io_entity_t *entity, int32_t mode, in emmcdrv_block_seek()
53 static int32_t emmcdrv_block_read(io_entity_t *entity, uintptr_t buffer, in emmcdrv_block_read()
84 const uintptr_t spec, io_entity_t *entity) in emmcdrv_block_open()
127 static int32_t emmcdrv_block_close(io_entity_t *entity) in emmcdrv_block_close()
Dio_rcar.c470 io_entity_t *entity) in rcar_file_open()
527 static int32_t rcar_file_len(io_entity_t *entity, size_t *length) in rcar_file_len()
536 static int32_t rcar_file_read(io_entity_t *entity, uintptr_t buffer, in rcar_file_read()
596 static int32_t rcar_file_close(io_entity_t *entity) in rcar_file_close()
/external/arm-trusted-firmware/docs/resources/diagrams/plantuml/
Dio_arm_class_diagram.puml83 io_entity_t