Searched refs:FF_EEPROM_SIZE (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/fmc/
H A Dfmc-fakedev.c23 #define FF_EEPROM_SIZE 8192 /* The standard eeprom size */ macro
46 static char ff_eeimg[FF_MAX_MEZZANINES][FF_EEPROM_SIZE] = {
170 if (offset > FF_EEPROM_SIZE) ff_eeprom_read()
172 if (offset + size > FF_EEPROM_SIZE) ff_eeprom_read()
173 size = FF_EEPROM_SIZE - offset; ff_eeprom_read()
181 if (offset > FF_EEPROM_SIZE) ff_eeprom_write()
183 if (offset + size > FF_EEPROM_SIZE) ff_eeprom_write()
184 size = FF_EEPROM_SIZE - offset; ff_eeprom_write()
326 len = min_t(size_t, fw->size, (size_t)FF_EEPROM_SIZE); ff_init()

Completed in 45 milliseconds