Lines Matching refs:mii_address
86 unsigned int mii_address = priv->hw->mii.addr; in stmmac_xgmac2_mdio_read() local
128 writel(addr, priv->ioaddr + mii_address); in stmmac_xgmac2_mdio_read()
152 unsigned int mii_address = priv->hw->mii.addr; in stmmac_xgmac2_mdio_write() local
195 writel(addr, priv->ioaddr + mii_address); in stmmac_xgmac2_mdio_write()
222 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_read() local
251 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read()
258 writel(value, priv->ioaddr + mii_address); in stmmac_mdio_read()
260 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read()
288 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_write() local
321 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_write()
329 writel(value, priv->ioaddr + mii_address); in stmmac_mdio_write()
332 ret = readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_write()
351 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_reset() local
387 writel(0, priv->ioaddr + mii_address); in stmmac_mdio_reset()