Home
last modified time | relevance | path

Searched refs:req_flow_ctrl (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.h199 u16 req_flow_ctrl; member
256 u16 req_flow_ctrl[LINK_CONFIG_SIZE]; member
Dbnx2x_link.c308 offsetof(struct shmem_lfa, req_flow_ctrl)); in bnx2x_check_lfa()
309 req_val = params->req_flow_ctrl[0] | (params->req_flow_ctrl[1] << 16); in bnx2x_check_lfa()
3387 switch (phy->req_flow_ctrl) { in bnx2x_calc_ieee_aneg_adv()
3436 params->phy[actual_phy_idx].req_flow_ctrl = in set_phy_vars()
3437 params->req_flow_ctrl[link_cfg_idx]; in set_phy_vars()
3454 params->phy[actual_phy_idx].req_flow_ctrl, in set_phy_vars()
3595 if (phy->req_flow_ctrl != BNX2X_FLOW_CTRL_AUTO) { in bnx2x_ext_phy_resolve_fc()
3600 vars->flow_ctrl = phy->req_flow_ctrl; in bnx2x_ext_phy_resolve_fc()
5427 if (phy->req_flow_ctrl != BNX2X_FLOW_CTRL_AUTO) { in bnx2x_flow_ctrl_resolve()
5432 vars->flow_ctrl = phy->req_flow_ctrl; in bnx2x_flow_ctrl_resolve()
[all …]
Dbnx2x_ethtool.c1987 epause->autoneg = (bp->link_params.req_flow_ctrl[cfg_idx] == in bnx2x_get_pauseparam()
1991 cfg_reg = bp->link_params.req_flow_ctrl[cfg_idx]; in bnx2x_get_pauseparam()
2017 bp->link_params.req_flow_ctrl[cfg_idx] = BNX2X_FLOW_CTRL_AUTO; in bnx2x_set_pauseparam()
2020 bp->link_params.req_flow_ctrl[cfg_idx] |= BNX2X_FLOW_CTRL_RX; in bnx2x_set_pauseparam()
2023 bp->link_params.req_flow_ctrl[cfg_idx] |= BNX2X_FLOW_CTRL_TX; in bnx2x_set_pauseparam()
2025 if (bp->link_params.req_flow_ctrl[cfg_idx] == BNX2X_FLOW_CTRL_AUTO) in bnx2x_set_pauseparam()
2026 bp->link_params.req_flow_ctrl[cfg_idx] = BNX2X_FLOW_CTRL_NONE; in bnx2x_set_pauseparam()
2035 bp->link_params.req_flow_ctrl[cfg_idx] = in bnx2x_set_pauseparam()
2050 "req_flow_ctrl 0x%x\n", bp->link_params.req_flow_ctrl[cfg_idx]); in bnx2x_set_pauseparam()
Dbnx2x_main.c2716 bp->link_params.req_flow_ctrl[0] = BNX2X_FLOW_CTRL_NONE; in bnx2x__link_status_update()
11466 bp->link_params.req_flow_ctrl[idx] = (link_config & in bnx2x_link_settings_requested()
11468 if (bp->link_params.req_flow_ctrl[idx] == in bnx2x_link_settings_requested()
11471 bp->link_params.req_flow_ctrl[idx] = in bnx2x_link_settings_requested()
11480 bp->link_params.req_flow_ctrl[idx], in bnx2x_link_settings_requested()
Dbnx2x_hsi.h2000 u32 req_flow_ctrl; member
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c2087 epause->rx_pause = !!(link_info->req_flow_ctrl & BNXT_LINK_PAUSE_RX); in bnxt_get_pauseparam()
2088 epause->tx_pause = !!(link_info->req_flow_ctrl & BNXT_LINK_PAUSE_TX); in bnxt_get_pauseparam()
2125 link_info->req_flow_ctrl = 0; in bnxt_set_pauseparam()
2133 link_info->req_flow_ctrl = 0; in bnxt_set_pauseparam()
2136 link_info->req_flow_ctrl |= BNXT_LINK_PAUSE_RX; in bnxt_set_pauseparam()
2139 link_info->req_flow_ctrl |= BNXT_LINK_PAUSE_TX; in bnxt_set_pauseparam()
Dbnxt.c9818 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_RX) in bnxt_hwrm_set_pause_common()
9820 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_TX) in bnxt_hwrm_set_pause_common()
9825 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_RX) in bnxt_hwrm_set_pause_common()
9827 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_TX) in bnxt_hwrm_set_pause_common()
9891 bp->link_info.force_pause_setting = bp->link_info.req_flow_ctrl; in bnxt_hwrm_set_pause()
10384 link_info->req_flow_ctrl) in bnxt_update_phy_setting()
10387 link_info->force_pause_setting != link_info->req_flow_ctrl) in bnxt_update_phy_setting()
12041 link_info->req_flow_ctrl = in bnxt_init_ethtool_link_settings()
12044 link_info->req_flow_ctrl = link_info->force_pause_setting; in bnxt_init_ethtool_link_settings()
Dbnxt.h1305 u8 req_flow_ctrl; member
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dbnx2.c1039 bp->flow_ctrl = bp->req_flow_ctrl; in bnx2_resolve_flow_ctrl()
1663 if ((bp->req_flow_ctrl & (FLOW_CTRL_RX | FLOW_CTRL_TX)) == in bnx2_phy_get_pause_adv()
1673 else if (bp->req_flow_ctrl & FLOW_CTRL_TX) { in bnx2_phy_get_pause_adv()
1681 else if (bp->req_flow_ctrl & FLOW_CTRL_RX) { in bnx2_phy_get_pause_adv()
2029 bp->flow_ctrl = bp->req_flow_ctrl; in bnx2_remote_phy_event()
7411 bp->req_flow_ctrl = 0; in bnx2_set_pauseparam()
7413 bp->req_flow_ctrl |= FLOW_CTRL_RX; in bnx2_set_pauseparam()
7415 bp->req_flow_ctrl |= FLOW_CTRL_TX; in bnx2_set_pauseparam()
8422 bp->req_flow_ctrl = FLOW_CTRL_RX | FLOW_CTRL_TX; in bnx2_init_board()
Dbnx2.h6955 u8 req_flow_ctrl; /* flow ctrl advertisement */ member