Home
last modified time | relevance | path

Searched refs:fa_dev (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/subsys/storage/flash_map/
Dflash_map.c42 if (!device_is_ready(area->fa_dev)) { in flash_area_open()
63 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()
96 return flash_get_write_block_size(fa->fa_dev); in flash_area_align()
101 if (!device_is_ready(fa->fa_dev)) { in flash_area_has_driver()
110 return fa->fa_dev; in flash_area_get_device()
124 param = flash_get_parameters(fa->fa_dev); in flash_area_erased_val()
Dflash_map_shell.c33 sizeof(uintptr_t) * 2, (uintptr_t)fa->fa_dev, fa->fa_dev->name, fa_label, in fa_cb()
37 sizeof(uintptr_t) * 2, (uintptr_t)fa->fa_dev, fa->fa_dev->name, in fa_cb()
Dflash_map_default.c19 .fa_dev = DEVICE_DT_GET(DT_MTD_FROM_FIXED_PARTITION(part)), \
26 .fa_dev = DEVICE_DT_GET(DT_MTD_FROM_FIXED_PARTITION(part)), \
58 .fa_dev = DEVICE_DT_GET(DT_MTD_FROM_FIXED_PARTITION(part)), \
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.c107 flash_dev = fa->fa_dev; in flash_area_sectors()
/Zephyr-latest/tests/subsys/storage/flash_map/src/
Dmain.c43 .fa_dev = NULL, in ZTEST()
92 zassert_equal(fa->fa_dev, flash_dev_a, "Device for slot1_partition do not match"); in ZTEST()
117 zassert_equal(fa->fa_dev, flash_dev_a, "Device for slot1_partition do not match"); in ZTEST()
136 param = flash_get_parameters(fa->fa_dev); in ZTEST()
/Zephyr-latest/include/zephyr/storage/
Dflash_map.h63 const struct device *fa_dev; member
154 return (fa != NULL && device_is_ready(fa->fa_dev)); in flash_area_device_is_ready()
/Zephyr-latest/samples/subsys/usb/mass/src/
Dmain.c93 id, (unsigned int)pfa->fa_off, pfa->fa_dev->name, in setup_flash()
/Zephyr-latest/tests/subsys/fs/fcb/src/
Dmain.c166 dev = fa->fa_dev; in ZTEST()
/Zephyr-latest/subsys/fs/fcb/
Dfcb.c112 fparam = flash_get_parameters(fcbp->fap->fa_dev); in fcb_init()
/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/settings/src/
Dsettings_nvs.c425 default_settings_nvs.flash_dev = fa->fa_dev; in settings_backend_init()
/Zephyr-latest/subsys/fs/
Dlittlefs_fs.c670 (*fap)->fa_dev->name); in littlefs_flash_init()