/linux-6.1.9/drivers/net/ethernet/samsung/sxgbe/ |
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()
|
D | sxgbe_common.h | 507 int tx_lpi_timer; member
|
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-6.1.9/net/ethtool/ |
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-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 787 edata->tx_lpi_timer = priv->tx_lpi_timer; in stmmac_ethtool_op_get_eee() 814 priv->tx_lpi_timer != edata->tx_lpi_timer) { in stmmac_ethtool_op_set_eee() 815 priv->tx_lpi_timer = edata->tx_lpi_timer; in stmmac_ethtool_op_set_eee()
|
D | stmmac.h | 255 int tx_lpi_timer; member
|
D | stmmac_main.c | 394 int tx_lpi_timer; in stmmac_lpi_entry_timer_config() local 398 tx_lpi_timer = en ? priv->tx_lpi_timer : 0; in stmmac_lpi_entry_timer_config() 399 stmmac_set_eee_lpi_timer(priv, priv->hw, tx_lpi_timer); in stmmac_lpi_entry_timer_config() 458 mod_timer(&priv->eee_ctrl_timer, STMMAC_LPI_T(priv->tx_lpi_timer)); in stmmac_eee_ctrl_timer() 512 if (priv->plat->has_gmac4 && priv->tx_lpi_timer <= STMMAC_ET_MAX) { in stmmac_eee_init() 519 STMMAC_LPI_T(priv->tx_lpi_timer)); in stmmac_eee_init() 2679 mod_timer(&priv->eee_ctrl_timer, STMMAC_LPI_T(priv->tx_lpi_timer)); in stmmac_tx_clean() 3354 if (!priv->tx_lpi_timer) in stmmac_hw_setup() 3355 priv->tx_lpi_timer = eee_timer * 1000; in stmmac_hw_setup()
|
/linux-6.1.9/drivers/net/ethernet/microchip/ |
D | lan743x_ethtool.c | 1081 eee->tx_lpi_timer = buf; in lan743x_ethtool_get_eee() 1086 eee->tx_lpi_timer = 0; in lan743x_ethtool_get_eee() 1122 buf = (u32)eee->tx_lpi_timer; in lan743x_ethtool_set_eee()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/ |
D | qede_ethtool.c | 1808 edata->tx_lpi_timer = current_link.eee.tx_lpi_timer; in qede_get_eee() 1855 params.eee.tx_lpi_timer = edata->tx_lpi_timer; in qede_set_eee()
|
/linux-6.1.9/drivers/net/ethernet/freescale/ |
D | fec_main.c | 2927 sleep_cycle = fec_enet_us_to_tx_cycle(ndev, p->tx_lpi_timer); in fec_enet_eee_mode_set() 2958 edata->tx_lpi_timer = p->tx_lpi_timer; in fec_enet_get_eee() 2977 p->tx_lpi_timer = edata->tx_lpi_timer; in fec_enet_set_eee() 2980 !edata->tx_lpi_timer) in fec_enet_set_eee()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 3093 if (bp->lpi_tmr_hi && (edata->tx_lpi_timer > bp->lpi_tmr_hi || in bnxt_set_eee() 3094 edata->tx_lpi_timer < bp->lpi_tmr_lo)) { in bnxt_set_eee() 3100 edata->tx_lpi_timer = eee->tx_lpi_timer; in bnxt_set_eee() 3114 eee->tx_lpi_timer = edata->tx_lpi_timer; in bnxt_set_eee()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 2135 edata->tx_lpi_timer = (eee_cfg & SHMEM_EEE_TIMER_MASK) << 4; in bnx2x_get_eee() 2173 if (edata->tx_lpi_timer > EEE_MODE_TIMER_MASK) { in bnx2x_set_eee() 2180 (edata->tx_lpi_timer < EEE_MODE_NVRAM_AGGRESSIVE_TIME)) { in bnx2x_set_eee() 2199 bp->link_params.eee_mode |= (edata->tx_lpi_timer & in bnx2x_set_eee()
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/ |
D | ethtool.c | 2242 edata->tx_lpi_timer = er32(LPIC) >> E1000_LPIC_LPIET_SHIFT; in e1000e_get_eee() 2270 if (eee_curr.tx_lpi_timer != edata->tx_lpi_timer) { in e1000e_set_eee()
|
/linux-6.1.9/include/uapi/linux/ |
D | ethtool.h | 380 __u32 tx_lpi_timer; member
|
/linux-6.1.9/drivers/net/dsa/ |
D | mt7530.c | 3125 e->tx_lpi_timer = GET_LPI_THRESH(eeecr); in mt753x_get_mac_eee() 3136 if (e->tx_lpi_timer > 0xFFF) in mt753x_set_mac_eee() 3139 set = SET_LPI_THRESH(e->tx_lpi_timer); in mt753x_set_mac_eee()
|
/linux-6.1.9/include/linux/qed/ |
D | qed_if.h | 148 u32 tx_lpi_timer; member
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/ |
D | qed_main.c | 2186 if_link->eee.tx_lpi_timer = params.eee.tx_lpi_timer; in qed_fill_link()
|
D | qed_mcp.c | 1555 phy_cfg.eee_cfg |= (params->eee.tx_lpi_timer << in qed_mcp_set_link()
|
/linux-6.1.9/drivers/net/usb/ |
D | lan78xx.c | 1699 edata->tx_lpi_timer = buf; in lan78xx_get_eee() 1704 edata->tx_lpi_timer = 0; in lan78xx_get_eee() 1731 buf = (u32)edata->tx_lpi_timer; in lan78xx_set_eee()
|
/linux-6.1.9/drivers/net/ethernet/marvell/ |
D | mvneta.c | 5037 eee->tx_lpi_timer = (lpi_ctl0) >> 8; // * scale; in mvneta_ethtool_get_eee() 5051 if (eee->tx_lpi_enabled && eee->tx_lpi_timer > 255) in mvneta_ethtool_set_eee() 5056 lpi_ctl0 |= eee->tx_lpi_timer << 8; in mvneta_ethtool_set_eee()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 3467 if (eee_data.tx_lpi_timer != edata->tx_lpi_timer) { in ixgbe_set_eee()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/genet/ |
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-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_ethtool.c | 1647 if (edata->tx_lpi_timer) { in igc_ethtool_set_eee()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
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() 14083 if (edata->tx_lpi_timer > TG3_CPMU_DBTMR1_LNKIDLE_MAX) { in tg3_set_eee() 15549 tp->eee.tx_lpi_timer = TG3_CPMU_DBTMR1_LNKIDLE_2047US; in tg3_phy_probe()
|
/linux-6.1.9/drivers/net/ethernet/intel/igb/ |
D | igb_ethtool.c | 3131 if (edata->tx_lpi_timer) { in igb_set_eee()
|