Home
last modified time | relevance | path

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

/trusted-firmware-a/drivers/mtd/nand/
A Dcore.c34 unsigned int bytes_read; in nand_read() local
79 bytes_read = MIN((size_t)(nand_dev.page_size - in nand_read()
85 bytes_read); in nand_read()
96 bytes_read = nand_dev.page_size; in nand_read()
99 length -= bytes_read; in nand_read()
100 buffer += bytes_read; in nand_read()
101 *length_read += bytes_read; in nand_read()
/trusted-firmware-a/drivers/partition/
A Dpartition.c49 size_t bytes_read; in load_mbr_header() local
61 PLAT_PARTITION_BLOCK_SIZE, &bytes_read); in load_mbr_header()
84 size_t bytes_read; in load_gpt_header() local
92 sizeof(gpt_header_t), &bytes_read); in load_gpt_header()
93 if ((result != 0) || (sizeof(gpt_header_t) != bytes_read)) { in load_gpt_header()
112 size_t bytes_read; in load_mbr_entry() local
124 PLAT_PARTITION_BLOCK_SIZE, &bytes_read); in load_mbr_entry()
162 size_t bytes_read; in load_gpt_entry() local
167 &bytes_read); in load_gpt_entry()
168 if (sizeof(gpt_entry_t) != bytes_read) in load_gpt_entry()
/trusted-firmware-a/drivers/fwu/
A 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/drivers/brcm/
A 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/drivers/io/
A 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()
A 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/common/
A 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/docs/resources/diagrams/plantuml/
A Dio_framework_usage_overview.puml41 bl_common -> io_storage : io_read(image_handle, image_base, image_size, &bytes_read)
/trusted-firmware-a/plat/st/common/
A Dbl2_stm32_io_storage.c268 size_t bytes_read; in get_boot_part_ssbl_header() local
284 &bytes_read); in get_boot_part_ssbl_header()
286 assert(bytes_read == sizeof(magic)); in get_boot_part_ssbl_header()
/trusted-firmware-a/drivers/st/io/
A Dio_stm32image.c169 size_t bytes_read; in stm32image_partition_size() local
196 MAX_LBA_SIZE, (size_t *)&bytes_read); in stm32image_partition_size()

Completed in 12 milliseconds