/linux/drivers/net/ethernet/samsung/sxgbe/ |
A D | sxgbe_ethtool.c | 145 edata->tx_lpi_timer = priv->tx_lpi_timer; in sxgbe_get_eee() 169 priv->tx_lpi_timer = edata->tx_lpi_timer; in sxgbe_set_eee()
|
A D | sxgbe_common.h | 507 int tx_lpi_timer; member
|
A D | sxgbe_main.c | 140 priv->tx_lpi_timer); in sxgbe_eee_init() 1183 priv->tx_lpi_timer = SXGBE_DEFAULT_LPI_TIMER; in sxgbe_open()
|
/linux/net/ethtool/ |
A D | eee.c | 105 nla_put_u32(skb, ETHTOOL_A_EEE_TX_LPI_TIMER, eee->tx_lpi_timer)) in eee_fill_reply() 172 ethnl_update_u32(&eee.tx_lpi_timer, tb[ETHTOOL_A_EEE_TX_LPI_TIMER], in ethnl_set_eee()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_ethtool.c | 769 edata->tx_lpi_timer = priv->tx_lpi_timer; in stmmac_ethtool_op_get_eee() 804 priv->tx_lpi_timer != edata->tx_lpi_timer) { in stmmac_ethtool_op_set_eee() 805 priv->tx_lpi_timer = edata->tx_lpi_timer; in stmmac_ethtool_op_set_eee()
|
A D | stmmac.h | 249 int tx_lpi_timer; member
|
A D | stmmac_main.c | 389 int tx_lpi_timer; in stmmac_lpi_entry_timer_config() local 393 tx_lpi_timer = en ? priv->tx_lpi_timer : 0; in stmmac_lpi_entry_timer_config() 394 stmmac_set_eee_lpi_timer(priv, priv->hw, tx_lpi_timer); in stmmac_lpi_entry_timer_config() 452 mod_timer(&priv->eee_ctrl_timer, STMMAC_LPI_T(priv->tx_lpi_timer)); in stmmac_eee_ctrl_timer() 506 if (priv->plat->has_gmac4 && priv->tx_lpi_timer <= STMMAC_ET_MAX) { in stmmac_eee_init() 513 STMMAC_LPI_T(priv->tx_lpi_timer)); in stmmac_eee_init() 2644 mod_timer(&priv->eee_ctrl_timer, STMMAC_LPI_T(priv->tx_lpi_timer)); in stmmac_tx_clean() 3326 if (!priv->tx_lpi_timer) in stmmac_hw_setup() 3327 priv->tx_lpi_timer = eee_timer * 1000; in stmmac_hw_setup()
|
/linux/drivers/net/ethernet/microchip/ |
A D | lan743x_ethtool.c | 719 eee->tx_lpi_timer = buf; in lan743x_ethtool_get_eee() 724 eee->tx_lpi_timer = 0; in lan743x_ethtool_get_eee() 760 buf = (u32)eee->tx_lpi_timer; in lan743x_ethtool_set_eee()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_ethtool.c | 1791 edata->tx_lpi_timer = current_link.eee.tx_lpi_timer; in qede_get_eee() 1838 params.eee.tx_lpi_timer = edata->tx_lpi_timer; in qede_set_eee()
|
/linux/drivers/net/ethernet/freescale/ |
A D | fec_main.c | 2791 sleep_cycle = fec_enet_us_to_tx_cycle(ndev, p->tx_lpi_timer); in fec_enet_eee_mode_set() 2822 edata->tx_lpi_timer = p->tx_lpi_timer; in fec_enet_get_eee() 2841 p->tx_lpi_timer = edata->tx_lpi_timer; in fec_enet_set_eee() 2844 !edata->tx_lpi_timer) in fec_enet_set_eee()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_ethtool.c | 2988 if (bp->lpi_tmr_hi && (edata->tx_lpi_timer > bp->lpi_tmr_hi || in bnxt_set_eee() 2989 edata->tx_lpi_timer < bp->lpi_tmr_lo)) { in bnxt_set_eee() 2995 edata->tx_lpi_timer = eee->tx_lpi_timer; in bnxt_set_eee() 3009 eee->tx_lpi_timer = edata->tx_lpi_timer; in bnxt_set_eee()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_ethtool.c | 2131 edata->tx_lpi_timer = (eee_cfg & SHMEM_EEE_TIMER_MASK) << 4; in bnx2x_get_eee() 2169 if (edata->tx_lpi_timer > EEE_MODE_TIMER_MASK) { in bnx2x_set_eee() 2176 (edata->tx_lpi_timer < EEE_MODE_NVRAM_AGGRESSIVE_TIME)) { in bnx2x_set_eee() 2195 bp->link_params.eee_mode |= (edata->tx_lpi_timer & in bnx2x_set_eee()
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | ethtool.c | 2238 edata->tx_lpi_timer = er32(LPIC) >> E1000_LPIC_LPIET_SHIFT; in e1000e_get_eee() 2266 if (eee_curr.tx_lpi_timer != edata->tx_lpi_timer) { in e1000e_set_eee()
|
/linux/include/uapi/linux/ |
A D | ethtool.h | 379 __u32 tx_lpi_timer; member
|
/linux/drivers/net/dsa/ |
A D | mt7530.c | 3085 e->tx_lpi_timer = GET_LPI_THRESH(eeecr); in mt753x_get_mac_eee() 3096 if (e->tx_lpi_timer > 0xFFF) in mt753x_set_mac_eee() 3099 set = SET_LPI_THRESH(e->tx_lpi_timer); in mt753x_set_mac_eee()
|
/linux/include/linux/qed/ |
A D | qed_if.h | 148 u32 tx_lpi_timer; member
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_main.c | 2205 if_link->eee.tx_lpi_timer = params.eee.tx_lpi_timer; in qed_fill_link()
|
A D | qed_mcp.c | 1509 phy_cfg.eee_cfg |= (params->eee.tx_lpi_timer << in qed_mcp_set_link()
|
/linux/drivers/net/usb/ |
A D | lan78xx.c | 1534 edata->tx_lpi_timer = buf; in lan78xx_get_eee() 1539 edata->tx_lpi_timer = 0; in lan78xx_get_eee() 1566 buf = (u32)edata->tx_lpi_timer; in lan78xx_set_eee()
|
/linux/drivers/net/ethernet/marvell/ |
A D | mvneta.c | 4887 eee->tx_lpi_timer = (lpi_ctl0) >> 8; // * scale; in mvneta_ethtool_get_eee() 4901 if (eee->tx_lpi_enabled && eee->tx_lpi_timer > 255) in mvneta_ethtool_set_eee() 4906 lpi_ctl0 |= eee->tx_lpi_timer << 8; in mvneta_ethtool_set_eee()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ethtool.c | 3465 if (eee_data.tx_lpi_timer != edata->tx_lpi_timer) { in ixgbe_set_eee()
|
/linux/drivers/net/ethernet/broadcom/genet/ |
A D | bcmgenet.c | 1349 e->tx_lpi_timer = bcmgenet_umac_readl(priv, UMAC_EEE_LPI_TIMER); in bcmgenet_get_eee() 1377 bcmgenet_umac_writel(priv, e->tx_lpi_timer, UMAC_EEE_LPI_TIMER); in bcmgenet_set_eee()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_ethtool.c | 1641 if (edata->tx_lpi_timer) { in igc_ethtool_set_eee()
|
/linux/drivers/net/ethernet/broadcom/ |
A D | tg3.c | 2377 dest->tx_lpi_timer = tr32(TG3_CPMU_EEE_DBTMR1) & 0xffff; in tg3_eee_pull_config() 4629 tp->eee.tx_lpi_timer != eee.tx_lpi_timer || in tg3_phy_eee_config_ok() 4766 (tp->eee.tx_lpi_timer & 0xffff)); in tg3_setup_eee() 14080 if (edata->tx_lpi_timer > TG3_CPMU_DBTMR1_LNKIDLE_MAX) { in tg3_set_eee() 15546 tp->eee.tx_lpi_timer = TG3_CPMU_DBTMR1_LNKIDLE_2047US; in tg3_phy_probe()
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_ethtool.c | 3129 if (edata->tx_lpi_timer) { in igb_set_eee()
|