Home
last modified time | relevance | path

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

/u-boot/drivers/net/
A Dnatsemi.c418 #define eeprom_delay(ee_addr) INL(dev, ee_addr) argument
440 int ee_addr = (typeof(ee_addr))addr;
452 eeprom_delay(ee_addr);
454 eeprom_delay(ee_addr);
459 eeprom_delay(ee_addr);
465 eeprom_delay(ee_addr);
486 eeprom_delay(ee_addr);
490 OUTL(dev, 0, ee_addr);
500 int ee_addr = (typeof(ee_addr))addr; in read_eeprom() local
514 eeprom_delay(ee_addr); in read_eeprom()
[all …]
A Drtl8139.c247 uintptr_t ee_addr = priv->ioaddr + RTL_REG_CFG9346; in rtl8139_read_eeprom() local
252 outb(EE_ENB & ~EE_CS, ee_addr); in rtl8139_read_eeprom()
253 outb(EE_ENB, ee_addr); in rtl8139_read_eeprom()
259 outb(EE_ENB | dataval, ee_addr); in rtl8139_read_eeprom()
261 outb(EE_ENB | dataval | EE_SHIFT_CLK, ee_addr); in rtl8139_read_eeprom()
265 outb(EE_ENB, ee_addr); in rtl8139_read_eeprom()
269 outb(EE_ENB | EE_SHIFT_CLK, ee_addr); in rtl8139_read_eeprom()
272 retval |= inb(ee_addr) & EE_DATA_READ; in rtl8139_read_eeprom()
273 outb(EE_ENB, ee_addr); in rtl8139_read_eeprom()
278 outb(~EE_CS, ee_addr); in rtl8139_read_eeprom()

Completed in 9 milliseconds