Searched refs:EEPR_PG_SZ (Results 1 – 1 of 1) sorted by relevance
22 #define EEPR_PG_SZ 0x80 macro24 #define OFF_PG EEPROM_FATORYSET_OFFSET/EEPR_PG_SZ167 pages = size / EEPR_PG_SZ; in factoryset_read_eeprom()177 if (i2c_read(i2c_addr, (OFF_PG + i) * EEPR_PG_SZ, 2, in factoryset_read_eeprom()178 eeprom_buf + (i * EEPR_PG_SZ), EEPR_PG_SZ)) in factoryset_read_eeprom()181 if (size % EEPR_PG_SZ) in factoryset_read_eeprom()182 if (i2c_read(i2c_addr, (OFF_PG + pages) * EEPR_PG_SZ, 2, in factoryset_read_eeprom()183 eeprom_buf + (pages * EEPR_PG_SZ), in factoryset_read_eeprom()184 (size % EEPR_PG_SZ))) in factoryset_read_eeprom()