Lines Matching refs:netdev
76 static int igbvf_get_settings(struct net_device *netdev, in igbvf_get_settings() argument
79 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_settings()
113 static int igbvf_set_settings(struct net_device *netdev, in igbvf_set_settings() argument
119 static void igbvf_get_pauseparam(struct net_device *netdev, in igbvf_get_pauseparam() argument
125 static int igbvf_set_pauseparam(struct net_device *netdev, in igbvf_set_pauseparam() argument
131 static u32 igbvf_get_msglevel(struct net_device *netdev) in igbvf_get_msglevel() argument
133 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_msglevel()
137 static void igbvf_set_msglevel(struct net_device *netdev, u32 data) in igbvf_set_msglevel() argument
139 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_set_msglevel()
143 static int igbvf_get_regs_len(struct net_device *netdev) in igbvf_get_regs_len() argument
149 static void igbvf_get_regs(struct net_device *netdev, in igbvf_get_regs() argument
152 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_regs()
173 static int igbvf_get_eeprom_len(struct net_device *netdev) in igbvf_get_eeprom_len() argument
178 static int igbvf_get_eeprom(struct net_device *netdev, in igbvf_get_eeprom() argument
184 static int igbvf_set_eeprom(struct net_device *netdev, in igbvf_set_eeprom() argument
190 static void igbvf_get_drvinfo(struct net_device *netdev, in igbvf_get_drvinfo() argument
193 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_drvinfo()
200 drvinfo->regdump_len = igbvf_get_regs_len(netdev); in igbvf_get_drvinfo()
201 drvinfo->eedump_len = igbvf_get_eeprom_len(netdev); in igbvf_get_drvinfo()
204 static void igbvf_get_ringparam(struct net_device *netdev, in igbvf_get_ringparam() argument
207 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_ringparam()
217 static int igbvf_set_ringparam(struct net_device *netdev, in igbvf_set_ringparam() argument
220 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_set_ringparam()
245 if (!netif_running(adapter->netdev)) { in igbvf_set_ringparam()
310 static void igbvf_diag_test(struct net_device *netdev, in igbvf_diag_test() argument
313 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_diag_test()
328 static void igbvf_get_wol(struct net_device *netdev, in igbvf_get_wol() argument
335 static int igbvf_set_wol(struct net_device *netdev, in igbvf_set_wol() argument
341 static int igbvf_get_coalesce(struct net_device *netdev, in igbvf_get_coalesce() argument
344 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_coalesce()
354 static int igbvf_set_coalesce(struct net_device *netdev, in igbvf_set_coalesce() argument
357 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_set_coalesce()
389 static int igbvf_nway_reset(struct net_device *netdev) in igbvf_nway_reset() argument
391 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_nway_reset()
392 if (netif_running(netdev)) in igbvf_nway_reset()
398 static void igbvf_get_ethtool_stats(struct net_device *netdev, in igbvf_get_ethtool_stats() argument
402 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_ethtool_stats()
430 static void igbvf_get_strings(struct net_device *netdev, u32 stringset, in igbvf_get_strings() argument
477 void igbvf_set_ethtool_ops(struct net_device *netdev) in igbvf_set_ethtool_ops() argument
479 SET_ETHTOOL_OPS(netdev, &igbvf_ethtool_ops); in igbvf_set_ethtool_ops()