Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/eeprom/
Deeprom_simulator_native.c34 int eeprom_mock_init_native(bool eeprom_in_ram, char **mock_eeprom, unsigned int size, in eeprom_mock_init_native() argument
41 if (eeprom_in_ram == true) { in eeprom_mock_init_native()
77 if ((eeprom_erase_at_start == true) || (eeprom_in_ram == true) || (f_stat.st_size == 0)) { in eeprom_mock_init_native()
90 void eeprom_mock_cleanup_native(bool eeprom_in_ram, int eeprom_fd, char *mock_eeprom, in eeprom_mock_cleanup_native() argument
95 if (eeprom_in_ram == true) { in eeprom_mock_cleanup_native()
Deeprom_simulator_native.h16 int eeprom_mock_init_native(bool eeprom_in_ram, char **mock_eeprom, unsigned int size,
20 void eeprom_mock_cleanup_native(bool eeprom_in_ram, int eeprom_fd, char *mock_eeprom,
Deeprom_simulator.c88 static bool eeprom_in_ram; variable
220 if (eeprom_in_ram == false && eeprom_file_path == NULL) { in eeprom_mock_init()
224 rc = eeprom_mock_init_native(eeprom_in_ram, &mock_eeprom, DT_INST_PROP(0, size), &eeprom_fd, in eeprom_mock_init()
261 eeprom_mock_cleanup_native(eeprom_in_ram, eeprom_fd, mock_eeprom, DT_INST_PROP(0, size), in eeprom_native_cleanup()
287 .dest = (void *)&eeprom_in_ram, in eeprom_native_options()