Home
last modified time | relevance | path

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

/arm-trusted-firmware-2.8.0/drivers/mtd/nand/
A 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()
/arm-trusted-firmware-2.8.0/drivers/partition/
A Dpartition.c51 size_t bytes_read; in load_mbr_header() local
63 PLAT_PARTITION_BLOCK_SIZE, &bytes_read); in load_mbr_header()
86 size_t bytes_read; in load_gpt_header() local
95 sizeof(gpt_header_t), &bytes_read); in load_gpt_header()
96 if ((result != 0) || (sizeof(gpt_header_t) != bytes_read)) { in load_gpt_header()
132 size_t bytes_read; in load_mbr_entry() local
144 PLAT_PARTITION_BLOCK_SIZE, &bytes_read); in load_mbr_entry()
182 size_t bytes_read; in load_gpt_entry() local
187 &bytes_read); in load_gpt_entry()
188 if (sizeof(gpt_entry_t) != bytes_read) in load_gpt_entry()
/arm-trusted-firmware-2.8.0/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()
/arm-trusted-firmware-2.8.0/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()
/arm-trusted-firmware-2.8.0/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()
/arm-trusted-firmware-2.8.0/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()
/arm-trusted-firmware-2.8.0/docs/resources/diagrams/plantuml/
A Dio_framework_usage_overview.puml41 bl_common -> io_storage : io_read(image_handle, image_base, image_size, &bytes_read)
/arm-trusted-firmware-2.8.0/plat/st/common/
A Dbl2_io_storage.c164 size_t bytes_read; in get_boot_part_fip_header() local
172 &bytes_read); in get_boot_part_fip_header()
173 if ((io_result != 0) || (bytes_read != sizeof(magic))) { in get_boot_part_fip_header()

Completed in 14 milliseconds