Home
last modified time | relevance | path

Searched refs:_fa_p (Results 1 – 4 of 4) sorted by relevance

/mcuboot-latest/samples/runtime-source/zephyr/hooks/
Dhooks.c38 const struct flash_area *_fa_p; in boot_go_hook() local
61 rc = flash_area_open(known_ids[current_id], &_fa_p); in boot_go_hook()
66 rc = boot_image_load_header(_fa_p, &_hdr); in boot_go_hook()
68 flash_area_close(_fa_p); in boot_go_hook()
77 flash_area_close(_fa_p); in boot_go_hook()
82 FIH_CALL(bootutil_img_validate, fih_rc, NULL, &_hdr, _fa_p, tmpbuf, in boot_go_hook()
85 flash_area_close(_fa_p); in boot_go_hook()
92 rsp->br_flash_dev_id = flash_area_get_device_id(_fa_p); in boot_go_hook()
93 rsp->br_image_off = flash_area_get_off(_fa_p); in boot_go_hook()
96 flash_area_close(_fa_p); in boot_go_hook()
/mcuboot-latest/boot/zephyr/
Dsingle_loader.c22 static const struct flash_area *_fa_p; variable
115 rc = flash_area_open(FLASH_AREA_IMAGE_PRIMARY(0), &_fa_p); in boot_go()
118 rc = boot_image_load_header(_fa_p, &_hdr); in boot_go()
132 FIH_CALL(boot_image_validate, fih_rc, _fa_p, &_hdr); in boot_go()
140 FIH_CALL(boot_image_validate_once, fih_rc, _fa_p, &_hdr); in boot_go()
152 rc = boot_save_boot_status(0, &_hdr, _fa_p); in boot_go()
160 rc = boot_save_shared_data(&_hdr, _fa_p, 0, NULL); in boot_go()
167 rsp->br_flash_dev_id = flash_area_get_device_id(_fa_p); in boot_go()
168 rsp->br_image_off = flash_area_get_off(_fa_p); in boot_go()
172 flash_area_close(_fa_p); in boot_go()
Dfirmware_loader.c24 static const struct flash_area *_fa_p; variable
111 rc = flash_area_open(slot, &_fa_p); in validate_image_slot()
114 rc = boot_image_load_header(_fa_p, &_hdr); in validate_image_slot()
120 FIH_CALL(boot_image_validate, fih_rc, _fa_p, &_hdr); in validate_image_slot()
125 FIH_CALL(boot_image_validate_once, fih_rc, _fa_p, &_hdr); in validate_image_slot()
133 rsp->br_flash_dev_id = flash_area_get_device_id(_fa_p); in validate_image_slot()
134 rsp->br_image_off = flash_area_get_off(_fa_p); in validate_image_slot()
138 flash_area_close(_fa_p); in validate_image_slot()
/mcuboot-latest/boot/mynewt/src/
Dsingle_loader.c20 static const struct flash_area *_fa_p; variable
107 rc = flash_area_open(FLASH_AREA_IMAGE_PRIMARY(0), &_fa_p); in boot_go()
110 rc = boot_image_load_header(_fa_p, &_hdr); in boot_go()
115 FIH_CALL(boot_image_validate, fih_rc, _fa_p, &_hdr); in boot_go()
120 FIH_CALL(boot_image_validate_once, fih_rc, _fa_p, &_hdr); in boot_go()
128 rsp->br_flash_dev_id = flash_area_get_device_id(_fa_p); in boot_go()
129 rsp->br_image_off = flash_area_get_off(_fa_p); in boot_go()
133 flash_area_close(_fa_p); in boot_go()