Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dsmc911x.c37 while (smc911x_get_mac_csr(dev, MII_ACC) & MII_ACC_MII_BUSY) in smc911x_eth_phy_read()
40 smc911x_set_mac_csr(dev, MII_ACC, phy << 11 | reg << 6 | in smc911x_eth_phy_read()
43 while (smc911x_get_mac_csr(dev, MII_ACC) & MII_ACC_MII_BUSY) in smc911x_eth_phy_read()
54 while (smc911x_get_mac_csr(dev, MII_ACC) & MII_ACC_MII_BUSY) in smc911x_eth_phy_write()
58 smc911x_set_mac_csr(dev, MII_ACC, in smc911x_eth_phy_write()
61 while (smc911x_get_mac_csr(dev, MII_ACC) & MII_ACC_MII_BUSY) in smc911x_eth_phy_write()
H A Dsmc911x.h340 #define MII_ACC 0x06 /* R/W */ macro
/openbmc/u-boot/drivers/usb/eth/
H A Dlan7x.c63 MII_ACC, MII_ACC_MII_BUSY, in lan7x_phy_wait_not_busy()
80 lan7x_write_reg(udev, MII_ACC, addr); in lan7x_mdio_read()
107 lan7x_write_reg(udev, MII_ACC, addr); in lan7x_mdio_write()
H A Dlan7x.h73 #define MII_ACC 0x120 macro
/openbmc/linux/drivers/net/ethernet/smsc/
H A Dsmsc911x.h346 #define MII_ACC 0x06 macro
H A Dsmsc911x.c563 if (unlikely(smsc911x_mac_read(pdata, MII_ACC) & MII_ACC_MII_BUSY_)) { in smsc911x_mii_read()
571 smsc911x_mac_write(pdata, MII_ACC, addr); in smsc911x_mii_read()
575 if (!(smsc911x_mac_read(pdata, MII_ACC) & MII_ACC_MII_BUSY_)) { in smsc911x_mii_read()
602 if (unlikely(smsc911x_mac_read(pdata, MII_ACC) & MII_ACC_MII_BUSY_)) { in smsc911x_mii_write()
614 smsc911x_mac_write(pdata, MII_ACC, addr); in smsc911x_mii_write()
618 if (!(smsc911x_mac_read(pdata, MII_ACC) & MII_ACC_MII_BUSY_)) { in smsc911x_mii_write()
/openbmc/linux/drivers/net/usb/
H A Dlan78xx.h595 #define MII_ACC (0x120) macro
H A Dlan78xx.c340 MII_ACC,
828 ret = lan78xx_read_reg(dev, MII_ACC, &val); in lan78xx_phy_wait_not_busy()
2012 ret = lan78xx_write_reg(dev, MII_ACC, addr); in lan78xx_mdiobus_read()
2052 ret = lan78xx_write_reg(dev, MII_ACC, addr); in lan78xx_mdiobus_write()