Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_ethtool.c153 priv->eee_enabled = edata->eee_enabled; in sxgbe_set_eee()
155 if (!priv->eee_enabled) { in sxgbe_set_eee()
162 priv->eee_enabled = sxgbe_eee_init(priv); in sxgbe_set_eee()
163 if (!priv->eee_enabled) in sxgbe_set_eee()
231 if (priv->eee_enabled) { in sxgbe_get_ethtool_stats()
H A Dsxgbe_common.h505 int eee_enabled; member
H A Dsxgbe_main.c157 if (priv->eee_enabled) in sxgbe_eee_adjust()
805 if ((priv->eee_enabled) && (!priv->tx_path_in_lpi_mode)) { in sxgbe_tx_all_clean()
1183 priv->eee_enabled = sxgbe_eee_init(priv); in sxgbe_open()
1210 if (priv->eee_enabled) in sxgbe_release()
/linux/net/ethtool/
H A Deee.c99 nla_put_u8(skb, ETHTOOL_A_EEE_ENABLED, eee->eee_enabled) || in eee_fill_reply()
146 ethnl_update_bool(&eee.eee_enabled, tb[ETHTOOL_A_EEE_ENABLED], &mod); in ethnl_set_eee()
H A Dioctl.c1734 keee->eee_enabled = eee->eee_enabled; in eee_to_keee()
1750 eee->eee_enabled = keee->eee_enabled; in keee_to_eee()
/linux/drivers/net/phy/
H A Dphy-c45.c944 if (!phydev->eee_cfg.eee_enabled) { in genphy_c45_an_config_eee_aneg()
1483 bool eee_enabled, eee_active; in genphy_c45_eee_is_active() local
1494 eee_enabled = !linkmode_empty(tmp_adv); in genphy_c45_eee_is_active()
1496 if (eee_enabled && !linkmode_empty(common)) in genphy_c45_eee_is_active()
1507 *is_enabled = eee_enabled; in genphy_c45_eee_is_active()
1532 data->eee_enabled = is_enabled; in genphy_c45_ethtool_get_eee()
1558 if (data->eee_enabled) { in genphy_c45_ethtool_set_eee()
H A Dphy_device.c2992 phydev->eee_cfg.eee_enabled = true; in phy_support_eee()
3592 phydev->eee_cfg.eee_enabled = !linkmode_empty(phydev->advertising_eee); in phy_probe()
3597 if (phydev->eee_cfg.eee_enabled) in phy_probe()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c714 eee->eee_enabled = !linkmode_empty(eee->advertised); in aq_ethtool_get_eee()
716 eee->tx_lpi_enabled = eee->eee_enabled; in aq_ethtool_get_eee()
743 if (eee->eee_enabled) { in aq_ethtool_set_eee()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb.h261 u8 num_ports, bool eee_enabled,
H A Di40e_dcb.c1576 u8 num_ports, bool eee_enabled, in i40e_dcb_hw_calculate_pool_sizes() argument
1600 if (eee_enabled) in i40e_dcb_hw_calculate_pool_sizes()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c1719 edata->eee_enabled = hw->dev_spec._base.eee_enable; in igc_ethtool_get_eee()
1725 edata->eee_enabled = false; in igc_ethtool_get_eee()
1751 if (eee_curr.eee_enabled) { in igc_ethtool_set_eee()
1764 } else if (!edata->eee_enabled) { in igc_ethtool_set_eee()
1770 if (hw->dev_spec._base.eee_enable != edata->eee_enabled) { in igc_ethtool_set_eee()
1771 hw->dev_spec._base.eee_enable = edata->eee_enabled; in igc_ethtool_set_eee()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c3085 edata->eee_enabled = !hw->dev_spec._82575.eee_disable; in igb_get_eee()
3088 (edata->eee_enabled)) in igb_get_eee()
3095 edata->eee_enabled = false; in igb_get_eee()
3125 if (eee_curr.eee_enabled) { in igb_set_eee()
3155 } else if (!edata->eee_enabled) { in igb_set_eee()
3162 if (hw->dev_spec._82575.eee_disable != !edata->eee_enabled) { in igb_set_eee()
3163 hw->dev_spec._82575.eee_disable = !edata->eee_enabled; in igb_set_eee()
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c1334 if (intf->eee.eee_enabled && intf->parent->eee_fixup) in bcmasp_suspend_to_wol()
1376 if (intf->eee.eee_enabled && intf->parent->eee_fixup) in bcmasp_resume_from_wol()
1407 if (intf->eee.eee_enabled) in bcmasp_interface_resume()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ethtool.c657 if (priv->eee_enabled) { in stmmac_get_ethtool_stats()
920 if (!edata->eee_enabled) in stmmac_ethtool_op_set_eee()
927 if (edata->eee_enabled && in stmmac_ethtool_op_set_eee()
H A Dstmmac.h310 int eee_enabled; member
H A Dstmmac_main.c483 if (priv->eee_enabled) { in stmmac_eee_init()
497 if (priv->eee_active && !priv->eee_enabled) { in stmmac_eee_init()
978 priv->eee_enabled = stmmac_eee_init(priv); in stmmac_mac_link_down()
1090 priv->eee_enabled = stmmac_eee_init(priv); in stmmac_mac_link_up()
1091 priv->tx_lpi_enabled = priv->eee_enabled; in stmmac_mac_link_up()
2760 if (priv->eee_enabled && !priv->tx_path_in_lpi_mode && in stmmac_tx_clean()
4027 if (priv->eee_enabled) { in stmmac_release()
7717 if (priv->eee_enabled) { in stmmac_suspend()
/linux/drivers/net/dsa/b53/
H A Db53_common.c616 if (dev->ports[port].eee.eee_enabled) in b53_enable_port()
1460 p->eee_enabled = b53_eee_init(ds, port, phydev); in b53_phylink_mac_link_up()
2246 p->eee_enabled = e->eee_enabled; in b53_set_mac_eee()
2247 b53_eee_enable_set(ds, port, e->eee_enabled); in b53_set_mac_eee()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c3456 edata->eee_enabled = !linkmode_empty(edata->advertised); in ixgbe_get_eee_fw()
3457 edata->tx_lpi_enabled = edata->eee_enabled; in ixgbe_get_eee_fw()
3495 if (eee_data.eee_enabled && !edata->eee_enabled) { in ixgbe_set_eee()
3514 if (eee_data.eee_enabled != edata->eee_enabled) { in ixgbe_set_eee()
3515 if (edata->eee_enabled) { in ixgbe_set_eee()
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c96 priv->eee.eee_enabled && active, in bcmgenet_mac_config()
/linux/include/linux/
H A Dethtool.h276 bool eee_enabled; member
/linux/drivers/net/ethernet/marvell/
H A Dmvneta.c544 bool eee_enabled; member
4288 if (phy && pp->eee_enabled) { in mvneta_mac_link_up()
5106 eee->eee_enabled = pp->eee_enabled; in mvneta_ethtool_get_eee()
5131 pp->eee_enabled = eee->eee_enabled; in mvneta_ethtool_set_eee()
5134 mvneta_set_eee(pp, eee->tx_lpi_enabled && eee->eee_enabled); in mvneta_ethtool_set_eee()
/linux/include/uapi/linux/
H A Dethtool.h376 __u32 eee_enabled; member
/linux/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c2207 edata->eee_enabled = !hw->dev_spec.ich8lan.eee_disable; in e1000e_get_eee()
2254 hw->dev_spec.ich8lan.eee_disable = !edata->eee_enabled; in e1000e_set_eee()
/linux/drivers/net/dsa/qca/
H A Dqca8k-common.c549 if (eee->eee_enabled) in qca8k_set_mac_eee()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c4267 if (!edata->eee_enabled) in bnxt_set_eee()
4298 eee->eee_enabled = edata->eee_enabled; in bnxt_set_eee()
4316 if (!bp->eee.eee_enabled) { in bnxt_get_eee()

12