Searched refs:bytes_read (Results 1 – 10 of 10) sorted by relevance
| /rk3399_ARM-atf/drivers/mtd/nand/ |
| H A D | core.c | 45 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()
|
| /rk3399_ARM-atf/drivers/partition/ |
| H A D | partition.c | 51 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() 94 size_t bytes_read; in load_gpt_header() local 105 sizeof(gpt_header_t), &bytes_read); in load_gpt_header() 106 if ((result != 0) || (sizeof(gpt_header_t) != bytes_read)) { in load_gpt_header() 109 sizeof(gpt_header_t), bytes_read); in load_gpt_header() 150 size_t bytes_read; in load_mbr_entry() local 162 PLAT_PARTITION_BLOCK_SIZE, &bytes_read); in load_mbr_entry() 207 size_t bytes_read = 0U; in load_gpt_entry() local [all …]
|
| /rk3399_ARM-atf/drivers/brcm/ |
| H A D | ocotp.c | 153 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()
|
| /rk3399_ARM-atf/drivers/io/ |
| H A D | io_fip.c | 222 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()
|
| H A D | io_encrypted.c | 159 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()
|
| /rk3399_ARM-atf/drivers/fwu/ |
| H A D | fwu.c | 128 size_t bytes_read; in fwu_metadata_load() local 150 sizeof(struct fwu_metadata), &bytes_read); in fwu_metadata_load() 157 if (sizeof(struct fwu_metadata) != bytes_read) { in fwu_metadata_load() 161 bytes_read, sizeof(struct fwu_metadata)); in fwu_metadata_load()
|
| /rk3399_ARM-atf/drivers/cadence/nand/ |
| H A D | cdns_nand.c | 423 uint32_t bytes_read = 0U; in cdns_nand_read() local 449 bytes_read = MIN((size_t)(dev_info.page_size - start_offset), in cdns_nand_read() 453 bytes_read); in cdns_nand_read() 463 bytes_read = dev_info.page_size; in cdns_nand_read() 464 memcpy((uint8_t *)buffer, scratch_buff, bytes_read); in cdns_nand_read() 467 length -= bytes_read; in cdns_nand_read() 468 buffer += bytes_read; in cdns_nand_read() 469 *out_length += bytes_read; in cdns_nand_read()
|
| /rk3399_ARM-atf/common/ |
| H A D | bl_common.c | 80 size_t bytes_read = 0ULL; in load_image() local 135 io_result = io_read(image_handle, image_base, image_size, &bytes_read); in load_image() 136 if ((io_result != 0) || (bytes_read < image_size)) { in load_image()
|
| /rk3399_ARM-atf/docs/resources/diagrams/plantuml/ |
| H A D | io_framework_usage_overview.puml | 41 bl_common -> io_storage : io_read(image_handle, image_base, image_size, &bytes_read)
|
| /rk3399_ARM-atf/plat/st/common/ |
| H A D | bl2_io_storage.c | 163 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()
|