• Home
  • Raw
  • Download

Lines Matching refs:eee

2343 static void tg3_eee_pull_config(struct tg3 *tp, struct ethtool_eee *eee)  in tg3_eee_pull_config()  argument
2346 struct ethtool_eee *dest = &tp->eee; in tg3_eee_pull_config()
2351 if (eee) in tg3_eee_pull_config()
2352 dest = eee; in tg3_eee_pull_config()
2407 if (tp->eee.eee_active) in tg3_phy_eee_adjust()
4357 if (!tp->eee.eee_enabled) { in tg3_phy_autoneg_cfg()
4359 tp->eee.advertised = 0; in tg3_phy_autoneg_cfg()
4361 tp->eee.advertised = advertise & in tg3_phy_autoneg_cfg()
4613 struct ethtool_eee eee; in tg3_phy_eee_config_ok() local
4618 tg3_eee_pull_config(tp, &eee); in tg3_phy_eee_config_ok()
4620 if (tp->eee.eee_enabled) { in tg3_phy_eee_config_ok()
4621 if (tp->eee.advertised != eee.advertised || in tg3_phy_eee_config_ok()
4622 tp->eee.tx_lpi_timer != eee.tx_lpi_timer || in tg3_phy_eee_config_ok()
4623 tp->eee.tx_lpi_enabled != eee.tx_lpi_enabled) in tg3_phy_eee_config_ok()
4627 if (eee.advertised) in tg3_phy_eee_config_ok()
4745 (tp->eee.tx_lpi_enabled ? TG3_CPMU_EEEMD_LPI_IN_TX : 0) | in tg3_setup_eee()
4755 tw32_f(TG3_CPMU_EEE_MODE, tp->eee.eee_enabled ? val : 0); in tg3_setup_eee()
4759 (tp->eee.tx_lpi_timer & 0xffff)); in tg3_setup_eee()
14079 if (edata->advertised != tp->eee.advertised) { in tg3_set_eee()
14092 tp->eee = *edata; in tg3_set_eee()
14117 *edata = tp->eee; in tg3_get_eee()
15528 tp->eee.supported = SUPPORTED_100baseT_Full | in tg3_phy_probe()
15530 tp->eee.advertised = ADVERTISED_100baseT_Full | in tg3_phy_probe()
15532 tp->eee.eee_enabled = 1; in tg3_phy_probe()
15533 tp->eee.tx_lpi_enabled = 1; in tg3_phy_probe()
15534 tp->eee.tx_lpi_timer = TG3_CPMU_DBTMR1_LNKIDLE_2047US; in tg3_phy_probe()