Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c143 edata->eee_enabled = priv->eee_enabled; in sxgbe_get_eee()
155 priv->eee_enabled = edata->eee_enabled; in sxgbe_set_eee()
157 if (!priv->eee_enabled) { in sxgbe_set_eee()
164 priv->eee_enabled = sxgbe_eee_init(priv); in sxgbe_set_eee()
165 if (!priv->eee_enabled) in sxgbe_set_eee()
233 if (priv->eee_enabled) { in sxgbe_get_ethtool_stats()
Dsxgbe_common.h505 int eee_enabled; member
Dsxgbe_main.c158 if (priv->eee_enabled) in sxgbe_eee_adjust()
806 if ((priv->eee_enabled) && (!priv->tx_path_in_lpi_mode)) { in sxgbe_tx_all_clean()
1181 priv->eee_enabled = sxgbe_eee_init(priv); in sxgbe_open()
1208 if (priv->eee_enabled) in sxgbe_release()
/drivers/net/usb/
Dax88179_178a.c170 u8 eee_enabled; member
840 edata->eee_enabled = priv->eee_enabled; in ax88179_get_eee()
852 priv->eee_enabled = edata->eee_enabled; in ax88179_set_eee()
853 if (!priv->eee_enabled) { in ax88179_set_eee()
856 priv->eee_enabled = ax88179_chk_eee(dev); in ax88179_set_eee()
857 if (!priv->eee_enabled) in ax88179_set_eee()
1599 ax179_data->eee_enabled = ax88179_chk_eee(dev); in ax88179_link_reset()
1682 ax179_data->eee_enabled = 0; in ax88179_reset()
Dlan78xx.c1528 edata->eee_enabled = true; in lan78xx_get_eee()
1536 edata->eee_enabled = false; in lan78xx_get_eee()
1559 if (edata->eee_enabled) { in lan78xx_set_eee()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c599 if (priv->eee_enabled) { in stmmac_get_ethtool_stats()
788 edata->eee_enabled = priv->eee_enabled; in stmmac_ethtool_op_get_eee()
809 if (!edata->eee_enabled) in stmmac_ethtool_op_set_eee()
816 if (edata->eee_enabled && in stmmac_ethtool_op_set_eee()
Dstmmac.h248 int eee_enabled; member
Dstmmac_main.c483 if (priv->eee_enabled) { in stmmac_eee_init()
497 if (priv->eee_active && !priv->eee_enabled) { in stmmac_eee_init()
1073 priv->eee_enabled = stmmac_eee_init(priv); in stmmac_mac_link_down()
1180 priv->eee_enabled = stmmac_eee_init(priv); in stmmac_mac_link_up()
1181 priv->tx_lpi_enabled = priv->eee_enabled; in stmmac_mac_link_up()
2664 if (priv->eee_enabled && !priv->tx_path_in_lpi_mode && in stmmac_tx_clean()
3861 if (priv->eee_enabled) { in stmmac_release()
7373 if (priv->eee_enabled) { in stmmac_suspend()
/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c714 eee->eee_enabled = true; in lan743x_ethtool_get_eee()
721 eee->eee_enabled = false; in lan743x_ethtool_get_eee()
752 if (eee->eee_enabled) { in lan743x_ethtool_set_eee()
/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c713 eee->eee_enabled = !!eee->advertised; in aq_ethtool_get_eee()
715 eee->tx_lpi_enabled = eee->eee_enabled; in aq_ethtool_get_eee()
742 if (eee->eee_enabled) { in aq_ethtool_set_eee()
/drivers/net/dsa/b53/
Db53_common.c599 if (dev->ports[port].eee.eee_enabled) in b53_enable_port()
1303 p->eee_enabled = b53_eee_init(ds, port, phydev); in b53_adjust_link()
2195 e->eee_enabled = p->eee_enabled; in b53_get_mac_eee()
2210 p->eee_enabled = e->eee_enabled; in b53_set_mac_eee()
2211 b53_eee_enable_set(ds, port, e->eee_enabled); in b53_set_mac_eee()
/drivers/net/ethernet/intel/i40e/
Di40e_dcb.h261 u8 num_ports, bool eee_enabled,
Di40e_dcb.c1629 u8 num_ports, bool eee_enabled, in i40e_dcb_hw_calculate_pool_sizes() argument
1653 if (eee_enabled) in i40e_dcb_hw_calculate_pool_sizes()
/drivers/net/ethernet/intel/igc/
Digc_ethtool.c1641 edata->eee_enabled = hw->dev_spec._base.eee_enable; in igc_ethtool_get_eee()
1650 edata->eee_enabled = false; in igc_ethtool_get_eee()
1676 if (eee_curr.eee_enabled) { in igc_ethtool_set_eee()
1689 } else if (!edata->eee_enabled) { in igc_ethtool_set_eee()
1696 if (hw->dev_spec._base.eee_enable != edata->eee_enabled) { in igc_ethtool_set_eee()
1697 hw->dev_spec._base.eee_enable = edata->eee_enabled; in igc_ethtool_set_eee()
/drivers/net/ethernet/intel/igb/
Digb_ethtool.c3088 edata->eee_enabled = !hw->dev_spec._82575.eee_disable; in igb_get_eee()
3091 (edata->eee_enabled)) in igb_get_eee()
3098 edata->eee_enabled = false; in igb_get_eee()
3126 if (eee_curr.eee_enabled) { in igb_set_eee()
3149 } else if (!edata->eee_enabled) { in igb_set_eee()
3156 if (hw->dev_spec._82575.eee_disable != !edata->eee_enabled) { in igb_set_eee()
3157 hw->dev_spec._82575.eee_disable = !edata->eee_enabled; in igb_set_eee()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c3423 edata->eee_enabled = !!edata->advertised; in ixgbe_get_eee_fw()
3424 edata->tx_lpi_enabled = edata->eee_enabled; in ixgbe_get_eee_fw()
3461 if (eee_data.eee_enabled && !edata->eee_enabled) { in ixgbe_set_eee()
3480 if (eee_data.eee_enabled != edata->eee_enabled) { in ixgbe_set_eee()
3481 if (edata->eee_enabled) { in ixgbe_set_eee()
/drivers/net/phy/
Dphy.c1358 data->eee_enabled = !!data->advertised; in phy_ethtool_get_eee()
1395 if (data->eee_enabled) { in phy_ethtool_set_eee()
/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c109 priv->eee.eee_enabled && priv->eee.eee_active, in bcmgenet_mii_setup()
Dbcmgenet.c1291 priv->eee.eee_enabled = enable; in bcmgenet_eee_enable_set()
1307 e->eee_enabled = p->eee_enabled; in bcmgenet_get_eee()
1326 p->eee_enabled = e->eee_enabled; in bcmgenet_set_eee()
1328 if (!p->eee_enabled) { in bcmgenet_set_eee()
/drivers/net/ethernet/marvell/
Dmvneta.c509 bool eee_enabled; member
4116 if (phy && pp->eee_enabled) { in mvneta_mac_link_up()
4900 eee->eee_enabled = pp->eee_enabled; in mvneta_ethtool_get_eee()
4925 pp->eee_enabled = eee->eee_enabled; in mvneta_ethtool_set_eee()
4928 mvneta_set_eee(pp, eee->tx_lpi_enabled && eee->eee_enabled); in mvneta_ethtool_set_eee()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c2956 if (!edata->eee_enabled) in bnxt_set_eee()
2988 eee->eee_enabled = edata->eee_enabled; in bnxt_set_eee()
3006 if (!bp->eee.eee_enabled) { in bnxt_get_eee()
/drivers/net/ethernet/freescale/
Dfec_main.c2833 p->eee_enabled = enable; in fec_enet_eee_mode_set()
2854 edata->eee_enabled = p->eee_enabled; in fec_enet_get_eee()
2877 if (!edata->eee_enabled || !edata->tx_lpi_enabled || in fec_enet_set_eee()
/drivers/net/ethernet/intel/e1000e/
Dethtool.c2236 edata->eee_enabled = !hw->dev_spec.ich8lan.eee_disable; in e1000e_get_eee()
2278 hw->dev_spec.ich8lan.eee_disable = !edata->eee_enabled; in e1000e_set_eee()
/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1810 edata->eee_enabled = current_link.eee.enable; in qede_get_eee()
1854 params.eee.enable = edata->eee_enabled; in qede_set_eee()
/drivers/net/dsa/
Dbcm_sf2.c883 p->eee_enabled = b53_eee_init(ds, port, phydev); in bcm_sf2_sw_mac_link_up()

12