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