Searched refs:ee_off (Results 1 – 6 of 6) sorted by relevance
| /trueos/sys/boot/arm/at91/bootspi/ |
| HD | ee.c | 78 iicaddr(unsigned ee_off) in iicaddr() argument 80 return (TWSI_EEPROM_ADDRESS | ((ee_off >> 8) & 0x7)); in iicaddr() 93 EERead(unsigned ee_off, char *data_addr, unsigned size) in EERead() argument 98 if ((ee_off & ~0xff) != ((ee_off + size) & ~0xff)) { in EERead() 99 printf("Crosses page boundary: 0x%x 0x%x\n", ee_off, size); in EERead() 105 twiPtr->TWI_MMR = (iicaddr(ee_off) << 16) | AT91C_TWI_IADRSZ_1_BYTE | in EERead() 107 twiPtr->TWI_IADR = ee_off & 0xff; in EERead() 133 EEWrite(unsigned ee_off, const char *data_addr, unsigned size) in EEWrite() argument 141 twiPtr->TWI_MMR = (iicaddr(ee_off) << 16) | in EEWrite() 143 twiPtr->TWI_IADR = ee_off++; in EEWrite() [all …]
|
| HD | ee.h | 4 void EERead(unsigned ee_off, char *data_addr, unsigned size); 5 void EEWrite(unsigned ee_off, const char *data_addr, unsigned size);
|
| /trueos/sys/boot/arm/at91/libat91/ |
| HD | eeprom.c | 86 ReadEEPROM(unsigned ee_off, unsigned char *data_addr, unsigned size) in ReadEEPROM() argument 100 twiPtr->TWI_IADR = ee_off; in ReadEEPROM() 144 WriteEEPROM(unsigned ee_off, char *data_addr, unsigned size) in WriteEEPROM() argument 151 if (!(ee_off & 0x3f)) in WriteEEPROM() 159 twiPtr->TWI_IADR = ee_off++; in WriteEEPROM() 180 ReadEEPROM(ee_off, &test_data, 1); in WriteEEPROM()
|
| /trueos/sys/dev/ath/ath_hal/ |
| HD | ah_internal.h | 839 uint16_t ee_off; /* eeprom offset */ member
|
| HD | ah.c | 921 return ath_hal_eepromWrite(ah, ee->ee_off, ee->ee_data); in ath_hal_getdiagstate()
|
| /trueos/tools/tools/ath/athprom/ |
| HD | athprom.c | 198 eeval.ee_off = off; in eewrite()
|