Lines Matching defs:eee
697 static int aq_ethtool_get_eee(struct net_device *ndev, struct ethtool_keee *eee)
713 eee_mask_to_ethtool_mask(eee->supported, supported_rates);
716 linkmode_copy(eee->advertised, eee->supported);
718 eee_mask_to_ethtool_mask(eee->lp_advertised, rate);
720 eee->eee_enabled = !linkmode_empty(eee->advertised);
722 eee->tx_lpi_enabled = eee->eee_enabled;
724 eee->eee_active = true;
729 static int aq_ethtool_set_eee(struct net_device *ndev, struct ethtool_keee *eee)
749 if (eee->eee_enabled) {