Home
last modified time | relevance | path

Searched refs:current_file (Results 1 – 5 of 5) sorted by relevance

/trusted-firmware-a/drivers/renesas/common/io/
A Dio_emmcdrv.c32 static file_state_t current_file = { 0 }; variable
60 sector_add = current_file.file_pos >> EMMC_SECTOR_SIZE_SHIFT; in emmcdrv_block_read()
65 current_file.partition, current_file.file_pos, in emmcdrv_block_read()
88 if (current_file.in_use != 0U) { in emmcdrv_block_open()
93 current_file.file_pos = 0; in emmcdrv_block_open()
94 current_file.in_use = 1; in emmcdrv_block_open()
100 current_file.partition = emmcdrv_bootpartition; in emmcdrv_block_open()
112 current_file.partition = block_spec->partition; in emmcdrv_block_open()
114 current_file.partition = emmcdrv_bootpartition; in emmcdrv_block_open()
122 entity->info = (uintptr_t) &current_file; in emmcdrv_block_open()
[all …]
A Dio_memdrv.c35 static file_state_t current_file = { 0 }; variable
52 if (current_file.in_use != 0U) { in memdrv_block_open()
57 current_file.base = block_spec->offset; in memdrv_block_open()
58 current_file.file_pos = 0; in memdrv_block_open()
59 current_file.in_use = 1; in memdrv_block_open()
61 entity->info = (uintptr_t) &current_file; in memdrv_block_open()
105 memset((void *)&current_file, 0, sizeof(current_file)); in memdrv_block_close()
A Dio_rcar.c507 current_file.offset = 1; in rcar_file_open()
508 current_file.dst = 0; in rcar_file_open()
509 current_file.size = 1; in rcar_file_open()
510 current_file.position = 0; in rcar_file_open()
512 current_file.partition = 0; in rcar_file_open()
528 current_file.no_load = noload; in rcar_file_open()
529 current_file.offset = offset; in rcar_file_open()
530 current_file.position = 0; in rcar_file_open()
531 current_file.size = len; in rcar_file_open()
532 current_file.dst = dst; in rcar_file_open()
[all …]
/trusted-firmware-a/drivers/intel/soc/stratix10/io/
A Ds10_memmap_qspi.c34 static file_state_t current_file = {0}; variable
114 if (current_file.in_use == 0) { in memmap_block_open()
118 current_file.in_use = 1; in memmap_block_open()
119 current_file.base = block_spec->offset; in memmap_block_open()
121 current_file.file_pos = 0; in memmap_block_open()
122 current_file.size = block_spec->length; in memmap_block_open()
123 entity->info = (uintptr_t)&current_file; in memmap_block_open()
233 zeromem((void *)&current_file, sizeof(current_file)); in memmap_block_close()
/trusted-firmware-a/drivers/io/
A Dio_dummy.c20 static struct file_state current_file = {0}; variable
88 if (current_file.in_use == 0) { in dummy_block_open()
92 current_file.in_use = 1; in dummy_block_open()
93 current_file.size = block_spec->length; in dummy_block_open()
94 entity->info = (uintptr_t)&current_file; in dummy_block_open()
135 current_file.in_use = 0; in dummy_block_close()

Completed in 8 milliseconds