Lines Matching refs:write_offset
92 off_t write_offset; member
251 offset = dev_data->write_offset; in eeprom_emu_word_read()
406 dev_data->write_offset = dev_config->size; in eeprom_emu_compactor()
457 dev_data->write_offset, tmp, in eeprom_emu_word_write()
463 dev_data->write_offset += sizeof(buf); in eeprom_emu_word_write()
464 if ((dev_data->write_offset + sizeof(buf)) >= in eeprom_emu_word_write()
655 dev_data->write_offset = dev_config->page_size - sizeof(buf); in eeprom_emu_init()
657 offset = dev_data->page_offset + dev_data->write_offset; in eeprom_emu_init()
675 dev_data->write_offset = dev_config->size; in eeprom_emu_init()
678 while ((dev_data->write_offset + sizeof(buf)) < dev_config->page_size) { in eeprom_emu_init()
679 offset = dev_data->page_offset + dev_data->write_offset; in eeprom_emu_init()
689 dev_data->write_offset += sizeof(buf); in eeprom_emu_init()
697 ((dev_data->write_offset + sizeof(buf)) >= dev_config->page_size)) { in eeprom_emu_init()