Home
last modified time | relevance | path

Searched refs:io_dev_info_t (Results 1 – 18 of 18) sorted by relevance

/trusted-firmware-a/drivers/st/io/
A Dio_mmc.c19 static int mmc_dev_open(const uintptr_t init_params, io_dev_info_t **dev_info);
20 static int mmc_block_open(io_dev_info_t *dev_info, const uintptr_t spec,
22 static int mmc_dev_init(io_dev_info_t *dev_info, const uintptr_t init_params);
28 static int mmc_dev_close(io_dev_info_t *dev_info);
50 static const io_dev_info_t mmc_dev_info = {
62 static int mmc_dev_open(const uintptr_t init_params, io_dev_info_t **dev_info) in mmc_dev_open()
68 *dev_info = (io_dev_info_t *)&mmc_dev_info; in mmc_dev_open()
76 static int mmc_dev_init(io_dev_info_t *dev_info, const uintptr_t init_params) in mmc_dev_init()
82 static int mmc_dev_close(io_dev_info_t *dev_info) in mmc_dev_close()
88 static int mmc_block_open(io_dev_info_t *dev_info, const uintptr_t spec, in mmc_block_open()
A Dio_stm32image.c29 io_dev_info_t **dev_info);
30 static int stm32image_partition_open(io_dev_info_t *dev_info,
36 static int stm32image_dev_init(io_dev_info_t *dev_info,
38 static int stm32image_dev_close(io_dev_info_t *dev_info);
60 static io_dev_info_t stm32image_dev_info = {
82 io_dev_info_t **dev_info) in stm32image_dev_open()
89 *dev_info = (io_dev_info_t *)&stm32image_dev_info; in stm32image_dev_open()
109 static int stm32image_dev_init(io_dev_info_t *dev_info, in stm32image_dev_init()
131 static int stm32image_dev_close(io_dev_info_t *dev_info) in stm32image_dev_close()
141 static int stm32image_partition_open(io_dev_info_t *dev_info, in stm32image_partition_open()
/trusted-firmware-a/drivers/io/
A Dio_storage.c26 static const io_dev_info_t *devices[MAX_IO_DEVICES];
43 const io_dev_info_t *dev = (io_dev_info_t *)dev_handle; in is_valid_dev()
74 io_dev_info_t **dev_info) in io_storage_dev_open()
177 io_dev_info_t *dev = (io_dev_info_t *)dev_handle; in io_dev_init()
194 io_dev_info_t *dev = (io_dev_info_t *)dev_handle; in io_dev_close()
215 io_dev_info_t *dev = (io_dev_info_t *)dev_handle; in io_open()
242 io_dev_info_t *dev = entity->dev_handle; in io_seek()
259 io_dev_info_t *dev = entity->dev_handle; in io_size()
279 io_dev_info_t *dev = entity->dev_handle; in io_read()
299 io_dev_info_t *dev = entity->dev_handle; in io_write()
[all …]
A Dio_dummy.c29 static int dummy_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info);
30 static int dummy_block_open(io_dev_info_t *dev_info, const uintptr_t spec,
36 static int dummy_dev_close(io_dev_info_t *dev_info);
57 static const io_dev_info_t dummy_dev_info = {
65 io_dev_info_t **dev_info) in dummy_dev_open()
68 *dev_info = (io_dev_info_t *)&dummy_dev_info; in dummy_dev_open()
75 static int dummy_dev_close(io_dev_info_t *dev_info) in dummy_dev_close()
82 static int dummy_block_open(io_dev_info_t *dev_info, const uintptr_t spec, in dummy_block_open()
A Dio_encrypted.c31 static io_dev_info_t enc_dev_info;
34 static int enc_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info);
35 static int enc_file_open(io_dev_info_t *dev_info, const uintptr_t spec,
41 static int enc_dev_init(io_dev_info_t *dev_info, const uintptr_t init_params);
42 static int enc_dev_close(io_dev_info_t *dev_info);
73 static int enc_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info) in enc_dev_open()
83 static int enc_dev_init(io_dev_info_t *dev_info, const uintptr_t init_params) in enc_dev_init()
100 static int enc_dev_close(io_dev_info_t *dev_info) in enc_dev_close()
108 static int enc_file_open(io_dev_info_t *dev_info, const uintptr_t spec, in enc_file_open()
A Dio_mtd.c28 static int mtd_open(io_dev_info_t *dev_info, const uintptr_t spec,
34 static int mtd_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info);
35 static int mtd_dev_close(io_dev_info_t *dev_info);
51 static io_dev_info_t dev_info_pool[MAX_IO_MTD_DEVICES];
78 static int allocate_dev_info(io_dev_info_t **dev_info) in allocate_dev_info()
96 static int free_dev_info(io_dev_info_t *dev_info) in free_dev_info()
109 zeromem(dev_info, sizeof(io_dev_info_t)); in free_dev_info()
132 static int mtd_open(io_dev_info_t *dev_info, const uintptr_t spec, in mtd_open()
242 static int mtd_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info) in mtd_dev_open()
245 io_dev_info_t *info; in mtd_dev_open()
[all …]
A Dio_fip.c64 static io_dev_info_t dev_info_pool[MAX_FIP_DEVICES];
70 static int fip_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info);
71 static int fip_file_open(io_dev_info_t *dev_info, const uintptr_t spec,
77 static int fip_dev_init(io_dev_info_t *dev_info, const uintptr_t init_params);
78 static int fip_dev_close(io_dev_info_t *dev_info);
142 static int allocate_dev_info(io_dev_info_t **dev_info) in allocate_dev_info()
165 static int free_dev_info(io_dev_info_t *dev_info) in free_dev_info()
190 io_dev_info_t **dev_info) in fip_dev_open()
193 io_dev_info_t *info; in fip_dev_open()
271 static int fip_dev_close(io_dev_info_t *dev_info) in fip_dev_close()
[all …]
A Dio_memmap.c41 static int memmap_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info);
42 static int memmap_block_open(io_dev_info_t *dev_info, const uintptr_t spec,
52 static int memmap_dev_close(io_dev_info_t *dev_info);
74 static io_dev_info_t memmap_dev_info = {
82 io_dev_info_t **dev_info) in memmap_dev_open()
92 static int memmap_dev_close(io_dev_info_t *dev_info) in memmap_dev_close()
101 static int memmap_block_open(io_dev_info_t *dev_info, const uintptr_t spec, in memmap_block_open()
A Dio_block.c30 static int block_open(io_dev_info_t *dev_info, const uintptr_t spec,
38 static int block_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info);
39 static int block_dev_close(io_dev_info_t *dev_info);
58 static io_dev_info_t dev_info_pool[MAX_IO_BLOCK_DEVICES];
87 static int allocate_dev_info(io_dev_info_t **dev_info) in allocate_dev_info()
108 static int free_dev_info(io_dev_info_t *dev_info) in free_dev_info()
120 zeromem(dev_info, sizeof(io_dev_info_t)); in free_dev_info()
127 static int block_open(io_dev_info_t *dev_info, const uintptr_t spec, in block_open()
500 static int block_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info) in block_dev_open()
504 io_dev_info_t *info; in block_dev_open()
[all …]
A Dio_semihosting.c25 static int sh_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info);
26 static int sh_file_open(io_dev_info_t *dev_info, const uintptr_t spec,
54 static io_dev_info_t sh_dev_info = {
62 io_dev_info_t **dev_info) in sh_dev_open()
71 static int sh_file_open(io_dev_info_t *dev_info __unused, in sh_file_open()
/trusted-firmware-a/include/drivers/io/
A Dio_driver.h27 } io_dev_info_t; typedef
33 int (*dev_open)(const uintptr_t dev_spec, io_dev_info_t **dev_info);
40 int (*open)(io_dev_info_t *dev_info, const uintptr_t spec,
49 int (*dev_init)(io_dev_info_t *dev_info, const uintptr_t init_params);
50 int (*dev_close)(io_dev_info_t *dev_info);
57 int io_register_device(const io_dev_info_t *dev_info);
A Dio_fip.h13 int fip_dev_get_plat_toc_flag(io_dev_info_t *dev_info, uint16_t *plat_toc_flag);
/trusted-firmware-a/drivers/renesas/common/io/
A Dio_memdrv.c21 io_dev_info_t **dev_info);
22 static int32_t memdrv_dev_close(io_dev_info_t *dev_info);
42 static int32_t memdrv_block_open(io_dev_info_t *dev_info, const uintptr_t spec, in memdrv_block_open()
122 static const io_dev_info_t memdrv_dev_info = {
132 io_dev_info_t **dev_info) in memdrv_dev_open()
134 *dev_info = (io_dev_info_t *) &memdrv_dev_info; in memdrv_dev_open()
139 static int32_t memdrv_dev_close(io_dev_info_t *dev_info) in memdrv_dev_close()
A Dio_emmcdrv.c22 io_dev_info_t **dev_info);
23 static int32_t emmcdrv_dev_close(io_dev_info_t *dev_info);
83 static int32_t emmcdrv_block_open(io_dev_info_t *dev_info, in emmcdrv_block_open()
147 static const io_dev_info_t emmcdrv_dev_info = {
157 io_dev_info_t **dev_info) in emmcdrv_dev_open()
159 *dev_info = (io_dev_info_t *) &emmcdrv_dev_info; in emmcdrv_dev_open()
164 static int32_t emmcdrv_dev_close(io_dev_info_t *dev_info) in emmcdrv_dev_close()
A Dio_rcar.c31 io_dev_info_t **dev_info);
32 static int32_t rcar_dev_close(io_dev_info_t *dev_info);
381 static int32_t rcar_dev_init(io_dev_info_t *dev_info, const uintptr_t name) in rcar_dev_init()
480 static int32_t rcar_file_open(io_dev_info_t *info, const uintptr_t file_spec, in rcar_file_open()
630 static const io_dev_info_t rcar_dev_info = {
640 io_dev_info_t **dev_info) in rcar_dev_open()
642 *dev_info = (io_dev_info_t *) &rcar_dev_info; in rcar_dev_open()
647 static int32_t rcar_dev_close(io_dev_info_t *dev_info) in rcar_dev_close()
/trusted-firmware-a/drivers/intel/soc/stratix10/io/
A Ds10_memmap_qspi.c43 static int memmap_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info);
44 static int memmap_block_open(io_dev_info_t *dev_info, const uintptr_t spec,
54 static int memmap_dev_close(io_dev_info_t *dev_info);
76 static const io_dev_info_t memmap_dev_info = {
84 io_dev_info_t **dev_info) in memmap_dev_open()
87 *dev_info = (io_dev_info_t *)&memmap_dev_info; /* cast away const */ in memmap_dev_open()
95 static int memmap_dev_close(io_dev_info_t *dev_info) in memmap_dev_close()
104 static int memmap_block_open(io_dev_info_t *dev_info, const uintptr_t spec, in memmap_block_open()
/trusted-firmware-a/docs/resources/diagrams/plantuml/
A Dio_arm_class_diagram.puml84 io_dev_info_t
/trusted-firmware-a/plat/brcm/common/
A Dbrcm_io_storage.c401 fip_dev_get_plat_toc_flag((io_dev_info_t *)fip_dev_handle, in plat_get_image_source()

Completed in 27 milliseconds