Home
last modified time | relevance | path

Searched refs:bytes_read (Results 1 – 10 of 10) sorted by relevance

/trusted-firmware-a-latest/drivers/mtd/nand/
Dcore.c45 unsigned int bytes_read; in nand_read() local
96 bytes_read = MIN((size_t)(nand_dev.page_size - in nand_read()
102 bytes_read); in nand_read()
113 bytes_read = nand_dev.page_size; in nand_read()
116 length -= bytes_read; in nand_read()
117 buffer += bytes_read; in nand_read()
118 *length_read += bytes_read; in nand_read()
/trusted-firmware-a-latest/drivers/partition/
Dpartition.c51 size_t bytes_read; in load_mbr_header() local
63 PLAT_PARTITION_BLOCK_SIZE, &bytes_read); in load_mbr_header()
64 if ((result != 0) || (bytes_read != PLAT_PARTITION_BLOCK_SIZE)) { in load_mbr_header()
100 size_t bytes_read; in load_gpt_header() local
111 sizeof(gpt_header_t), &bytes_read); in load_gpt_header()
112 if ((result != 0) || (sizeof(gpt_header_t) != bytes_read)) { in load_gpt_header()
115 sizeof(gpt_header_t), bytes_read); in load_gpt_header()
157 size_t bytes_read; in load_mbr_entry() local
169 PLAT_PARTITION_BLOCK_SIZE, &bytes_read); in load_mbr_entry()
214 size_t bytes_read = 0U; in load_gpt_entry() local
[all …]
/trusted-firmware-a-latest/drivers/fwu/
Dfwu.c79 size_t bytes_read; in fwu_metadata_load() local
101 sizeof(struct fwu_metadata), &bytes_read); in fwu_metadata_load()
108 if (sizeof(struct fwu_metadata) != bytes_read) { in fwu_metadata_load()
112 bytes_read, sizeof(struct fwu_metadata)); in fwu_metadata_load()
/trusted-firmware-a-latest/drivers/brcm/
Docotp.c153 uint32_t bytes_read; in bcm_otpc_read() local
164 for (bytes_read = 0; (bytes_read + priv->map->word_size) <= bytes;) { in bcm_otpc_read()
177 bytes_read += sizeof(*buf); in bcm_otpc_read()
183 return bytes_read; in bcm_otpc_read()
/trusted-firmware-a-latest/drivers/io/
Dio_fip.c222 size_t bytes_read; in fip_dev_init() local
249 &bytes_read); in fip_dev_init()
291 size_t bytes_read; in fip_file_open() local
331 &bytes_read); in fip_file_open()
385 size_t bytes_read; in fip_file_read() local
413 result = io_read(backend_handle, buffer, length, &bytes_read); in fip_file_read()
421 *length_read = bytes_read; in fip_file_read()
422 fp->file_pos += bytes_read; in fip_file_read()
Dio_encrypted.c159 size_t bytes_read; in enc_file_read() local
169 &bytes_read); in enc_file_read()
189 result = io_read(backend_handle, buffer, length, &bytes_read); in enc_file_read()
195 *length_read = bytes_read; in enc_file_read()
/trusted-firmware-a-latest/drivers/cadence/nand/
Dcdns_nand.c374 uint32_t bytes_read = 0U; in cdns_nand_read() local
400 bytes_read = MIN((size_t)(dev_info.page_size - start_offset), in cdns_nand_read()
404 bytes_read); in cdns_nand_read()
414 bytes_read = dev_info.page_size; in cdns_nand_read()
415 memcpy((uint8_t *)buffer, scratch_buff, bytes_read); in cdns_nand_read()
418 length -= bytes_read; in cdns_nand_read()
419 buffer += bytes_read; in cdns_nand_read()
420 *out_length += bytes_read; in cdns_nand_read()
/trusted-firmware-a-latest/common/
Dbl_common.c77 size_t bytes_read; in load_image() local
126 io_result = io_read(image_handle, image_base, image_size, &bytes_read); in load_image()
127 if ((io_result != 0) || (bytes_read < image_size)) { in load_image()
/trusted-firmware-a-latest/docs/resources/diagrams/plantuml/
Dio_framework_usage_overview.puml41 bl_common -> io_storage : io_read(image_handle, image_base, image_size, &bytes_read)
/trusted-firmware-a-latest/plat/st/common/
Dbl2_io_storage.c163 size_t bytes_read; in get_boot_part_fip_header() local
171 &bytes_read); in get_boot_part_fip_header()
172 if ((io_result != 0) || (bytes_read != sizeof(magic))) { in get_boot_part_fip_header()