Searched refs:TRICORDER_EEPROM_SIZE (Results 1 – 3 of 3) sorted by relevance
/external/u-boot/board/corscience/tricorder/ |
D | tricorder-eeprom.c | 62 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()
|
D | tricorder-eeprom.h | 31 #define TRICORDER_EEPROM_SIZE sizeof(struct tricorder_eeprom) macro 32 #define TRICORDER_EEPROM_CRC_SIZE (TRICORDER_EEPROM_SIZE - \
|
D | tricorder.c | 82 memset(eeprom, 0, TRICORDER_EEPROM_SIZE); in get_eeprom()
|