Lines Matching refs:mii_address
84 unsigned int mii_address = priv->hw->mii.addr; in stmmac_xgmac2_mdio_read() local
112 writel(addr, priv->ioaddr + mii_address); in stmmac_xgmac2_mdio_read()
167 unsigned int mii_address = priv->hw->mii.addr; in stmmac_xgmac2_mdio_write() local
196 writel(addr, priv->ioaddr + mii_address); in stmmac_xgmac2_mdio_write()
246 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_read() local
250 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read()
255 writel(value, priv->ioaddr + mii_address); in stmmac_mdio_read()
257 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read()
347 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_write() local
352 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_write()
358 writel(value, priv->ioaddr + mii_address); in stmmac_mdio_write()
361 return readl_poll_timeout(priv->ioaddr + mii_address, v, in stmmac_mdio_write()
457 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_reset() local
493 writel(0, priv->ioaddr + mii_address); in stmmac_mdio_reset()