Searched refs:eeprom_file_path (Results 1 – 3 of 3) sorted by relevance
/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 49 *eeprom_fd = open(eeprom_file_path, O_RDWR | O_CREAT, (mode_t)0600); in eeprom_mock_init_native() 52 eeprom_file_path, strerror(errno)); in eeprom_mock_init_native() 59 eeprom_file_path, strerror(errno)); in eeprom_mock_init_native() 65 eeprom_file_path, strerror(errno)); in eeprom_mock_init_native() 72 eeprom_file_path, strerror(errno)); in eeprom_mock_init_native() 91 unsigned int size, const char *eeprom_file_path, in eeprom_mock_cleanup_native() argument 110 if ((eeprom_rm_at_exit == true) && (eeprom_file_path != NULL)) { in eeprom_mock_cleanup_native() 112 (void)remove(eeprom_file_path); in eeprom_mock_cleanup_native()
|
D | eeprom_simulator_native.h | 17 int *eeprom_fd, const char *eeprom_file_path, unsigned int erase_value, 21 unsigned int size, const char *eeprom_file_path,
|
D | eeprom_simulator.c | 84 static const char *eeprom_file_path; variable 220 if (eeprom_in_ram == false && eeprom_file_path == NULL) { in eeprom_mock_init() 221 eeprom_file_path = DEFAULT_EEPROM_FILE_PATH; in eeprom_mock_init() 225 eeprom_file_path, 0xFF, eeprom_erase_at_start); in eeprom_mock_init() 262 eeprom_file_path, eeprom_rm_at_exit); in eeprom_native_cleanup() 271 .dest = (void *)&eeprom_file_path, in eeprom_native_options()
|