Searched refs:eectl (Results 1 – 1 of 1) sorted by relevance
67 static int eectl ; variable128 eectl = ioaddr + EECTL; /* EEPROM Control */ in epic100_probe()436 outl(EE_ENB & ~EE_CS, eectl); in read_eeprom()437 outl(EE_ENB, eectl); in read_eeprom()442 outl(EE_ENB | dataval, eectl); in read_eeprom()444 outl(EE_ENB | dataval | EE_SHIFT_CLK, eectl); in read_eeprom()446 outl(EE_ENB | dataval, eectl); /* Finish EEPROM a clock tick. */ in read_eeprom()449 outl(EE_ENB, eectl); in read_eeprom()452 outl(EE_ENB | EE_SHIFT_CLK, eectl); in read_eeprom()454 retval = (retval << 1) | ((inl(eectl) & EE_DATA_READ) ? 1 : 0); in read_eeprom()[all …]