Lines Matching defs:ndev
68 struct net_device *ndev = bus->priv;
69 struct stmmac_priv *priv = netdev_priv(ndev);
103 struct net_device *ndev = bus->priv;
104 struct stmmac_priv *priv = netdev_priv(ndev);
134 struct net_device *ndev = bus->priv;
135 struct stmmac_priv *priv = netdev_priv(ndev);
189 * @ndev: net device structure
192 int stmmac_mdio_register(struct net_device *ndev)
197 struct stmmac_priv *priv = netdev_priv(ndev);
227 new_bus->priv = ndev;
277 ndev->name, phydev->phy_id, addr,
285 pr_warn("%s: No PHY found\n", ndev->name);
302 * @ndev: net device structure
305 int stmmac_mdio_unregister(struct net_device *ndev)
307 struct stmmac_priv *priv = netdev_priv(ndev);