Lines Matching refs:eee
1716 const struct ethtool_eee *eee) in eee_to_keee() argument
1720 keee->eee_enabled = eee->eee_enabled; in eee_to_keee()
1721 keee->tx_lpi_enabled = eee->tx_lpi_enabled; in eee_to_keee()
1722 keee->tx_lpi_timer = eee->tx_lpi_timer; in eee_to_keee()
1725 eee->advertised); in eee_to_keee()
1728 static void keee_to_eee(struct ethtool_eee *eee, in keee_to_eee() argument
1733 memset(eee, 0, sizeof(*eee)); in keee_to_eee()
1735 eee->eee_active = keee->eee_active; in keee_to_eee()
1736 eee->eee_enabled = keee->eee_enabled; in keee_to_eee()
1737 eee->tx_lpi_enabled = keee->tx_lpi_enabled; in keee_to_eee()
1738 eee->tx_lpi_timer = keee->tx_lpi_timer; in keee_to_eee()
1740 overflow = !ethtool_convert_link_mode_to_legacy_u32(&eee->supported, in keee_to_eee()
1742 ethtool_convert_link_mode_to_legacy_u32(&eee->advertised, in keee_to_eee()
1744 ethtool_convert_link_mode_to_legacy_u32(&eee->lp_advertised, in keee_to_eee()
1753 struct ethtool_eee eee; in ethtool_get_eee() local
1764 keee_to_eee(&eee, &keee); in ethtool_get_eee()
1765 if (copy_to_user(useraddr, &eee, sizeof(eee))) in ethtool_get_eee()
1774 struct ethtool_eee eee; in ethtool_set_eee() local
1780 if (copy_from_user(&eee, useraddr, sizeof(eee))) in ethtool_set_eee()
1783 eee_to_keee(&keee, &eee); in ethtool_set_eee()