Home
last modified time | relevance | path

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

12

/Linux-v5.15/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()
/Linux-v5.15/net/ethtool/
Deee.c102 nla_put_u8(skb, ETHTOOL_A_EEE_ENABLED, !!eee->eee_enabled) || in eee_fill_reply()
169 ethnl_update_bool32(&eee.eee_enabled, tb[ETHTOOL_A_EEE_ENABLED], &mod); in ethnl_set_eee()
/Linux-v5.15/drivers/net/usb/
Dax88179_178a.c168 u8 eee_enabled; member
853 edata->eee_enabled = priv->eee_enabled; in ax88179_get_eee()
865 priv->eee_enabled = edata->eee_enabled; in ax88179_set_eee()
866 if (!priv->eee_enabled) { in ax88179_set_eee()
869 priv->eee_enabled = ax88179_chk_eee(dev); in ax88179_set_eee()
870 if (!priv->eee_enabled) in ax88179_set_eee()
1413 ax179_data->eee_enabled = 0; in ax88179_bind()
1618 ax179_data->eee_enabled = ax88179_chk_eee(dev); in ax88179_link_reset()
1700 ax179_data->eee_enabled = 0; in ax88179_reset()
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c584 if (priv->eee_enabled) { in stmmac_get_ethtool_stats()
767 edata->eee_enabled = priv->eee_enabled; in stmmac_ethtool_op_get_eee()
791 edata->eee_enabled); in stmmac_ethtool_op_set_eee()
796 if (!edata->eee_enabled) in stmmac_ethtool_op_set_eee()
803 if (edata->eee_enabled && in stmmac_ethtool_op_set_eee()
Dstmmac.h234 int eee_enabled; member
Dstmmac_main.c475 if (priv->eee_enabled) { in stmmac_eee_init()
489 if (priv->eee_active && !priv->eee_enabled) { in stmmac_eee_init()
1045 priv->eee_enabled = stmmac_eee_init(priv); in stmmac_mac_link_down()
1142 priv->eee_enabled = stmmac_eee_init(priv); in stmmac_mac_link_up()
1143 priv->tx_lpi_enabled = priv->eee_enabled; in stmmac_mac_link_up()
2603 if (priv->eee_enabled && !priv->tx_path_in_lpi_mode && in stmmac_tx_clean()
3781 if (priv->eee_enabled) { in stmmac_release()
7142 if (priv->eee_enabled) { in stmmac_suspend()
/Linux-v5.15/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()
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c712 eee->eee_enabled = !!eee->advertised; in aq_ethtool_get_eee()
714 eee->tx_lpi_enabled = eee->eee_enabled; in aq_ethtool_get_eee()
741 if (eee->eee_enabled) { in aq_ethtool_set_eee()
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/drivers/net/ethernet/intel/igc/
Digc_ethtool.c1598 edata->eee_enabled = hw->dev_spec._base.eee_enable; in igc_ethtool_get_eee()
1607 edata->eee_enabled = false; in igc_ethtool_get_eee()
1633 if (eee_curr.eee_enabled) { in igc_ethtool_set_eee()
1646 } else if (!edata->eee_enabled) { in igc_ethtool_set_eee()
1653 if (hw->dev_spec._base.eee_enable != edata->eee_enabled) { in igc_ethtool_set_eee()
1654 hw->dev_spec._base.eee_enable = edata->eee_enabled; in igc_ethtool_set_eee()
/Linux-v5.15/drivers/net/ethernet/intel/igb/
Digb_ethtool.c3083 edata->eee_enabled = !hw->dev_spec._82575.eee_disable; in igb_get_eee()
3086 (edata->eee_enabled)) in igb_get_eee()
3093 edata->eee_enabled = false; in igb_get_eee()
3121 if (eee_curr.eee_enabled) { in igb_set_eee()
3144 } else if (!edata->eee_enabled) { in igb_set_eee()
3151 if (hw->dev_spec._82575.eee_disable != !edata->eee_enabled) { in igb_set_eee()
3152 hw->dev_spec._82575.eee_disable = !edata->eee_enabled; in igb_set_eee()
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c3422 edata->eee_enabled = !!edata->advertised; in ixgbe_get_eee_fw()
3423 edata->tx_lpi_enabled = edata->eee_enabled; in ixgbe_get_eee_fw()
3460 if (eee_data.eee_enabled && !edata->eee_enabled) { in ixgbe_set_eee()
3479 if (eee_data.eee_enabled != edata->eee_enabled) { in ixgbe_set_eee()
3480 if (edata->eee_enabled) { in ixgbe_set_eee()
/Linux-v5.15/drivers/net/phy/
Dphy.c1339 data->eee_enabled = !!data->advertised; in phy_ethtool_get_eee()
1376 if (data->eee_enabled) { in phy_ethtool_set_eee()
/Linux-v5.15/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c1290 priv->eee.eee_enabled = enable; in bcmgenet_eee_enable_set()
1305 e->eee_enabled = p->eee_enabled; in bcmgenet_get_eee()
1324 p->eee_enabled = e->eee_enabled; in bcmgenet_set_eee()
1326 if (!p->eee_enabled) { in bcmgenet_set_eee()
4196 if (priv->eee.eee_enabled) in bcmgenet_resume()
/Linux-v5.15/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()
/Linux-v5.15/include/uapi/linux/
Dethtool.h377 __u32 eee_enabled; member
/Linux-v5.15/drivers/net/ethernet/freescale/
Dfec_main.c2802 p->eee_enabled = enable; in fec_enet_eee_mode_set()
2823 edata->eee_enabled = p->eee_enabled; in fec_enet_get_eee()
2846 if (!edata->eee_enabled || !edata->tx_lpi_enabled || in fec_enet_set_eee()
/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c2955 if (!edata->eee_enabled) in bnxt_set_eee()
2987 eee->eee_enabled = edata->eee_enabled; in bnxt_set_eee()
3005 if (!bp->eee.eee_enabled) { in bnxt_get_eee()
/Linux-v5.15/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()
/Linux-v5.15/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1792 edata->eee_enabled = current_link.eee.enable; in qede_get_eee()
1836 params.eee.enable = edata->eee_enabled; in qede_set_eee()
/Linux-v5.15/drivers/net/dsa/
Dbcm_sf2.c866 p->eee_enabled = b53_eee_init(ds, port, phydev); in bcm_sf2_sw_mac_link_up()

12