Home
last modified time | relevance | path

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

/device/linaro/bootloader/arm-trusted-firmware/drivers/io/
Dio_storage.c49 static const io_dev_info_t *devices[MAX_IO_DEVICES];
68 const io_dev_info_t *dev = (io_dev_info_t *)dev_handle; in is_valid_dev()
97 io_dev_info_t **dev_info) in dev_open()
170 int io_register_device(const io_dev_info_t *dev_info) in io_register_device()
194 result = dev_open(dev_con, dev_spec, (io_dev_info_t **)handle); in io_dev_open()
207 io_dev_info_t *dev = (io_dev_info_t *)dev_handle; in io_dev_init()
228 io_dev_info_t *dev = (io_dev_info_t *)dev_handle; in io_dev_close()
251 io_dev_info_t *dev = (io_dev_info_t *)dev_handle; in io_open()
278 io_dev_info_t *dev = entity->dev_handle; in io_seek()
297 io_dev_info_t *dev = entity->dev_handle; in io_size()
[all …]
Dio_block.c67 static int block_open(io_dev_info_t *dev_info, const uintptr_t spec,
76 static int blk_dev_init(io_dev_info_t *dev_info,
78 static int blk_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info);
79 static int blk_dev_close(io_dev_info_t *dev_info);
105 static const io_dev_info_t blk_dev_info = {
112 io_dev_info_t **dev_info) in blk_dev_open()
117 *dev_info = (io_dev_info_t *)&blk_dev_info; /* cast away const */ in blk_dev_open()
131 static int blk_dev_close(io_dev_info_t *dev_info) in blk_dev_close()
141 static int block_open(io_dev_info_t *dev_info, const uintptr_t spec, in block_open()
267 static int blk_dev_init(io_dev_info_t *dev_info, const uintptr_t init_params) in blk_dev_init()
Dio_memmap.c59 static int memmap_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info);
60 static int memmap_block_open(io_dev_info_t *dev_info, const uintptr_t spec,
69 static int memmap_dev_close(io_dev_info_t *dev_info);
91 static const io_dev_info_t memmap_dev_info = {
99 io_dev_info_t **dev_info) in memmap_dev_open()
102 *dev_info = (io_dev_info_t *)&memmap_dev_info; /* cast away const */ in memmap_dev_open()
110 static int memmap_dev_close(io_dev_info_t *dev_info) in memmap_dev_close()
120 static int memmap_block_open(io_dev_info_t *dev_info, const uintptr_t spec, in memmap_block_open()
Dio_fip.c105 static int fip_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info);
106 static int fip_file_open(io_dev_info_t *dev_info, const uintptr_t spec,
112 static int fip_dev_init(io_dev_info_t *dev_info, const uintptr_t init_params);
113 static int fip_dev_close(io_dev_info_t *dev_info);
183 static const io_dev_info_t fip_dev_info = {
191 io_dev_info_t **dev_info) in fip_dev_open()
194 *dev_info = (io_dev_info_t *)&fip_dev_info; /* cast away const */ in fip_dev_open()
201 static int fip_dev_init(io_dev_info_t *dev_info, const uintptr_t init_params) in fip_dev_init()
246 static int fip_dev_close(io_dev_info_t *dev_info) in fip_dev_close()
259 static int fip_file_open(io_dev_info_t *dev_info, const uintptr_t spec, in fip_file_open()
Dio_semihosting.c47 static int sh_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info);
48 static int sh_file_open(io_dev_info_t *dev_info, const uintptr_t spec,
77 static const io_dev_info_t sh_dev_info = {
85 io_dev_info_t **dev_info) in sh_dev_open()
89 *dev_info = (io_dev_info_t *)&sh_dev_info; /* cast away const */ in sh_dev_open()
95 static int sh_file_open(io_dev_info_t *dev_info __attribute__((unused)), in sh_file_open()
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/io/
Dio_driver.h51 } io_dev_info_t; typedef
57 int (*dev_open)(const uintptr_t dev_spec, io_dev_info_t **dev_info);
64 int (*open)(io_dev_info_t *dev_info, const uintptr_t spec,
73 int (*dev_init)(io_dev_info_t *dev_info, const uintptr_t init_params);
74 int (*dev_close)(io_dev_info_t *dev_info);
81 int io_register_device(const io_dev_info_t *dev_info);