/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 1662 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()
|
D | bnxt.c | 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() [all …]
|
D | bnxt.h | 1113 struct ethtool_eee eee; member
|
/drivers/net/usb/ |
D | r8152.c | 3933 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/ |
D | bcm_sf2.c | 265 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()
|
D | qca8k.h | 159 struct ethtool_eee eee; member
|
D | bcm_sf2.h | 52 struct ethtool_eee eee; member
|
D | qca8k.c | 663 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/ |
D | dwmac1000_dma.c | 242 dma_cap->eee = (hw_cap & DMA_HW_FEAT_EEESEL) >> 14; in dwmac1000_get_hw_feature()
|
D | dwmac4_dma.c | 275 dma_cap->eee = (hw_cap & GMAC_HW_FEAT_EEESEL) >> 13; in dwmac4_get_hw_feature()
|
D | common.h | 313 unsigned int eee; member
|
D | stmmac_ethtool.c | 665 if (!priv->dma_cap.eee) in stmmac_ethtool_op_get_eee()
|
D | stmmac_main.c | 300 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/ |
D | sxgbe_common.h | 419 unsigned int eee; member
|
D | sxgbe_ethtool.c | 143 if (!priv->hw_cap.eee) in sxgbe_get_eee()
|
D | sxgbe_main.c | 131 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/ |
D | tg3.c | 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() [all …]
|
D | tg3.h | 3404 struct ethtool_eee eee; member
|
/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.h | 651 struct ethtool_eee eee; member
|
D | bcmgenet.c | 977 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/ |
D | xgbe.h | 728 unsigned int eee; /* Energy Efficient Ethernet */ member
|
D | xgbe-drv.c | 525 hw_feat->eee = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, EEESEL); in xgbe_get_all_hw_features()
|