Home
last modified time | relevance | path

Searched refs:file_pos (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/arm-trusted-firmware/drivers/io/
Dio_block.c53 size_t file_pos; member
159 current_file.file_pos = 0; in block_open()
181 ((file_state_t *)entity->info)->file_pos = offset; in block_seek()
208 result = block_info.ops.read(fp->base + fp->file_pos, length, in block_read()
212 fp->base + fp->file_pos); in block_read()
218 fp->file_pos += length; in block_read()
239 result = block_info.ops.write(fp->base + fp->file_pos, length, in block_write()
243 fp->base + fp->file_pos); in block_write()
249 fp->file_pos += length; in block_write()
Dio_memmap.c47 size_t file_pos; member
137 current_file.file_pos = 0; in memmap_block_open()
159 ((file_state_t *)entity->info)->file_pos = offset; in memmap_block_seek()
181 memcpy((void *)buffer, (void *)(fp->base + fp->file_pos), length); in memmap_block_read()
185 fp->file_pos += length; in memmap_block_read()
203 memcpy((void *)(fp->base + fp->file_pos), (void *)buffer, length); in memmap_block_write()
208 fp->file_pos += length; in memmap_block_write()
Dio_fip.c63 unsigned int file_pos; member
325 current_file.file_pos = 0; in fip_file_open()
380 file_offset = fp->entry.offset_address + fp->file_pos; in fip_file_read()
397 fp->file_pos += bytes_read; in fip_file_read()