Searched refs:io_entity_t (Results 1 – 3 of 3) sorted by relevance
| /trusted-firmware-m-latest/platform/ext/target/arm/corstone1000/io/ |
| D | io_driver.h | 18 } io_entity_t; typedef 37 io_entity_t *entity); 38 int (*seek)(io_entity_t *entity, int mode, size_t offset); 39 int (*size)(io_entity_t *entity, size_t *length); 40 int (*read)(io_entity_t *entity, uintptr_t buffer, size_t length, 42 int (*write)(io_entity_t *entity, const uintptr_t buffer, size_t length, 44 int (*close)(io_entity_t *entity);
|
| D | io_storage.c | 27 static io_entity_t entity_pool[MAX_IO_HANDLES]; 31 static io_entity_t *entity_map[MAX_IO_HANDLES]; 57 const io_entity_t *entity = (io_entity_t *)handle; in is_valid_entity() 78 static void set_handle(uintptr_t *handle, io_entity_t *entity) { in set_handle() 84 static int find_first_entity(const io_entity_t *entity, in find_first_entity() 98 static int allocate_entity(io_entity_t **entity) { in allocate_entity() 115 static int free_entity(const io_entity_t *entity) { in free_entity() 194 io_entity_t *entity; in io_open() 216 io_entity_t *entity = (io_entity_t *)handle; in io_seek() 231 io_entity_t *entity = (io_entity_t *)handle; in io_size() [all …]
|
| D | io_block.c | 40 io_entity_t *entity); 41 static int block_seek(io_entity_t *entity, int mode, size_t offset); 42 static int block_read(io_entity_t *entity, uintptr_t buffer, size_t length, 44 static int block_write(io_entity_t *entity, const uintptr_t buffer, 46 static int block_close(io_entity_t *entity); 129 io_entity_t *entity) { in block_open() 150 static int block_seek(io_entity_t *entity, int mode, size_t offset) { in block_seek() 242 static int block_read(io_entity_t *entity, uintptr_t buffer, size_t length, in block_read() 348 static int block_write(io_entity_t *entity, const uintptr_t buffer, in block_write() 478 static int block_close(io_entity_t *entity) { in block_close()
|