Home
last modified time | relevance | path

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

/trusted-firmware-a-3.6.0-3.5.0/drivers/renesas/common/io/
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()
118 if (emmc_select_partition(current_file.partition) != EMMC_SUCCESS) { in emmcdrv_block_open()
[all …]
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()
Dio_rcar.c122 static file_state_t current_file = { 0 }; variable
495 if (current_file.offset != 0U) { in rcar_file_open()
507 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()
511 current_file.no_load = noload; in rcar_file_open()
512 current_file.partition = 0; in rcar_file_open()
513 entity->info = (uintptr_t) &current_file; in rcar_file_open()
527 current_file.partition = partition; in rcar_file_open()
[all …]
/trusted-firmware-a-3.6.0-3.5.0/drivers/intel/soc/stratix10/io/
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()