Searched refs:SCBeeprom (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/net/ |
H A D | eepro100.c | 26 #define SCBeeprom 14 /* EEPROM memory control. */ macro 755 OUTW (dev, EE_ENB & ~EE_CS, SCBeeprom); in read_eeprom() 756 OUTW (dev, EE_ENB, SCBeeprom); in read_eeprom() 762 OUTW (dev, EE_ENB | dataval, SCBeeprom); in read_eeprom() 764 OUTW (dev, EE_ENB | dataval | EE_SHIFT_CLK, SCBeeprom); in read_eeprom() 767 OUTW (dev, EE_ENB, SCBeeprom); in read_eeprom() 770 OUTW (dev, EE_ENB | EE_SHIFT_CLK, SCBeeprom); in read_eeprom() 773 ((INW (dev, SCBeeprom) & EE_DATA_READ) ? 1 : 0); in read_eeprom() 774 OUTW (dev, EE_ENB, SCBeeprom); in read_eeprom() 779 OUTW (dev, EE_ENB & ~EE_CS, SCBeeprom); in read_eeprom() [all …]
|
/openbmc/qemu/hw/net/ |
H A D | eepro100.c | 160 SCBeeprom = 14, /* EEPROM control. */ enumerator 1094 uint16_t val = e100_read_reg2(s, SCBeeprom); in eepro100_read_eeprom() 1350 case SCBeeprom: in eepro100_read1() 1391 case SCBeeprom: in eepro100_read2() 1486 case SCBeeprom: in eepro100_write1() 1534 case SCBeeprom: in eepro100_write2()
|