Lines Matching refs:blk
110 uint8_t *blk, size_t len) in eeprom_emu_flash_read() argument
115 offset, blk, len); in eeprom_emu_flash_read()
122 const uint8_t *blk, size_t len) in eeprom_emu_flash_write() argument
128 offset, blk, len); in eeprom_emu_flash_write()
167 const uint8_t *blk) in eeprom_emu_get_address() argument
172 blk += dev_config->flash_cbs / 2; in eeprom_emu_get_address()
178 address += ((uint32_t)(*blk) << (8 * i)); in eeprom_emu_get_address()
179 blk++; in eeprom_emu_get_address()
190 uint8_t *blk) in eeprom_emu_set_change() argument
195 (*blk++) = (*data++); in eeprom_emu_set_change()
200 (*blk++) = (uint8_t)(((address >> (8 * i)) & 0xff)); in eeprom_emu_set_change()
202 (*blk++) = 0xff; in eeprom_emu_set_change()
212 static int eeprom_emu_is_word_used(const struct device *dev, const uint8_t *blk) in eeprom_emu_is_word_used() argument
217 if ((*blk++) != 0xff) { in eeprom_emu_is_word_used()