Searched refs:EECTL (Results 1 – 1 of 1) sorted by relevance
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()596 ew32(EECTL, EE_ENB); in read_eeprom()[all …]