Home
last modified time | relevance | path

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

/Linux-v4.19/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.c161 if (priv->eee_enabled) in sxgbe_eee_adjust()
804 if ((priv->eee_enabled) && (!priv->tx_path_in_lpi_mode)) { in sxgbe_tx_all_clean()
1178 priv->eee_enabled = sxgbe_eee_init(priv); in sxgbe_open()
1205 if (priv->eee_enabled) in sxgbe_release()
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c547 if (priv->eee_enabled) { in stmmac_get_ethtool_stats()
684 edata->eee_enabled = priv->eee_enabled; in stmmac_ethtool_op_get_eee()
696 priv->eee_enabled = edata->eee_enabled; in stmmac_ethtool_op_set_eee()
698 if (!priv->eee_enabled) in stmmac_ethtool_op_set_eee()
705 priv->eee_enabled = stmmac_eee_init(priv); in stmmac_ethtool_op_set_eee()
706 if (!priv->eee_enabled) in stmmac_ethtool_op_set_eee()
Dstmmac.h171 int eee_enabled; member
Dstmmac_main.c917 priv->eee_enabled = stmmac_eee_init(priv); in stmmac_adjust_link()
1942 if ((priv->eee_enabled) && (!priv->tx_path_in_lpi_mode)) { in stmmac_tx_clean()
2722 if (priv->eee_enabled) in stmmac_release()
/Linux-v4.19/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()
1609 ax179_data->eee_enabled = 0; in ax88179_reset()
Dr8152.c4687 eee->eee_enabled = !!ocp_data; in r8152_get_eee()
4700 r8152_eee_en(tp, eee->eee_enabled); in r8152_set_eee()
4702 if (!eee->eee_enabled) in r8152_set_eee()
4727 eee->eee_enabled = !!ocp_data; in r8153_get_eee()
4740 r8153_eee_en(tp, eee->eee_enabled); in r8153_set_eee()
4742 if (!eee->eee_enabled) in r8153_set_eee()
4754 r8153b_eee_en(tp, eee->eee_enabled); in r8153b_set_eee()
4756 if (!eee->eee_enabled) in r8153b_set_eee()
Dlan78xx.c1435 edata->eee_enabled = true; in lan78xx_get_eee()
1443 edata->eee_enabled = false; in lan78xx_get_eee()
1466 if (edata->eee_enabled) { in lan78xx_set_eee()
/Linux-v4.19/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c593 eee->eee_enabled = true; in lan743x_ethtool_get_eee()
600 eee->eee_enabled = false; in lan743x_ethtool_get_eee()
631 if (eee->eee_enabled) { in lan743x_ethtool_set_eee()
/Linux-v4.19/drivers/net/dsa/b53/
Db53_common.c523 if (dev->ports[port].eee.eee_enabled) in b53_enable_port()
1069 p->eee_enabled = b53_eee_init(ds, port, phydev); in b53_adjust_link()
1681 e->eee_enabled = p->eee_enabled; in b53_get_mac_eee()
1696 p->eee_enabled = e->eee_enabled; in b53_set_mac_eee()
1697 b53_eee_enable_set(ds, port, e->eee_enabled); in b53_set_mac_eee()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_ethtool.c3097 edata->eee_enabled = !hw->dev_spec._82575.eee_disable; in igb_get_eee()
3100 (edata->eee_enabled)) in igb_get_eee()
3107 edata->eee_enabled = false; in igb_get_eee()
3135 if (eee_curr.eee_enabled) { in igb_set_eee()
3158 } else if (!edata->eee_enabled) { in igb_set_eee()
3165 if (hw->dev_spec._82575.eee_disable != !edata->eee_enabled) { in igb_set_eee()
3166 hw->dev_spec._82575.eee_disable = !edata->eee_enabled; in igb_set_eee()
/Linux-v4.19/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c1058 priv->eee.eee_enabled = enable; in bcmgenet_eee_enable_set()
1073 e->eee_enabled = p->eee_enabled; in bcmgenet_get_eee()
1092 p->eee_enabled = e->eee_enabled; in bcmgenet_set_eee()
1094 if (!p->eee_enabled) { in bcmgenet_set_eee()
3708 if (priv->eee.eee_enabled) in bcmgenet_resume()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c3327 edata->eee_enabled = !!edata->advertised; in ixgbe_get_eee_fw()
3328 edata->tx_lpi_enabled = edata->eee_enabled; in ixgbe_get_eee_fw()
3365 if (eee_data.eee_enabled && !edata->eee_enabled) { in ixgbe_set_eee()
3384 if (eee_data.eee_enabled != edata->eee_enabled) { in ixgbe_set_eee()
3385 if (edata->eee_enabled) { in ixgbe_set_eee()
/Linux-v4.19/drivers/net/ethernet/marvell/
Dmvneta.c444 bool eee_enabled; member
3561 if (phy && pp->eee_enabled) { in mvneta_mac_link_up()
4227 eee->eee_enabled = pp->eee_enabled; in mvneta_ethtool_get_eee()
4252 pp->eee_enabled = eee->eee_enabled; in mvneta_ethtool_set_eee()
4255 mvneta_set_eee(pp, eee->tx_lpi_enabled && eee->eee_enabled); in mvneta_ethtool_set_eee()
/Linux-v4.19/include/uapi/linux/
Dethtool.h340 __u32 eee_enabled; member
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c2100 if (!edata->eee_enabled) in bnxt_set_eee()
2129 eee->eee_enabled = edata->eee_enabled; in bnxt_set_eee()
2145 if (!bp->eee.eee_enabled) { in bnxt_get_eee()
Dbnxt.c6448 eee->eee_enabled = 1; in bnxt_update_link()
6618 if (eee->eee_enabled) { in bnxt_hwrm_set_eee()
6874 if (eee->eee_enabled) { in bnxt_eee_config_ok()
6879 eee->eee_enabled = 0; in bnxt_eee_config_ok()
/Linux-v4.19/drivers/net/dsa/
Dqca8k.c691 if (eee->eee_enabled) in qca8k_set_mac_eee()
Dbcm_sf2.c637 p->eee_enabled = b53_eee_init(ds, port, phydev); in bcm_sf2_sw_mac_link_up()
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1757 edata->eee_enabled = current_link.eee.enable; in qede_get_eee()
1801 params.eee.enable = edata->eee_enabled; in qede_set_eee()
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/
Dethtool.c2216 edata->eee_enabled = !hw->dev_spec.ich8lan.eee_disable; in e1000e_get_eee()
2258 hw->dev_spec.ich8lan.eee_disable = !edata->eee_enabled; in e1000e_set_eee()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c2104 edata->eee_enabled = (eee_cfg & SHMEM_EEE_REQUESTED_BIT) ? 1 : 0; in bnx2x_get_eee()
2155 if (edata->eee_enabled) in bnx2x_set_eee()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dtg3.c2390 dest->eee_enabled = !!val; in tg3_eee_pull_config()
4375 if (!tp->eee.eee_enabled) { in tg3_phy_autoneg_cfg()
4638 if (tp->eee.eee_enabled) { in tg3_phy_eee_config_ok()
4773 tw32_f(TG3_CPMU_EEE_MODE, tp->eee.eee_enabled ? val : 0); in tg3_setup_eee()
15591 tp->eee.eee_enabled = 1; in tg3_phy_probe()