Lines Matching refs:netdev

37 spider_net_ethtool_get_link_ksettings(struct net_device *netdev,  in spider_net_ethtool_get_link_ksettings()  argument
41 card = netdev_priv(netdev); in spider_net_ethtool_get_link_ksettings()
59 spider_net_ethtool_get_drvinfo(struct net_device *netdev, in spider_net_ethtool_get_drvinfo() argument
63 card = netdev_priv(netdev); in spider_net_ethtool_get_drvinfo()
76 spider_net_ethtool_get_wol(struct net_device *netdev, in spider_net_ethtool_get_wol() argument
85 spider_net_ethtool_get_msglevel(struct net_device *netdev) in spider_net_ethtool_get_msglevel() argument
88 card = netdev_priv(netdev); in spider_net_ethtool_get_msglevel()
93 spider_net_ethtool_set_msglevel(struct net_device *netdev, in spider_net_ethtool_set_msglevel() argument
97 card = netdev_priv(netdev); in spider_net_ethtool_set_msglevel()
102 spider_net_ethtool_nway_reset(struct net_device *netdev) in spider_net_ethtool_nway_reset() argument
104 if (netif_running(netdev)) { in spider_net_ethtool_nway_reset()
105 spider_net_stop(netdev); in spider_net_ethtool_nway_reset()
106 spider_net_open(netdev); in spider_net_ethtool_nway_reset()
112 spider_net_ethtool_get_ringparam(struct net_device *netdev, in spider_net_ethtool_get_ringparam() argument
115 struct spider_net_card *card = netdev_priv(netdev); in spider_net_ethtool_get_ringparam()
123 static int spider_net_get_sset_count(struct net_device *netdev, int sset) in spider_net_get_sset_count() argument
133 static void spider_net_get_ethtool_stats(struct net_device *netdev, in spider_net_get_ethtool_stats() argument
136 struct spider_net_card *card = netdev_priv(netdev); in spider_net_get_ethtool_stats()
138 data[0] = netdev->stats.tx_packets; in spider_net_get_ethtool_stats()
139 data[1] = netdev->stats.tx_bytes; in spider_net_get_ethtool_stats()
140 data[2] = netdev->stats.rx_packets; in spider_net_get_ethtool_stats()
141 data[3] = netdev->stats.rx_bytes; in spider_net_get_ethtool_stats()
142 data[4] = netdev->stats.tx_errors; in spider_net_get_ethtool_stats()
143 data[5] = netdev->stats.tx_dropped; in spider_net_get_ethtool_stats()
144 data[6] = netdev->stats.rx_dropped; in spider_net_get_ethtool_stats()
153 static void spider_net_get_strings(struct net_device *netdev, u32 stringset, in spider_net_get_strings() argument