Home
last modified time | relevance | path

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

/u-boot/board/corscience/tricorder/
A Dtricorder-eeprom.c65 if (be16_to_cpu(eeprom->length) != TRICORDER_EEPROM_SIZE) { in handle_eeprom_v1()
66 warn_wrong_value("length", TRICORDER_EEPROM_SIZE, in handle_eeprom_v1()
85 memset(eeprom, 0, TRICORDER_EEPROM_SIZE); in tricorder_get_eeprom()
87 i2c_read(addr, 0, 2, (unsigned char *)eeprom, TRICORDER_EEPROM_SIZE); in tricorder_get_eeprom()
140 memset(eeprom, 0, TRICORDER_EEPROM_SIZE); in tricorder_eeprom_write()
141 memset(eeprom_verify, 0, TRICORDER_EEPROM_SIZE); in tricorder_eeprom_write()
144 eeprom.length = cpu_to_be16(TRICORDER_EEPROM_SIZE); in tricorder_eeprom_write()
173 TRICORDER_EEPROM_SIZE); in tricorder_eeprom_write()
178 TRICORDER_EEPROM_SIZE); in tricorder_eeprom_write()
A Dtricorder-eeprom.h31 #define TRICORDER_EEPROM_SIZE sizeof(struct tricorder_eeprom) macro
32 #define TRICORDER_EEPROM_CRC_SIZE (TRICORDER_EEPROM_SIZE - \
A Dtricorder.c86 memset(eeprom, 0, TRICORDER_EEPROM_SIZE); in get_eeprom()

Completed in 4 milliseconds