Home
last modified time | relevance | path

Searched refs:fic (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.6.0/tests/subsys/dfu/img_util/src/
Dmain.c134 struct flash_img_check fic = { NULL, 0 }; in ZTEST() local
147 ret = flash_img_check(NULL, &fic, 0); in ZTEST()
152 ret = flash_img_check(&ctx, &fic, SLOT1_PARTITION_ID); in ZTEST()
154 fic.match = tst_sha; in ZTEST()
155 ret = flash_img_check(&ctx, &fic, SLOT1_PARTITION_ID); in ZTEST()
157 fic.clen = sizeof(tst_vec); in ZTEST()
159 ret = flash_img_check(&ctx, &fic, SLOT1_PARTITION_ID); in ZTEST()
162 ret = flash_img_check(&ctx, &fic, SLOT1_PARTITION_ID); in ZTEST()
/Zephyr-Core-3.6.0/subsys/dfu/img_util/
Dflash_img.c103 const struct flash_img_check *fic, in flash_img_check() argument
109 if (!ctx || !fic) { in flash_img_check()
119 fac.match = fic->match; in flash_img_check()
120 fac.clen = fic->clen; in flash_img_check()
/Zephyr-Core-3.6.0/subsys/mgmt/updatehub/
Dupdatehub_storage.c64 const struct flash_img_check fic = { .match = hash, .clen = size }; in updatehub_storage_check() local
66 return flash_img_check(&ctx->flash_ctx, &fic, partition_id); in updatehub_storage_check()
/Zephyr-Core-3.6.0/include/zephyr/dfu/
Dflash_img.h111 const struct flash_img_check *fic,
/Zephyr-Core-3.6.0/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dimg_mgmt.c564 struct flash_img_check fic; in img_mgmt_upload() local
595 fic.match = g_img_mgmt_state.data_sha; in img_mgmt_upload()
596 fic.clen = g_img_mgmt_state.size; in img_mgmt_upload()
598 if (flash_img_check(&ctx, &fic, g_img_mgmt_state.area_id) == 0) { in img_mgmt_upload()
671 struct flash_img_check fic = { in img_mgmt_upload() local
676 if (flash_img_check(&ctx, &fic, g_img_mgmt_state.area_id) == 0) { in img_mgmt_upload()
/Zephyr-Core-3.6.0/subsys/mgmt/hawkbit/
Dhawkbit.c969 struct flash_img_check fic; in hawkbit_probe() local
1168 fic.match = hb_context.dl.file_hash; in hawkbit_probe()
1169 fic.clen = hb_context.dl.downloaded_size; in hawkbit_probe()
1170 if (flash_img_check(&hb_context.flash_ctx, &fic, FIXED_PARTITION_ID(SLOT1_LABEL))) { in hawkbit_probe()