Lines Matching refs:netdev

91 static void bdx_set_ethtool_ops(struct net_device *netdev);
2106 static int bdx_get_link_ksettings(struct net_device *netdev, in bdx_get_link_ksettings() argument
2132 bdx_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in bdx_get_drvinfo() argument
2134 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_drvinfo()
2148 static int bdx_get_coalesce(struct net_device *netdev, in bdx_get_coalesce() argument
2155 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_coalesce()
2179 static int bdx_set_coalesce(struct net_device *netdev, in bdx_set_coalesce() argument
2186 struct bdx_priv *priv = netdev_priv(netdev); in bdx_set_coalesce()
2244 bdx_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, in bdx_get_ringparam() argument
2248 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_ringparam()
2265 bdx_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, in bdx_set_ringparam() argument
2269 struct bdx_priv *priv = netdev_priv(netdev); in bdx_set_ringparam()
2300 if (netif_running(netdev)) { in bdx_set_ringparam()
2301 bdx_close(netdev); in bdx_set_ringparam()
2302 bdx_open(netdev); in bdx_set_ringparam()
2312 static void bdx_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in bdx_get_strings() argument
2325 static int bdx_get_sset_count(struct net_device *netdev, int stringset) in bdx_get_sset_count() argument
2327 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_sset_count()
2345 static void bdx_get_ethtool_stats(struct net_device *netdev, in bdx_get_ethtool_stats() argument
2348 struct bdx_priv *priv = netdev_priv(netdev); in bdx_get_ethtool_stats()
2364 static void bdx_set_ethtool_ops(struct net_device *netdev) in bdx_set_ethtool_ops() argument
2381 netdev->ethtool_ops = &bdx_ethtool_ops; in bdx_set_ethtool_ops()