Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c86 unsigned int mii_address = priv->hw->mii.addr; in stmmac_xgmac2_mdio_read() local
130 writel(addr, priv->ioaddr + mii_address); in stmmac_xgmac2_mdio_read()
154 unsigned int mii_address = priv->hw->mii.addr; in stmmac_xgmac2_mdio_write() local
199 writel(addr, priv->ioaddr + mii_address); in stmmac_xgmac2_mdio_write()
226 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_read() local
257 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read()
264 writel(value, priv->ioaddr + mii_address); in stmmac_mdio_read()
266 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read()
294 unsigned int mii_address = priv->hw->mii.addr; in stmmac_mdio_write() local
329 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_write()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Dde4x5.c976 static void mii_address(u_char addr, u_long ioaddr);
4815 mii_address(phyaddr, ioaddr); /* PHY address to be accessed */ in mii_rd()
4816 mii_address(phyreg, ioaddr); /* PHY Register to read */ in mii_rd()
4828 mii_address(phyaddr, ioaddr); /* PHY address to be accessed */ in mii_wr()
4829 mii_address(phyreg, ioaddr); /* PHY Register to write */ in mii_wr()
4861 mii_address(u_char addr, u_long ioaddr) in mii_address() function