Lines Matching refs:mii_address
80 unsigned int mii_address = priv->hw->mii.addr; in stmmac_xgmac2_mdio_read() local
103 writel(addr, priv->ioaddr + mii_address); in stmmac_xgmac2_mdio_read()
120 unsigned int mii_address = priv->hw->mii.addr; in stmmac_xgmac2_mdio_write() local
144 writel(addr, priv->ioaddr + mii_address); in stmmac_xgmac2_mdio_write()
166 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_read() local
180 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read()
184 writel(value, priv->ioaddr + mii_address); in stmmac_mdio_read()
186 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read()
209 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_write() local
226 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_write()
232 writel(value, priv->ioaddr + mii_address); in stmmac_mdio_write()
235 return readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_write()
249 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_reset() local
300 writel(0, priv->ioaddr + mii_address); in stmmac_mdio_reset()