Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/smsc/
Depic100.c193 COMMAND=0, INTSTAT=4, INTMASK=8, GENCTL=0x0C, NVCTL=0x10, EECTL=0x14, enumerator
529 #define eeprom_delay() er32(EECTL)
575 (er32(EECTL) & 0x40 ? EE_READ64_CMD : EE_READ256_CMD); in read_eeprom()
577 ew32(EECTL, EE_ENB & ~EE_CS); in read_eeprom()
578 ew32(EECTL, EE_ENB); in read_eeprom()
583 ew32(EECTL, EE_ENB | dataval); in read_eeprom()
585 ew32(EECTL, EE_ENB | dataval | EE_SHIFT_CLK); in read_eeprom()
588 ew32(EECTL, EE_ENB); in read_eeprom()
591 ew32(EECTL, EE_ENB | EE_SHIFT_CLK); in read_eeprom()
593 retval = (retval << 1) | ((er32(EECTL) & EE_DATA_READ) ? 1 : 0); in read_eeprom()
[all …]