• Home
  • Raw
  • Download

Lines Matching refs:edata

2962 static int igb_get_eee(struct net_device *netdev, struct ethtool_eee *edata)  in igb_get_eee()  argument
2973 edata->supported = (SUPPORTED_1000baseT_Full | in igb_get_eee()
2976 edata->advertised = in igb_get_eee()
2981 igb_get_eee_status_i354(hw, (bool *)&edata->eee_active); in igb_get_eee()
2989 edata->eee_active = true; in igb_get_eee()
2992 edata->tx_lpi_enabled = true; in igb_get_eee()
3003 edata->lp_advertised = mmd_eee_adv_to_ethtool_adv_t(phy_data); in igb_get_eee()
3014 edata->lp_advertised = mmd_eee_adv_to_ethtool_adv_t(phy_data); in igb_get_eee()
3021 edata->eee_enabled = !hw->dev_spec._82575.eee_disable; in igb_get_eee()
3024 (edata->eee_enabled)) in igb_get_eee()
3025 edata->tx_lpi_enabled = true; in igb_get_eee()
3031 edata->eee_enabled = false; in igb_get_eee()
3032 edata->eee_active = false; in igb_get_eee()
3033 edata->tx_lpi_enabled = false; in igb_get_eee()
3034 edata->advertised &= ~edata->advertised; in igb_get_eee()
3041 struct ethtool_eee *edata) in igb_set_eee() argument
3060 if (eee_curr.tx_lpi_enabled != edata->tx_lpi_enabled) { in igb_set_eee()
3067 if (edata->tx_lpi_timer) { in igb_set_eee()
3073 if (!edata->advertised || (edata->advertised & in igb_set_eee()
3079 adv100m_eee = !!(edata->advertised & ADVERTISE_100_FULL); in igb_set_eee()
3080 adv1g_eee = !!(edata->advertised & ADVERTISE_1000_FULL); in igb_set_eee()
3082 } else if (!edata->eee_enabled) { in igb_set_eee()
3088 adapter->eee_advert = ethtool_adv_to_mmd_eee_adv_t(edata->advertised); in igb_set_eee()
3089 if (hw->dev_spec._82575.eee_disable != !edata->eee_enabled) { in igb_set_eee()
3090 hw->dev_spec._82575.eee_disable = !edata->eee_enabled; in igb_set_eee()