Home | History | Annotate | Download | only in netboot

Lines Matching refs:EECTL

67 static int	eectl  ;
128 eectl = ioaddr + EECTL; /* EEPROM Control */
436 outl(EE_ENB & ~EE_CS, eectl);
437 outl(EE_ENB, eectl);
442 outl(EE_ENB | dataval, eectl);
444 outl(EE_ENB | dataval | EE_SHIFT_CLK, eectl);
446 outl(EE_ENB | dataval, eectl); /* Finish EEPROM a clock tick. */
449 outl(EE_ENB, eectl);
452 outl(EE_ENB | EE_SHIFT_CLK, eectl);
454 retval = (retval << 1) | ((inl(eectl) & EE_DATA_READ) ? 1 : 0);
455 outl(EE_ENB, eectl);
460 outl(EE_ENB & ~EE_CS, eectl);