Lines Matching refs:eectl
73 static int eectl ; variable
133 eectl = ioaddr + EECTL; /* EEPROM Control */ in epic100_probe()
468 outl(EE_ENB & ~EE_CS, eectl); in read_eeprom()
469 outl(EE_ENB, eectl); in read_eeprom()
474 outl(EE_ENB | dataval, eectl); in read_eeprom()
476 outl(EE_ENB | dataval | EE_SHIFT_CLK, eectl); in read_eeprom()
478 outl(EE_ENB | dataval, eectl); /* Finish EEPROM a clock tick. */ in read_eeprom()
481 outl(EE_ENB, eectl); in read_eeprom()
484 outl(EE_ENB | EE_SHIFT_CLK, eectl); in read_eeprom()
486 retval = (retval << 1) | ((inl(eectl) & EE_DATA_READ) ? 1 : 0); in read_eeprom()
487 outl(EE_ENB, eectl); in read_eeprom()
492 outl(EE_ENB & ~EE_CS, eectl); in read_eeprom()