Lines Matching refs:netdev

106 static int enic_get_settings(struct net_device *netdev,  in enic_get_settings()  argument
109 struct enic *enic = netdev_priv(netdev); in enic_get_settings()
116 if (netif_carrier_ok(netdev)) { in enic_get_settings()
129 static void enic_get_drvinfo(struct net_device *netdev, in enic_get_drvinfo() argument
132 struct enic *enic = netdev_priv(netdev); in enic_get_drvinfo()
152 static void enic_get_strings(struct net_device *netdev, u32 stringset, in enic_get_strings() argument
175 static int enic_get_sset_count(struct net_device *netdev, int sset) in enic_get_sset_count() argument
185 static void enic_get_ethtool_stats(struct net_device *netdev, in enic_get_ethtool_stats() argument
188 struct enic *enic = netdev_priv(netdev); in enic_get_ethtool_stats()
209 static u32 enic_get_msglevel(struct net_device *netdev) in enic_get_msglevel() argument
211 struct enic *enic = netdev_priv(netdev); in enic_get_msglevel()
215 static void enic_set_msglevel(struct net_device *netdev, u32 value) in enic_set_msglevel() argument
217 struct enic *enic = netdev_priv(netdev); in enic_set_msglevel()
221 static int enic_get_coalesce(struct net_device *netdev, in enic_get_coalesce() argument
224 struct enic *enic = netdev_priv(netdev); in enic_get_coalesce()
274 …netdev_info(enic->netdev, "ethtool_set_coalesce: adaptor supports max coalesce value of %d. Settin… in enic_coalesce_valid()
285 static int enic_set_coalesce(struct net_device *netdev, in enic_set_coalesce() argument
288 struct enic *enic = netdev_priv(netdev); in enic_set_coalesce()
468 static u32 enic_get_rxfh_key_size(struct net_device *netdev) in enic_get_rxfh_key_size() argument
473 static int enic_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, in enic_get_rxfh() argument
476 struct enic *enic = netdev_priv(netdev); in enic_get_rxfh()
487 static int enic_set_rxfh(struct net_device *netdev, const u32 *indir, in enic_set_rxfh() argument
490 struct enic *enic = netdev_priv(netdev); in enic_set_rxfh()
521 void enic_set_ethtool_ops(struct net_device *netdev) in enic_set_ethtool_ops() argument
523 netdev->ethtool_ops = &enic_ethtool_ops; in enic_set_ethtool_ops()