Searched refs:EECTL (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/ethernet/smsc/ |
H A D | epic100.c | 193 COMMAND=0, INTSTAT=4, INTMASK=8, GENCTL=0x0C, NVCTL=0x10, EECTL=0x14, enumerator 531 #define eeprom_delay() er32(EECTL) 577 (er32(EECTL) & 0x40 ? EE_READ64_CMD : EE_READ256_CMD); in read_eeprom() 579 ew32(EECTL, EE_ENB & ~EE_CS); in read_eeprom() 580 ew32(EECTL, EE_ENB); in read_eeprom() 585 ew32(EECTL, EE_ENB | dataval); in read_eeprom() 587 ew32(EECTL, EE_ENB | dataval | EE_SHIFT_CLK); in read_eeprom() 590 ew32(EECTL, EE_ENB); in read_eeprom() 593 ew32(EECTL, EE_ENB | EE_SHIFT_CLK); in read_eeprom() 595 retval = (retval << 1) | ((er32(EECTL) & EE_DATA_READ) ? 1 : 0); in read_eeprom() [all …]
|