Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/flash_simulator/flash_sim_impl/src/
Dmain.c24 #define FLASH_SIMULATOR_FLASH_SIZE DT_REG_SIZE(SOC_NV_FLASH_NODE) macro
30 #define TEST_SIM_FLASH_SIZE FLASH_SIMULATOR_FLASH_SIZE
133 FLASH_SIMULATOR_FLASH_SIZE); in ZTEST()
156 FLASH_SIMULATOR_FLASH_SIZE); in test_write_read()
462 FLASH_SIMULATOR_FLASH_SIZE); in ZTEST()
467 FLASH_SIMULATOR_FLASH_SIZE); in ZTEST()
470 size_t size = FLASH_SIMULATOR_FLASH_SIZE; in ZTEST()
473 FLASH_SIMULATOR_FLASH_SIZE), in ZTEST()
478 FLASH_SIMULATOR_FLASH_SIZE); in ZTEST()
483 size = FLASH_SIMULATOR_FLASH_SIZE; in ZTEST()
[all …]
/Zephyr-latest/drivers/flash/
Dflash_simulator.c39 #define FLASH_SIMULATOR_FLASH_SIZE DT_REG_SIZE(SOC_NV_FLASH_NODE) macro
44 #define FLASH_SIMULATOR_PAGE_COUNT (FLASH_SIMULATOR_FLASH_SIZE / \
155 static uint8_t mock_flash[FLASH_SIMULATOR_FLASH_SIZE] Z_GENERIC_SECTION(FLASH_SIMULATOR_MREGION);
157 static uint8_t mock_flash[FLASH_SIMULATOR_FLASH_SIZE];
178 if ((offset < 0 || offset >= FLASH_SIMULATOR_FLASH_SIZE || in flash_range_is_valid()
179 (FLASH_SIMULATOR_FLASH_SIZE - offset) < len)) { in flash_range_is_valid()
371 *size = FLASH_SIMULATOR_FLASH_SIZE; in flash_sim_get_size()
405 rc = flash_mock_init_native(flash_in_ram, &mock_flash, FLASH_SIMULATOR_FLASH_SIZE, in flash_mock_init()
450 FLASH_SIMULATOR_FLASH_SIZE, flash_file_path, in flash_native_cleanup()
497 *mock_size = FLASH_SIMULATOR_FLASH_SIZE; in z_impl_flash_simulator_get_memory()
/Zephyr-latest/tests/drivers/flash_simulator/flash_sim_reboot/src/
Dmain.c16 #define FLASH_SIMULATOR_FLASH_SIZE DT_REG_SIZE(SOC_NV_FLASH_NODE) macro
28 rc = flash_erase(flash_dev, 0, FLASH_SIMULATOR_FLASH_SIZE); in ZTEST()