Searched refs:EECTL (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/smsc/
H A Depic100.c193 COMMAND=0, INTSTAT=4, INTMASK=8, GENCTL=0x0C, NVCTL=0x10, EECTL=0x14, enumerator in enum:epic_registers
529 #define eeprom_delay() er32(EECTL)
575 (er32(EECTL) & 0x40 ? EE_READ64_CMD : EE_READ256_CMD); read_eeprom()
577 ew32(EECTL, EE_ENB & ~EE_CS); read_eeprom()
578 ew32(EECTL, EE_ENB); read_eeprom()
583 ew32(EECTL, EE_ENB | dataval); read_eeprom()
585 ew32(EECTL, EE_ENB | dataval | EE_SHIFT_CLK); read_eeprom()
588 ew32(EECTL, EE_ENB); read_eeprom()
591 ew32(EECTL, EE_ENB | EE_SHIFT_CLK); read_eeprom()
593 retval = (retval << 1) | ((er32(EECTL) & EE_DATA_READ) ? 1 : 0); read_eeprom()
594 ew32(EECTL, EE_ENB); read_eeprom()
599 ew32(EECTL, EE_ENB & ~EE_CS); read_eeprom()

Completed in 78 milliseconds