Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dns8382x.c71 EECtrl = 0x08, enumerator
407 mdio_sync(dev, EECtrl); in ns8382x_initialize()
481 OUTL(dev, dataval, EECtrl); in mdio_read()
482 mdio_delay(EECtrl); in mdio_read()
484 mdio_delay(EECtrl); in mdio_read()
489 mdio_delay(EECtrl); in mdio_read()
493 mdio_delay(EECtrl); in mdio_read()
509 mdio_delay(EECtrl); in mdio_write()
511 mdio_delay(EECtrl); in mdio_write()
516 mdio_delay(EECtrl); in mdio_write()
[all …]
H A Dnatsemi.c77 EECtrl = 0x08, enumerator
360 short eedata = read_eeprom(dev, EECtrl, i); in natsemi_initialize()
366 prev_eedata = read_eeprom(dev, EECtrl, 6); in natsemi_initialize()
368 int eedata = read_eeprom(dev, EECtrl, i + 7); in natsemi_initialize()
/openbmc/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c265 EECtrl = 0x08, enumerator
1007 void __iomem *ee_addr = addr + EECtrl; in eeprom_read()
1046 #define mii_delay(ioaddr) readl(ioaddr + EECtrl)
1053 writel(MII_ShiftClk, ioaddr + EECtrl); in mii_getbit()
1054 data = readl(ioaddr + EECtrl); in mii_getbit()
1055 writel(0, ioaddr + EECtrl); in mii_getbit()
1068 writel(mdio_val, ioaddr + EECtrl); in mii_send_bits()
1070 writel(mdio_val | MII_ShiftClk, ioaddr + EECtrl); in mii_send_bits()
1073 writel(0, ioaddr + EECtrl); in mii_send_bits()
/openbmc/linux/drivers/net/ethernet/dlink/
H A Dsundance.c251 EECtrl = 0x36, enumerator
720 iowrite16(0x0200 | (location & 0xff), ioaddr + EECtrl); in eeprom_read()
722 eeprom_delay(ioaddr + EECtrl); in eeprom_read()
723 if (! (ioread16(ioaddr + EECtrl) & 0x8000)) { in eeprom_read()
/openbmc/linux/drivers/net/ethernet/packetengines/
H A Dyellowfin.c260 EEStatus=0xF0, EECtrl=0xF1, EEAddr=0xF2, EERead=0xF3, EEWrite=0xF4, enumerator
535 iowrite8(0x30 | ((location >> 8) & 7), ioaddr + EECtrl); in read_eeprom()
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c251 RxMissed=0x20, EECtrl=0x24, MIICtrl=0x24, BootRom=0x28, GPTimer=0x2C, enumerator
494 void __iomem *ee_addr = addr + EECtrl; in eeprom_read()