Searched refs:addr_jmp (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/eeprom/ |
D | eeprom_emulator.c | 286 const off_t addr_jmp = address & (sizeof(buf) - 1); in eeprom_emu_flash_get() local 291 len = MIN((sizeof(buf) - addr_jmp), ctx->rlen); in eeprom_emu_flash_get() 292 rc = eeprom_emu_word_read(dev, address - addr_jmp, buf); in eeprom_emu_flash_get() 297 memcpy(data8, buf + addr_jmp, len); in eeprom_emu_flash_get() 370 off_t address, addr_jmp; in eeprom_emu_compactor() local 374 addr_jmp = address & (sizeof(buf) - 1); in eeprom_emu_compactor() 375 len = MIN((sizeof(buf) - addr_jmp), ctx->rlen); in eeprom_emu_compactor() 377 memcpy(buf + addr_jmp, data8, len); in eeprom_emu_compactor() 488 const off_t addr_jmp = address & (sizeof(buf) - 1); in eeprom_emu_flash_set() local 493 len = MIN((sizeof(buf) - addr_jmp), ctx->rlen); in eeprom_emu_flash_set() [all …]
|