Home
last modified time | relevance | path

Searched refs:flash_area_read (Results 1 – 25 of 29) sorted by relevance

12

/mcuboot-latest/boot/bootutil/src/
Dbootutil_misc.c236 if (flash_area_read(*fap, boot_magic_off(*fap), magic, BOOT_MAGIC_SZ)) { in boot_find_status()
260 rc = flash_area_read(fap, off, swap_size, sizeof *swap_size); in boot_read_swap_size()
277 rc = flash_area_read(fap, off, bs->enctlv[slot], BOOT_ENC_TLV_ALIGN_SIZE); in boot_read_enc_key()
290 rc = flash_area_read(fap, off, bs->enckey[slot], BOOT_ENC_KEY_ALIGN_SIZE); in boot_read_enc_key()
390 if (flash_area_read(fap, off, &info, sizeof(info))) { in boot_read_image_size()
402 if (flash_area_read(fap, off + info.it_tlv_tot, &info, sizeof(info))) { in boot_read_image_size()
Dboot_record.c170 rc = flash_area_read(fap, offset, buf, len); in boot_save_boot_status()
183 rc = flash_area_read(fap, offset, image_hash, len); in boot_save_boot_status()
Dbootutil_public.c222 rc = flash_area_read(fap, off, flag, sizeof *flag); in boot_read_flag()
252 rc = flash_area_read(fap, off, magic, BOOT_MAGIC_SZ); in boot_read_swap_state()
263 rc = flash_area_read(fap, off, &swap_info, sizeof swap_info); in boot_read_swap_state()
764 int rc = flash_area_read(fa_p, 0, hdr, sizeof *hdr); in boot_image_load_header()
Dswap_offset.c186 rc = flash_area_read(fap, off, out_hdr, sizeof *out_hdr);
200 rc = flash_area_read(fap, off, out_hdr, sizeof(*out_hdr));
257 rc = flash_area_read(fap, off + (i - 1) * write_sz, &status, 1);
786 if (flash_area_read(fap, (off + secondary_slot_off), &info, sizeof(info))) {
798 if (flash_area_read(fap, (off + secondary_slot_off + info.it_tlv_tot),
Dram_load.c151 rc = flash_area_read(fap_src, 0, ram_dst, src_sz); in boot_decrypt_and_copy_image_to_sram()
228 rc = flash_area_read(fap_src, 0, (void *)(IMAGE_RAM_BASE + img_dst), img_sz); in boot_copy_image_to_sram()
Dswap_misc.c167 rc = flash_area_read(fap, off, &swap_info, sizeof swap_info); in swap_read_status()
Dswap_move.c125 rc = flash_area_read(fap, off, out_hdr, sizeof *out_hdr); in boot_read_image_header()
171 rc = flash_area_read(fap, off + (i - 1) * write_sz, &status, 1); in swap_read_status_bytes()
Dimage_validate.c184 rc = flash_area_read(fap, off + sector_off, tmp_buf, blk_sz); in bootutil_img_hash()
186 rc = flash_area_read(fap, off, tmp_buf, blk_sz); in bootutil_img_hash()
Dswap_scratch.c79 rc = flash_area_read(fap, off + i * BOOT_WRITE_SZ(state), in swap_read_status_bytes()
966 rc = flash_area_read(fap, 0, out_hdr, sizeof *out_hdr); in boot_read_image_header()
Dbootutil_priv.h510 (flash_area_read((fap), (start), (output), (size)))
/mcuboot-latest/boot/boot_serial/test/src/testcases/
Dboot_serial_img_msg.c67 rc = flash_area_read(fap, 0, enc_img, sizeof(img)); in TEST_CASE()
Dboot_serial_upload_bigger_image.c113 rc = flash_area_read(fap, off, enc_img, sizeof(enc_img)); in TEST_CASE()
/mcuboot-latest/sim/mcuboot-sys/csupport/storage/
Dflash_map.h117 int flash_area_read(const struct flash_area *, uint32_t off, void *dst,
/mcuboot-latest/boot/boot_serial/src/
Dboot_serial_encryption.c82 if (flash_area_read(fa_p, off, &info, sizeof(info))) { in read_image_size()
94 if (flash_area_read(fa_p, off + info.it_tlv_tot, &info, sizeof(info))) { in read_image_size()
154 rc = flash_area_read(fap, off + bytes_copied, buf, chunk_sz); in decrypt_region_inplace()
Dboot_serial.c340 flash_area_read(fap, start_off, &hdr, sizeof(hdr)); in bs_list()
342 flash_area_read(fap, 0, &hdr, sizeof(hdr)); in bs_list()
574 flash_area_read(fap, start_off, &hdr, sizeof(hdr)); in bs_set()
576 flash_area_read(fap, 0, &hdr, sizeof(hdr)); in bs_set()
1641 rc = flash_area_read(fap, offset, hash, len); in boot_serial_get_hash()
/mcuboot-latest/boot/mbed/include/flash_map_backend/
Dflash_map_backend.h137 int flash_area_read(const struct flash_area * fap, uint32_t off, void *dst,
/mcuboot-latest/boot/nuttx/include/flash_map_backend/
Dflash_map_backend.h268 int flash_area_read(const struct flash_area *fa, uint32_t off,
/mcuboot-latest/boot/espressif/include/flash_map_backend/
Dflash_map_backend.h62 int flash_area_read(const struct flash_area *fa, uint32_t off,
/mcuboot-latest/boot/cypress/cy_flash_pal/include/flash_map_backend/
Dflash_map_backend.h162 int flash_area_read(const struct flash_area *, uint32_t off, void *dst,
/mcuboot-latest/boot/zephyr/
Dmain.c169 rc = flash_area_read(fap, rsp->br_hdr->ih_hdr_size, dst, sizeof(dst)); in do_boot()
292 rc = flash_area_read(fap, hdr_offset, dst, fap->fa_size - hdr_offset); in copy_img_to_SRAM()
/mcuboot-latest/boot/espressif/
Dmain.c74 if (flash_area_read(fap, 0, img_header, sizeof(struct image_header))) { in read_image_header()
/mcuboot-latest/boot/cypress/cy_flash_pal/
Dcy_flash_map.c225 int flash_area_read(const struct flash_area *fa, uint32_t off, void *dst, in flash_area_read() function
470 rc = flash_area_read(fa, off, dst, len); in flash_area_read_is_empty()
/mcuboot-latest/boot/mbed/src/
Dflash_map_backend.cpp134 int flash_area_read(const struct flash_area* fap, uint32_t off, void* dst, uint32_t len) { in flash_area_read() function
/mcuboot-latest/boot/espressif/port/
Desp_mcuboot.c198 int flash_area_read(const struct flash_area *fa, uint32_t off, void *dst, in flash_area_read() function
/mcuboot-latest/boot/nuttx/src/flash_map_backend/
Dflash_map_backend.c400 int flash_area_read(const struct flash_area *fa, uint32_t off, in flash_area_read() function

12