Lines Matching refs:eee
5116 bp->eee.eee_active ? "active" : in bnxt_report_link()
5142 struct ethtool_eee *eee = &bp->eee; in bnxt_hwrm_phy_qcaps() local
5146 eee->supported = _bnxt_fw_to_ethtool_adv_spds(fw_speeds, 0); in bnxt_hwrm_phy_qcaps()
5209 struct ethtool_eee *eee = &bp->eee; in bnxt_update_link() local
5212 eee->eee_active = 0; in bnxt_update_link()
5215 eee->eee_active = 1; in bnxt_update_link()
5218 eee->lp_advertised = in bnxt_update_link()
5226 eee->eee_enabled = 1; in bnxt_update_link()
5229 eee->advertised = in bnxt_update_link()
5236 eee->tx_lpi_enabled = 1; in bnxt_update_link()
5238 eee->tx_lpi_timer = le32_to_cpu(tmr) & in bnxt_update_link()
5386 struct ethtool_eee *eee = &bp->eee; in bnxt_hwrm_set_eee() local
5388 if (eee->eee_enabled) { in bnxt_hwrm_set_eee()
5392 if (eee->tx_lpi_enabled) in bnxt_hwrm_set_eee()
5398 eee_speeds = bnxt_get_fw_auto_link_speeds(eee->advertised); in bnxt_hwrm_set_eee()
5400 req->tx_lpi_timer = cpu_to_le32(eee->tx_lpi_timer); in bnxt_hwrm_set_eee()
5438 struct ethtool_eee *eee = &bp->eee; in bnxt_eee_config_ok() local
5444 if (eee->eee_enabled) { in bnxt_eee_config_ok()
5449 eee->eee_enabled = 0; in bnxt_eee_config_ok()
5452 if (eee->advertised & ~advertising) { in bnxt_eee_config_ok()
5453 eee->advertised = advertising & eee->supported; in bnxt_eee_config_ok()