Home
last modified time | relevance | path

Searched refs:eee_cfg (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c2114 u32 eee_cfg; in bnx2x_get_eee() local
2121 eee_cfg = bp->link_vars.eee_status; in bnx2x_get_eee()
2124 bnx2x_eee_to_adv((eee_cfg & SHMEM_EEE_SUPPORTED_MASK) >> in bnx2x_get_eee()
2128 bnx2x_eee_to_adv((eee_cfg & SHMEM_EEE_ADV_STATUS_MASK) >> in bnx2x_get_eee()
2131 bnx2x_eee_to_adv((eee_cfg & SHMEM_EEE_LP_ADV_STATUS_MASK) >> in bnx2x_get_eee()
2135 edata->tx_lpi_timer = (eee_cfg & SHMEM_EEE_TIMER_MASK) << 4; in bnx2x_get_eee()
2137 edata->eee_enabled = (eee_cfg & SHMEM_EEE_REQUESTED_BIT) ? 1 : 0; in bnx2x_get_eee()
2138 edata->eee_active = (eee_cfg & SHMEM_EEE_ACTIVE_BIT) ? 1 : 0; in bnx2x_get_eee()
2139 edata->tx_lpi_enabled = (eee_cfg & SHMEM_EEE_LPI_REQUESTED_BIT) ? 1 : 0; in bnx2x_get_eee()
2147 u32 eee_cfg; in bnx2x_set_eee() local
[all …]
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c1548 phy_cfg.eee_cfg |= EEE_CFG_EEE_ENABLED; in qed_mcp_set_link()
1550 phy_cfg.eee_cfg |= EEE_CFG_TX_LPI; in qed_mcp_set_link()
1552 phy_cfg.eee_cfg |= EEE_CFG_ADV_SPEED_1G; in qed_mcp_set_link()
1554 phy_cfg.eee_cfg |= EEE_CFG_ADV_SPEED_10G; in qed_mcp_set_link()
1555 phy_cfg.eee_cfg |= (params->eee.tx_lpi_timer << in qed_mcp_set_link()
Dqed_mfw_hsi.h100 u32 eee_cfg; member