Lines Matching refs:netdev
66 static u32 emac_get_msglevel(struct net_device *netdev)
68 struct emac_adapter *adpt = netdev_priv(netdev);
73 static void emac_set_msglevel(struct net_device *netdev, u32 data)
75 struct emac_adapter *adpt = netdev_priv(netdev);
80 static int emac_get_sset_count(struct net_device *netdev, int sset)
92 static void emac_get_strings(struct net_device *netdev, u32 stringset, u8 *data)
111 static void emac_get_ethtool_stats(struct net_device *netdev,
115 struct emac_adapter *adpt = netdev_priv(netdev);
125 static int emac_nway_reset(struct net_device *netdev)
127 struct phy_device *phydev = netdev->phydev;
135 static void emac_get_ringparam(struct net_device *netdev,
138 struct emac_adapter *adpt = netdev_priv(netdev);
146 static int emac_set_ringparam(struct net_device *netdev,
149 struct emac_adapter *adpt = netdev_priv(netdev);
163 if (netif_running(netdev))
169 static void emac_get_pauseparam(struct net_device *netdev,
172 struct emac_adapter *adpt = netdev_priv(netdev);
179 static int emac_set_pauseparam(struct net_device *netdev,
182 struct emac_adapter *adpt = netdev_priv(netdev);
188 if (netif_running(netdev))
212 static void emac_get_regs(struct net_device *netdev,
215 struct emac_adapter *adpt = netdev_priv(netdev);
226 static int emac_get_regs_len(struct net_device *netdev)
233 static int emac_set_priv_flags(struct net_device *netdev, u32 flags)
235 struct emac_adapter *adpt = netdev_priv(netdev);
239 if (netif_running(netdev))
245 static u32 emac_get_priv_flags(struct net_device *netdev)
247 struct emac_adapter *adpt = netdev_priv(netdev);
280 void emac_set_ethtool_ops(struct net_device *netdev)
282 netdev->ethtool_ops = &emac_ethtool_ops;