Searched refs:mii_address (Results 1 – 2 of 2) sorted by relevance
50 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_read() local58 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() local92 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() local124 writel(0, priv->ioaddr + mii_address); in stmmac_mdio_reset()
976 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