Home
last modified time | relevance | path

Searched refs:tx_lpi_timer (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c145 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()
Dsxgbe_common.h507 int tx_lpi_timer; member
Dsxgbe_main.c140 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/
Deee.c105 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/
Dstmmac_ethtool.c787 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()
Dstmmac.h255 int tx_lpi_timer; member
Dstmmac_main.c394 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/
Dlan743x_ethtool.c1081 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/
Dqede_ethtool.c1808 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/
Dfec_main.c2927 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/
Dbnxt_ethtool.c3093 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/
Dbnx2x_ethtool.c2135 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/
Dethtool.c2242 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/
Dethtool.h380 __u32 tx_lpi_timer; member
/linux-6.1.9/drivers/net/dsa/
Dmt7530.c3125 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/
Dqed_if.h148 u32 tx_lpi_timer; member
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_main.c2186 if_link->eee.tx_lpi_timer = params.eee.tx_lpi_timer; in qed_fill_link()
Dqed_mcp.c1555 phy_cfg.eee_cfg |= (params->eee.tx_lpi_timer << in qed_mcp_set_link()
/linux-6.1.9/drivers/net/usb/
Dlan78xx.c1699 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/
Dmvneta.c5037 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/
Dixgbe_ethtool.c3467 if (eee_data.tx_lpi_timer != edata->tx_lpi_timer) { in ixgbe_set_eee()
/linux-6.1.9/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c1349 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/
Digc_ethtool.c1647 if (edata->tx_lpi_timer) { in igc_ethtool_set_eee()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dtg3.c2377 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/
Digb_ethtool.c3131 if (edata->tx_lpi_timer) { in igb_set_eee()

12