Lines Matching refs:netdev

74 static int igbvf_get_settings(struct net_device *netdev,  in igbvf_get_settings()  argument
77 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_settings()
111 static int igbvf_set_settings(struct net_device *netdev, in igbvf_set_settings() argument
117 static void igbvf_get_pauseparam(struct net_device *netdev, in igbvf_get_pauseparam() argument
122 static int igbvf_set_pauseparam(struct net_device *netdev, in igbvf_set_pauseparam() argument
128 static u32 igbvf_get_msglevel(struct net_device *netdev) in igbvf_get_msglevel() argument
130 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_msglevel()
135 static void igbvf_set_msglevel(struct net_device *netdev, u32 data) in igbvf_set_msglevel() argument
137 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_set_msglevel()
142 static int igbvf_get_regs_len(struct net_device *netdev) in igbvf_get_regs_len() argument
148 static void igbvf_get_regs(struct net_device *netdev, in igbvf_get_regs() argument
151 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_regs()
172 static int igbvf_get_eeprom_len(struct net_device *netdev) in igbvf_get_eeprom_len() argument
177 static int igbvf_get_eeprom(struct net_device *netdev, in igbvf_get_eeprom() argument
183 static int igbvf_set_eeprom(struct net_device *netdev, in igbvf_set_eeprom() argument
189 static void igbvf_get_drvinfo(struct net_device *netdev, in igbvf_get_drvinfo() argument
192 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_drvinfo()
199 drvinfo->regdump_len = igbvf_get_regs_len(netdev); in igbvf_get_drvinfo()
200 drvinfo->eedump_len = igbvf_get_eeprom_len(netdev); in igbvf_get_drvinfo()
203 static void igbvf_get_ringparam(struct net_device *netdev, in igbvf_get_ringparam() argument
206 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_ringparam()
216 static int igbvf_set_ringparam(struct net_device *netdev, in igbvf_set_ringparam() argument
219 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_set_ringparam()
244 if (!netif_running(adapter->netdev)) { in igbvf_set_ringparam()
308 static void igbvf_diag_test(struct net_device *netdev, in igbvf_diag_test() argument
311 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_diag_test()
325 static void igbvf_get_wol(struct net_device *netdev, in igbvf_get_wol() argument
332 static int igbvf_set_wol(struct net_device *netdev, in igbvf_set_wol() argument
338 static int igbvf_get_coalesce(struct net_device *netdev, in igbvf_get_coalesce() argument
341 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_coalesce()
351 static int igbvf_set_coalesce(struct net_device *netdev, in igbvf_set_coalesce() argument
354 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_set_coalesce()
386 static int igbvf_nway_reset(struct net_device *netdev) in igbvf_nway_reset() argument
388 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_nway_reset()
390 if (netif_running(netdev)) in igbvf_nway_reset()
395 static void igbvf_get_ethtool_stats(struct net_device *netdev, in igbvf_get_ethtool_stats() argument
399 struct igbvf_adapter *adapter = netdev_priv(netdev); in igbvf_get_ethtool_stats()
426 static void igbvf_get_strings(struct net_device *netdev, u32 stringset, in igbvf_get_strings() argument
473 void igbvf_set_ethtool_ops(struct net_device *netdev) in igbvf_set_ethtool_ops() argument
475 netdev->ethtool_ops = &igbvf_ethtool_ops; in igbvf_set_ethtool_ops()