Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c80 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()
[all …]
/Linux-v4.19/drivers/net/ethernet/dec/tulip/
Dde4x5.c976 static void mii_address(u_char addr, u_long ioaddr);
4814 mii_address(phyaddr, ioaddr); /* PHY address to be accessed */ in mii_rd()
4815 mii_address(phyreg, ioaddr); /* PHY Register to read */ in mii_rd()
4827 mii_address(phyaddr, ioaddr); /* PHY address to be accessed */ in mii_wr()
4828 mii_address(phyreg, ioaddr); /* PHY Register to write */ in mii_wr()
4860 mii_address(u_char addr, u_long ioaddr) in mii_address() function