Searched refs:fa (Results 1 – 4 of 4) sorted by relevance
/mcuboot-2.7.6/boot/cypress/cy_flash_pal/ |
D | cy_flash_map.c | 199 int flash_area_open(uint8_t id, const struct flash_area **fa) in flash_area_open() argument 208 *fa = boot_area_descs[i]; in flash_area_open() 217 void flash_area_close(const struct flash_area *fa) in flash_area_close() argument 219 (void)fa;/* Nothing to do there */ in flash_area_close() 225 int flash_area_read(const struct flash_area *fa, uint32_t off, void *dst, in flash_area_read() argument 232 assert(off < fa->fa_off); in flash_area_read() 233 assert(off + len < fa->fa_off); in flash_area_read() 235 addr = fa->fa_off + off; in flash_area_read() 237 if (fa->fa_device_id == FLASH_DEVICE_INTERNAL_FLASH) in flash_area_read() 243 else if ((fa->fa_device_id & FLASH_DEVICE_EXTERNAL_FLAG) == FLASH_DEVICE_EXTERNAL_FLAG) in flash_area_read() [all …]
|
/mcuboot-2.7.6/boot/zephyr/ |
D | flash_map_legacy.c | 62 const struct flash_area *fa; in flash_area_get_sectors() local 67 if (flash_area_open(idx, &fa)) { in flash_area_get_sectors() 71 BOOT_LOG_DBG("area %d: offset=0x%x, length=0x%x", idx, fa->fa_off, in flash_area_get_sectors() 72 fa->fa_size); in flash_area_get_sectors() 78 rem_len = fa->fa_size; in flash_area_get_sectors() 83 idx, fa->fa_size, FLASH_AREA_IMAGE_SECTOR_SIZE); in flash_area_get_sectors() 101 flash_area_close(fa); in flash_area_get_sectors()
|
/mcuboot-2.7.6/boot/bootutil/include/bootutil/ |
D | bootutil_public.h | 244 boot_read_swap_state(const struct flash_area *fa,
|
/mcuboot-2.7.6/boot/cypress/cy_flash_pal/include/flash_map_backend/ |
D | flash_map_backend.h | 164 int flash_area_read_is_empty(const struct flash_area *fa, uint32_t off,
|