Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/stmmac/
Dstmmac_mdio.c50 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_read() local
58 do {} while (((readl(priv->ioaddr + mii_address)) & MII_BUSY) == 1); in stmmac_mdio_read()
59 writel(regValue, priv->ioaddr + mii_address); in stmmac_mdio_read()
60 do {} while (((readl(priv->ioaddr + mii_address)) & MII_BUSY) == 1); in stmmac_mdio_read()
81 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_write() local
92 do {} while (((readl(priv->ioaddr + mii_address)) & MII_BUSY) == 1); in stmmac_mdio_write()
96 writel(value, priv->ioaddr + mii_address); in stmmac_mdio_write()
99 do {} while (((readl(priv->ioaddr + mii_address)) & MII_BUSY) == 1); in stmmac_mdio_write()
113 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_reset() local
124 writel(0, priv->ioaddr + mii_address); in stmmac_mdio_reset()
/linux-2.6.39/drivers/net/tulip/
Dde4x5.c976 static void mii_address(u_char addr, u_long ioaddr);
4831 mii_address(phyaddr, ioaddr); /* PHY address to be accessed */ in mii_rd()
4832 mii_address(phyreg, ioaddr); /* PHY Register to read */ in mii_rd()
4844 mii_address(phyaddr, ioaddr); /* PHY address to be accessed */ in mii_wr()
4845 mii_address(phyreg, ioaddr); /* PHY Register to write */ in mii_wr()
4877 mii_address(u_char addr, u_long ioaddr) in mii_address() function