Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/eeprom/
Deeprom_emulator.c313 off_t next_page_offset; in eeprom_emu_compactor() local
319 next_page_offset = dev_data->page_offset + dev_config->page_size; in eeprom_emu_compactor()
320 if (next_page_offset >= dev_config->flash_size) { in eeprom_emu_compactor()
321 next_page_offset = 0; in eeprom_emu_compactor()
326 rc = eeprom_emu_flash_erase(dev, next_page_offset, in eeprom_emu_compactor()
328 } else if (next_page_offset == 0) { in eeprom_emu_compactor()
330 rc = eeprom_emu_flash_erase(dev, next_page_offset, in eeprom_emu_compactor()
341 rc = eeprom_emu_flash_write(dev, next_page_offset, in eeprom_emu_compactor()
383 next_page_offset + in eeprom_emu_compactor()
397 if ((dev_config->partitionerase) && (next_page_offset == 0)) { in eeprom_emu_compactor()
[all …]