Home
last modified time | relevance | path

Searched refs:TRICORDER_EEPROM_SIZE (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/board/corscience/tricorder/
Dtricorder-eeprom.c62 if (be16_to_cpu(eeprom->length) != TRICORDER_EEPROM_SIZE) { in handle_eeprom_v1()
63 warn_wrong_value("length", TRICORDER_EEPROM_SIZE, in handle_eeprom_v1()
82 memset(eeprom, 0, TRICORDER_EEPROM_SIZE); in tricorder_get_eeprom()
84 i2c_read(addr, 0, 2, (unsigned char *)eeprom, TRICORDER_EEPROM_SIZE); in tricorder_get_eeprom()
137 memset(eeprom, 0, TRICORDER_EEPROM_SIZE); in tricorder_eeprom_write()
138 memset(eeprom_verify, 0, TRICORDER_EEPROM_SIZE); in tricorder_eeprom_write()
141 eeprom.length = cpu_to_be16(TRICORDER_EEPROM_SIZE); in tricorder_eeprom_write()
170 TRICORDER_EEPROM_SIZE); in tricorder_eeprom_write()
175 TRICORDER_EEPROM_SIZE); in tricorder_eeprom_write()
Dtricorder-eeprom.h31 #define TRICORDER_EEPROM_SIZE sizeof(struct tricorder_eeprom) macro
32 #define TRICORDER_EEPROM_CRC_SIZE (TRICORDER_EEPROM_SIZE - \
Dtricorder.c82 memset(eeprom, 0, TRICORDER_EEPROM_SIZE); in get_eeprom()