Home
last modified time | relevance | path

Searched refs:flash_area_get_id (Results 1 – 15 of 15) sorted by relevance

/mcuboot-3.6.0/boot/bootutil/src/
Dbootutil_misc.c156 if (flash_area_get_id(fap) == FLASH_AREA_IMAGE_SCRATCH) { in boot_status_entries()
160 if (flash_area_get_id(fap) == FLASH_AREA_IMAGE_PRIMARY(image_index) || in boot_status_entries()
161 flash_area_get_id(fap) == FLASH_AREA_IMAGE_SECONDARY(image_index)) { in boot_status_entries()
304 flash_area_get_id(fap), (unsigned long)off, in boot_write_swap_size()
319 flash_area_get_id(fap), (unsigned long)off, in boot_write_enc_key()
Dswap_misc.c49 BOOT_LOG_DBG("erasing trailer; fa_id=%d", flash_area_get_id(fap)); in swap_erase_trailer_sectors()
57 if (flash_area_get_id(fap) == fa_id_primary) { in swap_erase_trailer_sectors()
59 } else if (flash_area_get_id(fap) == fa_id_secondary) { in swap_erase_trailer_sectors()
97 BOOT_LOG_DBG("initializing status; fa_id=%d", flash_area_get_id(fap)); in swap_status_init()
Dbootutil_public.c305 flash_area_get_id(fap), (unsigned long)off, in boot_write_magic()
363 flash_area_get_id(fap), (unsigned long)off, in boot_write_image_ok()
390 flash_area_get_id(fap), (unsigned long)off, in boot_write_swap_info()
468 flash_area_get_id(fap), (unsigned long)off, in boot_write_copy_done()
479 int id = flash_area_get_id(fa); in flash_area_to_image()
Dencrypted.c622 rc = flash_area_id_to_multi_image_slot(image_index, flash_area_get_id(fap)); in boot_enc_load()
669 rc = flash_area_id_to_multi_image_slot(image_index, flash_area_get_id(fap)); in boot_enc_valid()
701 rc = flash_area_id_to_multi_image_slot(image_index, flash_area_get_id(fap)); in boot_encrypt()
Dloader.c474 flash_area_get_id(fap), (unsigned long)off, in boot_write_status()
1017 if ((flash_area_get_id(fap_src) == FLASH_AREA_IMAGE_SECONDARY(image_index) || in boot_copy_region()
1018 flash_area_get_id(fap_dst) == FLASH_AREA_IMAGE_SECONDARY(image_index)) && in boot_copy_region()
1019 !(flash_area_get_id(fap_src) == FLASH_AREA_IMAGE_SECONDARY(image_index) && in boot_copy_region()
1020 flash_area_get_id(fap_dst) == FLASH_AREA_IMAGE_SECONDARY(image_index))) { in boot_copy_region()
1025 if (flash_area_get_id(fap_dst) == FLASH_AREA_IMAGE_SECONDARY(image_index)) { in boot_copy_region()
1032 if (flash_area_get_id(fap_dst) == FLASH_AREA_IMAGE_SECONDARY(image_index)) { in boot_copy_region()
/mcuboot-3.6.0/sim/mcuboot-sys/csupport/flash_map_backend/
Dflash_map_backend.h33 static inline uint8_t flash_area_get_id(const struct flash_area *fa) in flash_area_get_id() function
/mcuboot-3.6.0/boot/zephyr/include/flash_map_backend/
Dflash_map_backend.h75 static inline uint8_t flash_area_get_id(const struct flash_area *fa) in flash_area_get_id() function
/mcuboot-3.6.0/boot/mynewt/flash_map_backend/include/flash_map_backend/
Dflash_map_backend.h57 static inline uint8_t flash_area_get_id(const struct flash_area *fa) in flash_area_get_id() function
/mcuboot-3.6.0/boot/mbed/include/flash_map_backend/
Dflash_map_backend.h78 static inline uint8_t flash_area_get_id(const struct flash_area *fa) in flash_area_get_id() function
/mcuboot-3.6.0/boot/nuttx/include/flash_map_backend/
Dflash_map_backend.h85 static inline uint8_t flash_area_get_id(const struct flash_area *fa) in flash_area_get_id() function
/mcuboot-3.6.0/boot/espressif/include/flash_map_backend/
Dflash_map_backend.h42 static inline uint8_t flash_area_get_id(const struct flash_area *fa) in flash_area_get_id() function
/mcuboot-3.6.0/boot/cypress/cy_flash_pal/include/flash_map_backend/
Dflash_map_backend.h95 static inline uint8_t flash_area_get_id(const struct flash_area *fa) in flash_area_get_id() function
/mcuboot-3.6.0/boot/bootutil/include/bootutil/
Dimage.h161 (flash_area_get_id(fap) == FLASH_AREA_IMAGE_SECONDARY(idx) && IS_ENCRYPTED(hdr))
/mcuboot-3.6.0/boot/boot_serial/src/
Dboot_serial_encryption.c43 rc = flash_area_id_to_multi_image_slot(image_index, flash_area_get_id(fa_p)); in boot_image_validate_encrypted()
/mcuboot-3.6.0/docs/
DPORTING.md106 int flash_area_get_id(const struct flash_area *fa);