• Home
  • Raw
  • Download

Lines Matching refs:netdev

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