Home
last modified time | relevance | path

Searched refs:fa_off (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/tests/subsys/storage/flash_map/src/
Dmain.c170 rc = flash_erase(flash_dev, fa->fa_off, fa->fa_size); in ZTEST()
173 rc = flash_fill(flash_dev, 0xaa, fa->fa_off, fa->fa_size); in ZTEST()
181 TC_PRINT("\toffset:\t %ld\n", (long)fa->fa_off); in ZTEST()
190 rc = flash_read(flash_dev, fa->fa_off + i, buf, chunk); in ZTEST()
200 i + fa->fa_off); in ZTEST()
202 rc = flash_fill(flash_dev, 0xaa, fa->fa_off, fa->fa_size); in ZTEST()
213 rc = flash_read(flash_dev, fa->fa_off + i, buf, chunk); in ZTEST()
223 i + fa->fa_off); in ZTEST()
/Zephyr-latest/subsys/storage/flash_map/
Dflash_map.c63 return flash_read(fa->fa_dev, fa->fa_off + off, dst, len); in flash_area_read()
73 return flash_write(fa->fa_dev, fa->fa_off + off, (void *)src, len); in flash_area_write()
82 return flash_erase(fa->fa_dev, fa->fa_off + off, len); in flash_area_erase()
91 return flash_flatten(fa->fa_dev, fa->fa_off + off, len); in flash_area_flatten()
Dflash_map_default.c18 .fa_off = DT_REG_ADDR(part), \
25 .fa_off = DT_REG_ADDR(part), \
57 .fa_off = DT_REG_ADDR(part), \
Dflash_map_shell.c34 (uint32_t)fa->fa_off, fa->fa_size); in fa_cb()
38 (uint32_t)fa->fa_off, fa->fa_size); in fa_cb()
Dflash_map_integrity.c71 rc = flash_read(fa->fa_dev, (fa->fa_off + fac->off + pos), in flash_area_check_int_sha256()
Dflash_map_layout.c99 data.area_off = fa->fa_off; in flash_area_sectors()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dzephyr_img_mgmt.c465 off_t page_offset = fa->fa_off + num_bytes - 1; in img_mgmt_erase_image_data()
474 size_t erase_size = page.start_offset + page.size - fa->fa_off; in img_mgmt_erase_image_data()
496 rc = flash_get_page_info_by_offs(dev, fa->fa_off + off, &page); in img_mgmt_erase_image_data()
498 off = page.start_offset - fa->fa_off; in img_mgmt_erase_image_data()
714 if (fa->fa_off != hdr->ih_load_addr) { in img_mgmt_upload_inspect()
/Zephyr-latest/tests/subsys/dfu/mcuboot_multi/src/
Dmain.c29 ret = flash_get_page_info_by_offs(sf_dev, fa->fa_off + fa->fa_size - 1, in erase_image_status_page()
/Zephyr-latest/subsys/dfu/img_util/
Dflash_img.c144 CONFIG_IMG_BLOCK_BUF_SIZE, ctx->flash_area->fa_off, in flash_img_init_id()
/Zephyr-latest/samples/subsys/usb/mass/src/
Dmain.c93 id, (unsigned int)pfa->fa_off, pfa->fa_dev->name, in setup_flash()
/Zephyr-latest/include/zephyr/storage/
Dflash_map.h59 off_t fa_off; member
/Zephyr-latest/samples/subsys/fs/littlefs/src/
Dmain.c250 id, (unsigned int)pfa->fa_off, pfa->fa_dev->name, in littlefs_flash_erase()
/Zephyr-latest/subsys/fs/
Dlittlefs_fs.c602 size_t area_start = ctx->area->fa_off; in get_page_cb()
665 (uint32_t)(*fap)->fa_off, (uint32_t)(*fap)->fa_size); in littlefs_flash_init()
826 (uint32_t)((struct flash_area *)fs->backend)->fa_off, in littlefs_init_cfg()
/Zephyr-latest/subsys/settings/src/
Dsettings_nvs.c424 default_settings_nvs.cf_nvs.offset = fa->fa_off; in settings_backend_init()
/Zephyr-latest/subsys/debug/coredump/
Dcoredump_backend_flash_partition.c433 offset = backend_ctx.flash_area->fa_off + header_size; in coredump_flash_backend_start()