Searched defs:ee_off (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootspi/
H A Dee.c78 iicaddr(unsigned ee_off) argument
80 return (TWSI_EEPROM_ADDRESS | ((ee_off >> 8) & 0x7));
93 EERead(unsigned ee_off, char *data_addr, unsigned size) argument
98 if ((ee_off & ~0xff) != ((ee_off + size) & ~0xff)) {
99 printf("Crosses page boundary: 0x%x 0x%x\n", ee_off, size);
105 twiPtr->TWI_MMR = (iicaddr(ee_off) << 16) | AT91C_TWI_IADRSZ_1_BYTE |
107 twiPtr->TWI_IADR = ee_off & 0xff;
124 * void WriteEEPROM(unsigned ee_off, char *data_addr, unsigned size)
125 * This global function writes data to the eeprom at ee_off usin
133 EEWrite(unsigned ee_off, const char *data_addr, unsigned size) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Deeprom.c86 ReadEEPROM(unsigned ee_off, unsigned char *data_addr, unsigned size) argument
100 twiPtr->TWI_IADR = ee_off;
135 * void WriteEEPROM(unsigned ee_off, char *data_addr, unsigned size)
136 * This global function writes data to the eeprom at ee_off using data
144 WriteEEPROM(unsigned ee_off, char *data_addr, unsigned size) argument
151 if (!(ee_off & 0x3f))
159 twiPtr->TWI_IADR = ee_off++;
180 ReadEEPROM(ee_off, &test_data, 1);

Completed in 63 milliseconds