/Zephyr-latest/tests/drivers/flash/common/src/ |
D | main.c | 55 static uint8_t erase_value; variable 71 erase_value = fparams->erase_value; in flash_driver_before() 78 erase_value = 0x55; in flash_driver_before() 94 if (val == erase_value) { in flash_driver_before() 109 if (buf[i] != erase_value) { in flash_driver_before() 131 const uint8_t canary = erase_value; in ZTEST() 263 erase_value = fparams->erase_value; in ZTEST() 297 if (read_buf[i] != erase_value) { in ZTEST() 300 erase_value); in ZTEST() 307 zassert_not_equal(expected[0], erase_value, "These values shall be different"); in ZTEST()
|
/Zephyr-latest/drivers/flash/ |
D | flash_simulator_native.c | 40 unsigned int erase_value, bool flash_erase_at_start) in flash_mock_init_native() argument 88 (void)memset(*mock_flash, erase_value, size); in flash_mock_init_native()
|
D | flash_simulator_native.h | 16 unsigned int erase_value, bool flash_erase_at_start);
|
D | flash_mspi_emul_device.c | 168 memset(data->mem, cfg->flash_param.erase_value, size); in flash_mspi_emul_erase() 172 memset(data->mem + offset, cfg->flash_param.erase_value, in flash_mspi_emul_erase() 178 memset(data->mem + offset, cfg->flash_param.erase_value, in flash_mspi_emul_erase() 423 .erase_value = 0xff, \
|
D | flash_util.c | 85 return flash_fill(dev, params->erase_value, offset, size); in z_impl_flash_flatten() 173 memset(buf, params->erase_value, write_size); in z_impl_flash_copy()
|
D | flash_gd32.c | 28 .erase_value = 0xff,
|
D | flash_esp32.c | 48 .erase_value = 0xff,
|
D | soc_flash_rv32m1.c | 33 .erase_value = 0xff,
|
D | flash_cadence_qspi_nor.c | 32 .erase_value = 0xff,
|
D | soc_flash_nrf_mram.c | 153 .erase_value = ERASE_VALUE, in nrf_mram_get_parameters()
|
D | soc_flash_b91.c | 34 .erase_value = 0xff,
|
D | flash_max32.c | 169 .erase_value = 0xFF, \
|
D | soc_flash_lpc.c | 43 .erase_value = 0xff,
|
D | flash_simulator.c | 42 DT_PROP(DT_PARENT(SOC_NV_FLASH_NODE), erase_value) 165 .erase_value = FLASH_SIMULATOR_ERASE_VALUE,
|
D | flash_stm32.c | 39 .erase_value = 0, 41 .erase_value = 0xff,
|
D | flash_stm32wba_fm.c | 32 .erase_value = 0xff,
|
D | flash_ambiq.c | 50 .erase_value = FLASH_ERASE_BYTE,
|
/Zephyr-latest/drivers/eeprom/ |
D | eeprom_simulator_native.c | 35 int *eeprom_fd, const char *eeprom_file_path, unsigned int erase_value, in eeprom_mock_init_native() argument 79 (void)memset(*mock_eeprom, erase_value, size); in eeprom_mock_init_native()
|
D | eeprom_simulator_native.h | 17 int *eeprom_fd, const char *eeprom_file_path, unsigned int erase_value,
|
/Zephyr-latest/subsys/fs/nvs/ |
D | nvs.c | 133 (void)memset(buf + len, fs->flash_parameters->erase_value, in nvs_flash_al_wrt() 353 if (nvs_flash_cmp_const(fs, addr, fs->flash_parameters->erase_value, in nvs_flash_erase_sector() 547 rc = nvs_ate_cmp_const(&close_ate, fs->flash_parameters->erase_value); in nvs_prev_ate() 648 rc = nvs_ate_cmp_const(&close_ate, fs->flash_parameters->erase_value); in nvs_gc() 759 uint8_t erase_value = fs->flash_parameters->erase_value; in nvs_startup() local 770 rc = nvs_flash_cmp_const(fs, addr, erase_value, in nvs_startup() 776 rc = nvs_flash_cmp_const(fs, addr, erase_value, in nvs_startup() 809 rc = nvs_flash_cmp_const(fs, addr - ate_size, erase_value, in nvs_startup() 839 rc = nvs_ate_cmp_const(&last_ate, erase_value); in nvs_startup() 878 rc = nvs_flash_cmp_const(fs, addr, erase_value, fs->sector_size); in nvs_startup() [all …]
|
/Zephyr-latest/include/zephyr/storage/ |
D | stream_flash.h | 71 uint8_t erase_value; member
|
/Zephyr-latest/subsys/storage/stream/ |
D | stream_flash.c | 152 filler = ctx->erase_value; in flash_sync() 334 ctx->erase_value = params->erase_value; in stream_flash_init()
|
/Zephyr-latest/tests/drivers/flash/stm32/src/ |
D | main.c | 97 if (buf[i] != flash_params->erase_value) { in flash_stm32_setup() 142 zassert_true(buf[i] == flash_params->erase_value, in ZTEST()
|
/Zephyr-latest/subsys/storage/flash_map/ |
D | flash_map.c | 126 return param->erase_value; in flash_area_erased_val()
|
/Zephyr-latest/tests/subsys/fs/fcb/src/ |
D | main.c | 174 fcb_test_erase_value = fp->erase_value; in ZTEST()
|