Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/flash/
Dflash_simulator_native.c38 int flash_mock_init_native(bool flash_in_ram, uint8_t **mock_flash, unsigned int size, in flash_mock_init_native() argument
45 if (flash_in_ram == true) { in flash_mock_init_native()
86 if ((flash_erase_at_start == true) || (flash_in_ram == true) || (f_stat.st_size == 0)) { in flash_mock_init_native()
99 void flash_mock_cleanup_native(bool flash_in_ram, int flash_fd, uint8_t *mock_flash, in flash_mock_cleanup_native() argument
104 if (flash_in_ram == true) { in flash_mock_cleanup_native()
Dflash_simulator_native.h14 int flash_mock_init_native(bool flash_in_ram, uint8_t **mock_flash, unsigned int size,
18 void flash_mock_cleanup_native(bool flash_in_ram, int flash_fd, uint8_t *mock_flash,
Dflash_simulator.c149 static bool flash_in_ram; variable
401 if (flash_in_ram == false && flash_file_path == NULL) { in flash_mock_init()
405 rc = flash_mock_init_native(flash_in_ram, &mock_flash, FLASH_SIMULATOR_FLASH_SIZE, in flash_mock_init()
449 flash_mock_cleanup_native(flash_in_ram, flash_fd, mock_flash, in flash_native_cleanup()
476 .dest = (void *)&flash_in_ram, in flash_native_options()