Home
last modified time | relevance | path

Searched refs:flash_ctx (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub_storage.c38 return flash_img_init(&ctx->flash_ctx); in updatehub_storage_init()
50 ctx->flash_ctx.stream.bytes_written, size, in updatehub_storage_write()
53 return flash_img_buffered_write(&ctx->flash_ctx, data, size, flush); in updatehub_storage_write()
66 return flash_img_check(&ctx->flash_ctx, &fic, partition_id); in updatehub_storage_check()
Dupdatehub_storage.h20 struct flash_img_context flash_ctx; member
/Zephyr-latest/subsys/mgmt/hawkbit/
Dhawkbit.c136 struct flash_img_context flash_ctx; member
952 hb_context->flash_ctx.stream.bytes_written = 0; in response_download_cb()
963 ret = flash_img_buffered_write(&hb_context->flash_ctx, body_data, body_len, in response_download_cb()
972 stream_flash_progress_save(&hb_context->flash_ctx.stream, "hawkbit/flash_progress"); in response_download_cb()
975 hb_context->dl.downloaded_size = flash_img_bytes_written(&hb_context->flash_ctx); in response_download_cb()
983 stream_flash_progress_save(&hb_context->flash_ctx.stream, in response_download_cb()
1113 hb_context->dl.downloaded_size = flash_img_bytes_written(&hb_context->flash_ctx); in send_request()
1516 flash_img_init(&s->hb_context.flash_ctx); in s_download()
1521 flash_area_ptr = s->hb_context.flash_ctx.flash_area; in s_download()
1524 stream_flash_progress_load(&s->hb_context.flash_ctx.stream, "hawkbit/flash_progress"); in s_download()
[all …]