Home
last modified time | relevance | path

Searched refs:fa_id (Results 1 – 9 of 9) sorted by relevance

/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dzephyr_img_mgmt.c103 static int img_mgmt_flash_check_empty(uint8_t fa_id) in img_mgmt_flash_check_empty() argument
108 rc = flash_area_open(fa_id, &fa); in img_mgmt_flash_check_empty()
114 LOG_ERR("Failed to open flash area ID %u: %d", fa_id, rc); in img_mgmt_flash_check_empty()
131 uint8_t fa_id; in img_mgmt_flash_area_id() local
135 fa_id = FIXED_PARTITION_ID(SLOT0_PARTITION); in img_mgmt_flash_area_id()
139 fa_id = FIXED_PARTITION_ID(SLOT1_PARTITION); in img_mgmt_flash_area_id()
144 fa_id = FIXED_PARTITION_ID(SLOT2_PARTITION); in img_mgmt_flash_area_id()
150 fa_id = FIXED_PARTITION_ID(SLOT3_PARTITION); in img_mgmt_flash_area_id()
156 fa_id = FIXED_PARTITION_ID(SLOT4_PARTITION); in img_mgmt_flash_area_id()
162 fa_id = FIXED_PARTITION_ID(SLOT5_PARTITION); in img_mgmt_flash_area_id()
[all …]
Dimg_mgmt_state.c206 int fa_id = img_mgmt_flash_area_id(slot); in read_directxip_state() local
210 __ASSERT(fa_id != -1, "Could not map slot to area ID"); in read_directxip_state()
212 rc = flash_area_open(fa_id, &fa); in read_directxip_state()
/Zephyr-Core-3.5.0/subsys/storage/flash_map/
Dflash_map_default.c17 {.fa_id = DT_FIXED_PARTITION_ID(part), \
24 {.fa_id = DT_FIXED_PARTITION_ID(part), \
Dflash_map_shell.c32 shell_print(sh, "%2d 0x%0*" PRIxPTR " %-26s %-24.24s 0x%-10x 0x%-12x", (int)fa->fa_id, in fa_cb()
36 shell_print(sh, "%2d 0x%0*" PRIxPTR " %-26s 0x%-10x 0x%-12x", (int)fa->fa_id, in fa_cb()
Dflash_map_priv.h24 if (flash_map[i].fa_id == idx) { in get_flash_area_from_id()
/Zephyr-Core-3.5.0/tests/subsys/dfu/mcuboot_multi/src/
Dmain.c37 static void _test_request_upgrade_n(uint8_t fa_id, int img_index, int confirmed) in _test_request_upgrade_n() argument
51 ret = flash_area_open(fa_id, &fa); in _test_request_upgrade_n()
83 static void _test_write_confirm_n(uint8_t fa_id, int img_index) in _test_write_confirm_n() argument
94 ret = flash_area_open(fa_id, &fa); in _test_write_confirm_n()
/Zephyr-Core-3.5.0/modules/canopennode/
Dcanopen_program.c320 uint8_t fa_id; in canopen_odf_1f56() local
347 fa_id = FIXED_PARTITION_ID(slot1_partition); in canopen_odf_1f56()
349 fa_id = FIXED_PARTITION_ID(slot0_partition); in canopen_odf_1f56()
352 err = boot_read_bank_header(fa_id, &header, sizeof(header)); in canopen_odf_1f56()
371 err = flash_area_open(fa_id, &flash_area); in canopen_odf_1f56()
/Zephyr-Core-3.5.0/include/zephyr/storage/
Dflash_map.h59 uint8_t fa_id; member
212 int flash_area_get_sectors(int fa_id, uint32_t *count,
/Zephyr-Core-3.5.0/tests/subsys/dfu/img_util/src/
Dmain.c39 zassert_equal(ctx_id.flash_area->fa_id, SLOT0_PARTITION_ID, in ZTEST()