Home
last modified time | relevance | path

Searched refs:flash_area_open (Results 1 – 25 of 42) sorted by relevance

12

/Zephyr-latest/subsys/dfu/boot/
Dmcuboot.c104 rc = flash_area_open(area_id, &fa); in boot_read_v1_header()
230 rc = flash_area_open(ACTIVE_SLOT_FLASH_AREA_ID, &fa); in boot_is_img_confirmed()
257 if (flash_area_open(ACTIVE_SLOT_FLASH_AREA_ID, &fa) != 0) { in boot_write_img_confirmed()
285 rc = flash_area_open(area_id, &fa); in boot_erase_img_bank()
308 rc = flash_area_open(area_id, &fa); in boot_get_area_trailer_status_offset()
/Zephyr-latest/tests/subsys/dfu/mcuboot/src/
Dmain.c33 ret = flash_area_open(SLOT1_PARTITION_ID, &fa); in ZTEST()
72 ret = flash_area_open(SLOT1_PARTITION_ID, &fa); in ZTEST()
113 ret = flash_area_open(SLOT0_PARTITION_ID, &fa); in ZTEST()
/Zephyr-latest/tests/subsys/fs/multi-fs/src/
Dtest_utils.c31 rc = flash_area_open(TEST_PARTITION_ID, &fap); in test_clear_flash()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dzephyr_img_mgmt.c113 rc = flash_area_open(fa_id, &fa); in img_mgmt_flash_check_empty()
287 rc = flash_area_open(area_id, &fa); in img_mgmt_erase_slot()
355 rc = flash_area_open(area_id, &fa); in img_mgmt_read()
450 rc = flash_area_open(g_img_mgmt_state.area_id, &fa); in img_mgmt_erase_image_data()
628 rc = flash_area_open(action->area_id, &fa); in img_mgmt_upload_inspect()
665 rc = flash_area_open(current_img_area, &fa_current); in img_mgmt_upload_inspect()
788 rc = flash_area_open(area_id, &fa); in img_mgmt_erased_val()
/Zephyr-latest/tests/subsys/settings/file/src/
Dsettings_setup_littlefs.c29 rc = flash_area_open(LITTLEFS_PARTITION_ID, &fap); in config_setup_fs()
/Zephyr-latest/tests/subsys/settings/fcb_init/src/
Dsettings_test_fcb_init.c110 err = flash_area_open(TEST_PARTITION_ID, &fa); in test_prepare_storage()
116 err = flash_area_open(CODE_PARTITION_ID, &fa); in test_prepare_storage()
/Zephyr-latest/doc/services/storage/flash_map/
Dflash_map.rst23 An additional identifier parameter is used by the :c:func:`flash_area_open`
35 * obtain it using :c:func:`flash_area_open`;
41 :c:func:`flash_area_open` uses numeric identifiers to search flash map for
94 using :c:func:`flash_area_open` and DTS node label:
99 int err = flash_area_open(FIXED_PARTITION_ID(slot0_partition), &my_area);
/Zephyr-latest/tests/subsys/dfu/mcuboot_multi/src/
Dmain.c51 ret = flash_area_open(fa_id, &fa); in _test_request_upgrade_n()
94 ret = flash_area_open(fa_id, &fa); in _test_write_confirm_n()
/Zephyr-latest/subsys/dfu/img_util/
Dflash_img.c135 rc = flash_area_open(area_id, in flash_img_init_id()
165 rc = flash_area_open(area_id, in flash_img_check()
/Zephyr-latest/tests/subsys/fs/fcb/src/
Dmain.c59 rc = flash_area_open(TEST_FCB_FLASH_AREA_ID, &fap); in test_fcb_wipe()
163 rc = flash_area_open(TEST_FCB_FLASH_AREA_ID, &fa); in ZTEST()
/Zephyr-latest/subsys/bluetooth/mesh/
Dblob_io_flash.c25 err = flash_area_open(area_id, &area); in test_flash_area()
48 return flash_area_open(flash->area_id, &flash->area); in io_open()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/zephyr_basic/src/
Dbasic_mgmt.c24 int rc = flash_area_open(ERASE_TARGET_ID, &fa); in storage_erase()
/Zephyr-latest/tests/subsys/dfu/img_util/src/
Dmain.c58 ret = flash_area_open(SLOT1_PARTITION_ID, &fa); in ZTEST()
95 ret = flash_area_open(SLOT1_PARTITION_ID, &fa); in ZTEST()
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/
Dcommon.c44 int rc = flash_area_open(id, &pfa); in wipe_partition()
/Zephyr-latest/tests/subsys/fs/littlefs/src/
Dtestfs_lfs.c67 int rc = flash_area_open(id, &pfa); in testfs_lfs_wipe_partition()
/Zephyr-latest/tests/subsys/storage/flash_map/src/
Dmain.c29 rc = flash_area_open(FIXED_PARTITION_ID(disabled_a), &fa); in ZTEST()
31 rc = flash_area_open(FIXED_PARTITION_ID(disabled_b), &fa); in ZTEST()
Dmain_sha.c100 rc = flash_area_open(SLOT1_PARTITION_ID, &fa); in ZTEST()
/Zephyr-latest/subsys/storage/flash_map/
Dflash_map_layout.c82 int rc = flash_area_open(idx, &fa); in flash_area_get_sectors()
Dflash_map.c29 int flash_area_open(uint8_t id, const struct flash_area **fap) in flash_area_open() function
/Zephyr-latest/subsys/lorawan/services/
Dfrag_flash.c45 err = flash_area_open(TARGET_IMAGE_AREA, &fa); in frag_flash_init()
/Zephyr-latest/tests/subsys/settings/fcb/src/
Dsettings_test_fcb.c193 rc = flash_area_open(TEST_PARTITION_ID, &fap); in config_wipe_fcb()
353 rc = flash_area_open(TEST_PARTITION_ID, &fap); in settings_config_fcb_setup()
/Zephyr-latest/samples/subsys/usb/mass/src/
Dmain.c91 rc = flash_area_open(id, &pfa); in setup_flash()
/Zephyr-latest/include/zephyr/storage/
Dflash_map.h124 int flash_area_open(uint8_t id, const struct flash_area **fa);
/Zephyr-latest/tests/subsys/lorawan/frag_decoder/src/
Dmain.c160 ret = flash_area_open(TARGET_IMAGE_AREA, &fa); in frag_decoder_setup()
/Zephyr-latest/subsys/usb/device/class/dfu/
Dusb_dfu.c557 ret = flash_area_open(dfu_data.flash_area_id, in dfu_class_handle_to_host()
828 if (flash_area_open(dfu_data.flash_area_id, &fa)) { in dfu_custom_handle_req()
918 if (flash_area_open(dfu_data.flash_area_id, &fa)) { in usb_dfu_init()

12