Lines Matching refs:ndev
68 struct net_device *ndev = bus->priv; in stmmac_mdio_read() local
69 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_read()
103 struct net_device *ndev = bus->priv; in stmmac_mdio_write() local
104 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_write()
134 struct net_device *ndev = bus->priv; in stmmac_mdio_reset() local
135 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_reset()
192 int stmmac_mdio_register(struct net_device *ndev) in stmmac_mdio_register() argument
197 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_register()
227 new_bus->priv = ndev; in stmmac_mdio_register()
277 ndev->name, phydev->phy_id, addr, in stmmac_mdio_register()
285 pr_warn("%s: No PHY found\n", ndev->name); in stmmac_mdio_register()
305 int stmmac_mdio_unregister(struct net_device *ndev) in stmmac_mdio_unregister() argument
307 struct stmmac_priv *priv = netdev_priv(ndev); in stmmac_mdio_unregister()