Lines Matching refs:netdev
97 ixgb_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in ixgb_get_settings() argument
99 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_get_settings()
106 if (netif_carrier_ok(adapter->netdev)) { in ixgb_get_settings()
118 void ixgb_set_speed_duplex(struct net_device *netdev) in ixgb_set_speed_duplex() argument
120 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_set_speed_duplex()
124 netif_carrier_on(netdev); in ixgb_set_speed_duplex()
125 netif_wake_queue(netdev); in ixgb_set_speed_duplex()
129 ixgb_set_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in ixgb_set_settings() argument
131 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_set_settings()
138 if (netif_running(adapter->netdev)) { in ixgb_set_settings()
142 ixgb_set_speed_duplex(netdev); in ixgb_set_settings()
150 ixgb_get_pauseparam(struct net_device *netdev, in ixgb_get_pauseparam() argument
153 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_get_pauseparam()
169 ixgb_set_pauseparam(struct net_device *netdev, in ixgb_set_pauseparam() argument
172 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_set_pauseparam()
187 if (netif_running(adapter->netdev)) { in ixgb_set_pauseparam()
190 ixgb_set_speed_duplex(netdev); in ixgb_set_pauseparam()
198 ixgb_get_msglevel(struct net_device *netdev) in ixgb_get_msglevel() argument
200 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_get_msglevel()
205 ixgb_set_msglevel(struct net_device *netdev, u32 data) in ixgb_set_msglevel() argument
207 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_set_msglevel()
213 ixgb_get_regs_len(struct net_device *netdev) in ixgb_get_regs_len() argument
220 ixgb_get_regs(struct net_device *netdev, in ixgb_get_regs() argument
223 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_get_regs()
360 ixgb_get_eeprom_len(struct net_device *netdev) in ixgb_get_eeprom_len() argument
367 ixgb_get_eeprom(struct net_device *netdev, in ixgb_get_eeprom() argument
370 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_get_eeprom()
383 max_len = ixgb_get_eeprom_len(netdev); in ixgb_get_eeprom()
413 ixgb_set_eeprom(struct net_device *netdev, in ixgb_set_eeprom() argument
416 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_set_eeprom()
429 max_len = ixgb_get_eeprom_len(netdev); in ixgb_set_eeprom()
471 ixgb_get_drvinfo(struct net_device *netdev, in ixgb_get_drvinfo() argument
474 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_get_drvinfo()
485 ixgb_get_ringparam(struct net_device *netdev, in ixgb_get_ringparam() argument
488 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_get_ringparam()
499 ixgb_set_ringparam(struct net_device *netdev, in ixgb_set_ringparam() argument
502 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_set_ringparam()
514 if (netif_running(adapter->netdev)) in ixgb_set_ringparam()
525 if (netif_running(adapter->netdev)) { in ixgb_set_ringparam()
545 ixgb_set_speed_duplex(netdev); in ixgb_set_ringparam()
559 ixgb_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) in ixgb_set_phys_id() argument
561 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_set_phys_id()
580 ixgb_get_sset_count(struct net_device *netdev, int sset) in ixgb_get_sset_count() argument
591 ixgb_get_ethtool_stats(struct net_device *netdev, in ixgb_get_ethtool_stats() argument
594 struct ixgb_adapter *adapter = netdev_priv(netdev); in ixgb_get_ethtool_stats()
602 p = (char *) netdev + in ixgb_get_ethtool_stats()
617 ixgb_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in ixgb_get_strings() argument
654 void ixgb_set_ethtool_ops(struct net_device *netdev) in ixgb_set_ethtool_ops() argument
656 netdev->ethtool_ops = &ixgb_ethtool_ops; in ixgb_set_ethtool_ops()