Searched refs:eectl (Results 1 – 1 of 1) sorted by relevance
68 static int eectl ; variable122 eectl = ioaddr + EECTL; /* EEPROM Control */ in epic100_probe()460 outl(EE_ENB & ~EE_CS, eectl); in read_eeprom()461 outl(EE_ENB, eectl); in read_eeprom()466 outl(EE_ENB | dataval, eectl); in read_eeprom()468 outl(EE_ENB | dataval | EE_SHIFT_CLK, eectl); in read_eeprom()470 outl(EE_ENB | dataval, eectl); /* Finish EEPROM a clock tick. */ in read_eeprom()473 outl(EE_ENB, eectl); in read_eeprom()476 outl(EE_ENB | EE_SHIFT_CLK, eectl); in read_eeprom()478 retval = (retval << 1) | ((inl(eectl) & EE_DATA_READ) ? 1 : 0); in read_eeprom()[all …]