Home
last modified time | relevance | path

Searched refs:eee (Results 1 – 22 of 22) sorted by relevance

/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1662 struct ethtool_eee *eee = &bp->eee; in bnxt_set_eee() local
1688 edata->tx_lpi_timer = eee->tx_lpi_timer; in bnxt_set_eee()
1692 edata->advertised = advertising & eee->supported; in bnxt_set_eee()
1699 eee->advertised = edata->advertised; in bnxt_set_eee()
1700 eee->tx_lpi_enabled = edata->tx_lpi_enabled; in bnxt_set_eee()
1701 eee->tx_lpi_timer = edata->tx_lpi_timer; in bnxt_set_eee()
1703 eee->eee_enabled = edata->eee_enabled; in bnxt_set_eee()
1718 *edata = bp->eee; in bnxt_get_eee()
1719 if (!bp->eee.eee_enabled) { in bnxt_get_eee()
1727 if (!bp->eee.eee_active) in bnxt_get_eee()
Dbnxt.c5116 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()
[all …]
Dbnxt.h1113 struct ethtool_eee eee; member
/drivers/net/usb/
Dr8152.c3933 static int r8152_get_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8152_get_eee() argument
3950 eee->eee_enabled = !!ocp_data; in r8152_get_eee()
3951 eee->eee_active = !!(supported & adv & lp); in r8152_get_eee()
3952 eee->supported = supported; in r8152_get_eee()
3953 eee->advertised = adv; in r8152_get_eee()
3954 eee->lp_advertised = lp; in r8152_get_eee()
3959 static int r8152_set_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8152_set_eee() argument
3961 u16 val = ethtool_adv_to_mmd_eee_adv_t(eee->advertised); in r8152_set_eee()
3963 r8152_eee_en(tp, eee->eee_enabled); in r8152_set_eee()
3965 if (!eee->eee_enabled) in r8152_set_eee()
[all …]
/drivers/net/dsa/
Dbcm_sf2.c265 if (priv->port_sts[port].eee.eee_enabled) in bcm_sf2_port_setup()
307 struct ethtool_eee *p = &priv->port_sts[port].eee; in bcm_sf2_eee_init()
325 struct ethtool_eee *p = &priv->port_sts[port].eee; in bcm_sf2_sw_get_eee()
340 struct ethtool_eee *p = &priv->port_sts[port].eee; in bcm_sf2_sw_set_eee()
591 struct ethtool_eee *p = &priv->port_sts[port].eee; in bcm_sf2_sw_adjust_link()
Dqca8k.h159 struct ethtool_eee eee; member
Dbcm_sf2.h52 struct ethtool_eee eee; member
Dqca8k.c663 struct ethtool_eee *p = &priv->port_sts[port].eee; in qca8k_eee_init()
683 struct ethtool_eee *p = &priv->port_sts[port].eee; in qca8k_set_eee()
703 struct ethtool_eee *p = &priv->port_sts[port].eee; in qca8k_get_eee()
/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000_dma.c242 dma_cap->eee = (hw_cap & DMA_HW_FEAT_EEESEL) >> 14; in dwmac1000_get_hw_feature()
Ddwmac4_dma.c275 dma_cap->eee = (hw_cap & GMAC_HW_FEAT_EEESEL) >> 13; in dwmac4_get_hw_feature()
Dcommon.h313 unsigned int eee; member
Dstmmac_ethtool.c665 if (!priv->dma_cap.eee) in stmmac_ethtool_op_get_eee()
Dstmmac_main.c300 if (priv->dma_cap.eee) { in stmmac_eee_init()
3027 (priv->dma_cap.eee) ? "Y" : "N"); in stmmac_sysfs_dma_cap_read()
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_common.h419 unsigned int eee; member
Dsxgbe_ethtool.c143 if (!priv->hw_cap.eee) in sxgbe_get_eee()
Dsxgbe_main.c131 if (priv->hw_cap.eee) { in sxgbe_eee_init()
898 features->eee = SXGBE_HW_FEAT_EEE(rval); in sxgbe_get_hw_features()
/drivers/net/ethernet/broadcom/
Dtg3.c2343 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()
[all …]
Dtg3.h3404 struct ethtool_eee eee; member
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.h651 struct ethtool_eee eee; member
Dbcmgenet.c977 priv->eee.eee_enabled = enable; in bcmgenet_eee_enable_set()
978 priv->eee.eee_active = enable; in bcmgenet_eee_enable_set()
984 struct ethtool_eee *p = &priv->eee; in bcmgenet_get_eee()
999 struct ethtool_eee *p = &priv->eee; in bcmgenet_set_eee()
3572 if (priv->eee.eee_enabled) in bcmgenet_resume()
/drivers/net/ethernet/amd/xgbe/
Dxgbe.h728 unsigned int eee; /* Energy Efficient Ethernet */ member
Dxgbe-drv.c525 hw_feat->eee = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, EEESEL); in xgbe_get_all_hw_features()