Lines Matching +full:0 +full:xa000
13 #define EEPROM_READ 0xc000 /* serial memory read */
14 #define EEPROM_WEN 0x9800 /* write enable before prog modes */
15 #define EEPROM_WRITE 0xa000 /* serial memory write */
16 #define EEPROM_WRALL 0x8800 /* write all registers */
17 #define EEPROM_WDS 0x8000 /* disable all programming */
18 #define EEPROM_PRREAD 0xc000 /* read protect register */
19 #define EEPROM_PREN 0x9800 /* enable protect register mode */
20 #define EEPROM_PRCLEAR 0xffff /* clear protect register */
21 #define EEPROM_PRWRITE 0xa000 /* write protect register */
22 #define EEPROM_PRDS 0x8000 /* disable protect register, forever */
24 #define EEPROM_EPROT 0x01 /* Protect register enable */
25 #define EEPROM_CSEL 0x02 /* Chip select */
26 #define EEPROM_ECLK 0x04 /* EEPROM clock */
27 #define EEPROM_DATO 0x08 /* Data out */
28 #define EEPROM_DATI 0x10 /* Data in */
33 for (x=0; x<100000; x++) __asm__ __volatile__(""); })
62 for (i = 0; i < BITS_IN_COMMAND; i++) { in eeprom_cmd()
79 unsigned short res = 0; in ip22_eeprom_read()
87 for (i = 0; i < 16; i++) { in ip22_eeprom_read()
117 tmp = hpc3c0->bbram[reg++] & 0xff; in ip22_nvram_read()
118 return (tmp << 8) | (hpc3c0->bbram[reg] & 0xff); in ip22_nvram_read()