Home
last modified time | relevance | path

Searched refs:eee_enabled (Results 1 – 20 of 20) sorted by relevance

/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c146 edata->eee_enabled = priv->eee_enabled; in sxgbe_get_eee()
158 priv->eee_enabled = edata->eee_enabled; in sxgbe_set_eee()
160 if (!priv->eee_enabled) { in sxgbe_set_eee()
167 priv->eee_enabled = sxgbe_eee_init(priv); in sxgbe_set_eee()
168 if (!priv->eee_enabled) in sxgbe_set_eee()
236 if (priv->eee_enabled) { in sxgbe_get_ethtool_stats()
Dsxgbe_common.h508 int eee_enabled; member
Dsxgbe_main.c162 if (priv->eee_enabled) in sxgbe_eee_adjust()
805 if ((priv->eee_enabled) && (!priv->tx_path_in_lpi_mode)) { in sxgbe_tx_all_clean()
1180 priv->eee_enabled = sxgbe_eee_init(priv); in sxgbe_open()
1207 if (priv->eee_enabled) in sxgbe_release()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c550 if (priv->eee_enabled) { in stmmac_get_ethtool_stats()
667 edata->eee_enabled = priv->eee_enabled; in stmmac_ethtool_op_get_eee()
680 if (!edata->eee_enabled) { in stmmac_ethtool_op_set_eee()
687 edata->eee_enabled = stmmac_eee_init(priv); in stmmac_ethtool_op_set_eee()
688 if (!edata->eee_enabled) in stmmac_ethtool_op_set_eee()
696 priv->eee_enabled = edata->eee_enabled; in stmmac_ethtool_op_set_eee()
Dstmmac.h127 int eee_enabled; member
Dstmmac_main.c878 priv->eee_enabled = stmmac_eee_init(priv); in stmmac_adjust_link()
1918 if ((priv->eee_enabled) && (!priv->tx_path_in_lpi_mode)) { in stmmac_tx_clean()
2697 if (priv->eee_enabled) in stmmac_release()
/drivers/net/usb/
Dax88179_178a.c179 u8 eee_enabled; member
789 edata->eee_enabled = priv->eee_enabled; in ax88179_get_eee()
801 priv->eee_enabled = edata->eee_enabled; in ax88179_set_eee()
802 if (!priv->eee_enabled) { in ax88179_set_eee()
805 priv->eee_enabled = ax88179_chk_eee(dev); in ax88179_set_eee()
806 if (!priv->eee_enabled) in ax88179_set_eee()
1319 ax179_data->eee_enabled = 0; in ax88179_bind()
1527 ax179_data->eee_enabled = ax88179_chk_eee(dev); in ax88179_link_reset()
1610 ax179_data->eee_enabled = 0; in ax88179_reset()
Dr8152.c4688 eee->eee_enabled = !!ocp_data; in r8152_get_eee()
4701 r8152_eee_en(tp, eee->eee_enabled); in r8152_set_eee()
4703 if (!eee->eee_enabled) in r8152_set_eee()
4728 eee->eee_enabled = !!ocp_data; in r8153_get_eee()
4741 r8153_eee_en(tp, eee->eee_enabled); in r8153_set_eee()
4743 if (!eee->eee_enabled) in r8153_set_eee()
4755 r8153b_eee_en(tp, eee->eee_enabled); in r8153b_set_eee()
4757 if (!eee->eee_enabled) in r8153b_set_eee()
Dlan78xx.c1411 edata->eee_enabled = true; in lan78xx_get_eee()
1419 edata->eee_enabled = false; in lan78xx_get_eee()
1442 if (edata->eee_enabled) { in lan78xx_set_eee()
/drivers/net/dsa/
Dbcm_sf2.c305 if (priv->port_sts[port].eee.eee_enabled) in bcm_sf2_port_setup()
365 e->eee_enabled = p->eee_enabled; in bcm_sf2_sw_get_mac_eee()
377 p->eee_enabled = e->eee_enabled; in bcm_sf2_sw_set_mac_eee()
378 bcm_sf2_eee_enable_set(ds, port, e->eee_enabled); in bcm_sf2_sw_set_mac_eee()
697 p->eee_enabled = bcm_sf2_eee_init(ds, port, phydev); in bcm_sf2_sw_adjust_link()
Dqca8k.c690 if (eee->eee_enabled) in qca8k_set_mac_eee()
/drivers/net/ethernet/intel/igb/
Digb_ethtool.c3054 edata->eee_enabled = !hw->dev_spec._82575.eee_disable; in igb_get_eee()
3057 (edata->eee_enabled)) in igb_get_eee()
3064 edata->eee_enabled = false; in igb_get_eee()
3092 if (eee_curr.eee_enabled) { in igb_set_eee()
3115 } else if (!edata->eee_enabled) { in igb_set_eee()
3122 if (hw->dev_spec._82575.eee_disable != !edata->eee_enabled) { in igb_set_eee()
3123 hw->dev_spec._82575.eee_disable = !edata->eee_enabled; in igb_set_eee()
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c1033 priv->eee.eee_enabled = enable; in bcmgenet_eee_enable_set()
1045 e->eee_enabled = p->eee_enabled; in bcmgenet_get_eee()
1061 p->eee_enabled = e->eee_enabled; in bcmgenet_set_eee()
1063 if (!p->eee_enabled) { in bcmgenet_set_eee()
3728 if (priv->eee.eee_enabled) in bcmgenet_resume()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c3342 edata->eee_enabled = !!edata->advertised; in ixgbe_get_eee_fw()
3343 edata->tx_lpi_enabled = edata->eee_enabled; in ixgbe_get_eee_fw()
3380 if (eee_data.eee_enabled && !edata->eee_enabled) { in ixgbe_set_eee()
3399 if (eee_data.eee_enabled != edata->eee_enabled) { in ixgbe_set_eee()
3400 if (edata->eee_enabled) { in ixgbe_set_eee()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1984 if (!edata->eee_enabled) in bnxt_set_eee()
2013 eee->eee_enabled = edata->eee_enabled; in bnxt_set_eee()
2029 if (!bp->eee.eee_enabled) { in bnxt_get_eee()
Dbnxt.c5920 eee->eee_enabled = 1; in bnxt_update_link()
6090 if (eee->eee_enabled) { in bnxt_hwrm_set_eee()
6255 if (eee->eee_enabled) { in bnxt_eee_config_ok()
6260 eee->eee_enabled = 0; in bnxt_eee_config_ok()
/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1714 edata->eee_enabled = current_link.eee.enable; in qede_get_eee()
1758 params.eee.enable = edata->eee_enabled; in qede_set_eee()
/drivers/net/ethernet/intel/e1000e/
Dethtool.c2234 edata->eee_enabled = !hw->dev_spec.ich8lan.eee_disable; in e1000e_get_eee()
2276 hw->dev_spec.ich8lan.eee_disable = !edata->eee_enabled; in e1000e_set_eee()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c2107 edata->eee_enabled = (eee_cfg & SHMEM_EEE_REQUESTED_BIT) ? 1 : 0; in bnx2x_get_eee()
2158 if (edata->eee_enabled) in bnx2x_set_eee()
/drivers/net/ethernet/broadcom/
Dtg3.c2375 dest->eee_enabled = !!val; in tg3_eee_pull_config()
4360 if (!tp->eee.eee_enabled) { in tg3_phy_autoneg_cfg()
4623 if (tp->eee.eee_enabled) { in tg3_phy_eee_config_ok()
4758 tw32_f(TG3_CPMU_EEE_MODE, tp->eee.eee_enabled ? val : 0); in tg3_setup_eee()
15557 tp->eee.eee_enabled = 1; in tg3_phy_probe()