Searched refs:FLASH_SIMULATOR_ERASE_VALUE (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/drivers/flash_simulator/flash_sim_impl/src/ |
D | main.c | 26 #define FLASH_SIMULATOR_ERASE_VALUE \ macro 98 memset(buf, ~FLASH_SIMULATOR_ERASE_VALUE, sizeof(buf)); in test_check_erase() 108 (uint8_t)FLASH_SIMULATOR_ERASE_VALUE) { in test_check_erase() 142 zassert_equal(FLASH_SIMULATOR_ERASE_VALUE, in ZTEST() 200 pattern32_ini(PATTERN8TO32BIT(FLASH_SIMULATOR_ERASE_VALUE)); in test_erase() 315 uint32_t data = ~(PATTERN8TO32BIT(FLASH_SIMULATOR_ERASE_VALUE)); in ZTEST() 350 memset(buf, FLASH_SIMULATOR_ERASE_VALUE, sizeof(buf)); in ZTEST() 450 zassert_equal(fp->erase_value, FLASH_SIMULATOR_ERASE_VALUE, in ZTEST() 452 FLASH_SIMULATOR_ERASE_VALUE); in ZTEST() 465 rc = flash_fill(flash_dev, FLASH_SIMULATOR_ERASE_VALUE, in ZTEST() [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_simulator.c | 41 #define FLASH_SIMULATOR_ERASE_VALUE \ macro 165 .erase_value = FLASH_SIMULATOR_ERASE_VALUE, 236 memset(buf, FLASH_SIMULATOR_ERASE_VALUE, sizeof(buf)); in flash_sim_write() 278 #if FLASH_SIMULATOR_ERASE_VALUE == 0xFF in flash_sim_write() 305 memset(MOCK_FLASH(unit_addr), FLASH_SIMULATOR_ERASE_VALUE, in unit_erase() 406 &flash_fd, flash_file_path, FLASH_SIMULATOR_ERASE_VALUE, in flash_mock_init() 427 memset(mock_flash, FLASH_SIMULATOR_ERASE_VALUE, ARRAY_SIZE(mock_flash)); in flash_mock_init()
|