Home
last modified time | relevance | path

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

/Linux-v5.4/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()
3383 switch (phy->req_flow_ctrl) { in bnx2x_calc_ieee_aneg_adv()
3432 params->phy[actual_phy_idx].req_flow_ctrl = in set_phy_vars()
3433 params->req_flow_ctrl[link_cfg_idx]; in set_phy_vars()
3450 params->phy[actual_phy_idx].req_flow_ctrl, in set_phy_vars()
3591 if (phy->req_flow_ctrl != BNX2X_FLOW_CTRL_AUTO) { in bnx2x_ext_phy_resolve_fc()
3596 vars->flow_ctrl = phy->req_flow_ctrl; in bnx2x_ext_phy_resolve_fc()
5423 if (phy->req_flow_ctrl != BNX2X_FLOW_CTRL_AUTO) { in bnx2x_flow_ctrl_resolve()
5428 vars->flow_ctrl = phy->req_flow_ctrl; in bnx2x_flow_ctrl_resolve()
[all …]
Dbnx2x_ethtool.c1985 epause->autoneg = (bp->link_params.req_flow_ctrl[cfg_idx] == in bnx2x_get_pauseparam()
1989 cfg_reg = bp->link_params.req_flow_ctrl[cfg_idx]; in bnx2x_get_pauseparam()
2015 bp->link_params.req_flow_ctrl[cfg_idx] = BNX2X_FLOW_CTRL_AUTO; in bnx2x_set_pauseparam()
2018 bp->link_params.req_flow_ctrl[cfg_idx] |= BNX2X_FLOW_CTRL_RX; in bnx2x_set_pauseparam()
2021 bp->link_params.req_flow_ctrl[cfg_idx] |= BNX2X_FLOW_CTRL_TX; in bnx2x_set_pauseparam()
2023 if (bp->link_params.req_flow_ctrl[cfg_idx] == BNX2X_FLOW_CTRL_AUTO) in bnx2x_set_pauseparam()
2024 bp->link_params.req_flow_ctrl[cfg_idx] = BNX2X_FLOW_CTRL_NONE; in bnx2x_set_pauseparam()
2033 bp->link_params.req_flow_ctrl[cfg_idx] = in bnx2x_set_pauseparam()
2048 "req_flow_ctrl 0x%x\n", bp->link_params.req_flow_ctrl[cfg_idx]); in bnx2x_set_pauseparam()
Dbnx2x_main.c2696 bp->link_params.req_flow_ctrl[0] = BNX2X_FLOW_CTRL_NONE; in bnx2x__link_status_update()
11523 bp->link_params.req_flow_ctrl[idx] = (link_config & in bnx2x_link_settings_requested()
11525 if (bp->link_params.req_flow_ctrl[idx] == in bnx2x_link_settings_requested()
11528 bp->link_params.req_flow_ctrl[idx] = in bnx2x_link_settings_requested()
11537 bp->link_params.req_flow_ctrl[idx], in bnx2x_link_settings_requested()
Dbnx2x_hsi.h2000 u32 req_flow_ctrl; member
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1652 epause->rx_pause = !!(link_info->req_flow_ctrl & BNXT_LINK_PAUSE_RX); in bnxt_get_pauseparam()
1653 epause->tx_pause = !!(link_info->req_flow_ctrl & BNXT_LINK_PAUSE_TX); in bnxt_get_pauseparam()
1672 link_info->req_flow_ctrl = in bnxt_set_pauseparam()
1681 link_info->req_flow_ctrl = 0; in bnxt_set_pauseparam()
1684 link_info->req_flow_ctrl |= BNXT_LINK_PAUSE_RX; in bnxt_set_pauseparam()
1687 link_info->req_flow_ctrl |= BNXT_LINK_PAUSE_TX; in bnxt_set_pauseparam()
Dbnxt.c8596 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_RX) in bnxt_hwrm_set_pause_common()
8598 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_TX) in bnxt_hwrm_set_pause_common()
8603 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_RX) in bnxt_hwrm_set_pause_common()
8605 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_TX) in bnxt_hwrm_set_pause_common()
8664 bp->link_info.force_pause_setting = bp->link_info.req_flow_ctrl; in bnxt_hwrm_set_pause()
9011 link_info->req_flow_ctrl) in bnxt_update_phy_setting()
9014 link_info->force_pause_setting != link_info->req_flow_ctrl) in bnxt_update_phy_setting()
11391 link_info->req_flow_ctrl = in bnxt_probe_phy()
11394 link_info->req_flow_ctrl = link_info->force_pause_setting; in bnxt_probe_phy()
Dbnxt.h1182 u8 req_flow_ctrl; member
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbnx2.c1046 bp->flow_ctrl = bp->req_flow_ctrl; in bnx2_resolve_flow_ctrl()
1670 if ((bp->req_flow_ctrl & (FLOW_CTRL_RX | FLOW_CTRL_TX)) == in bnx2_phy_get_pause_adv()
1680 else if (bp->req_flow_ctrl & FLOW_CTRL_TX) { in bnx2_phy_get_pause_adv()
1688 else if (bp->req_flow_ctrl & FLOW_CTRL_RX) { in bnx2_phy_get_pause_adv()
2036 bp->flow_ctrl = bp->req_flow_ctrl; in bnx2_remote_phy_event()
7425 bp->req_flow_ctrl = 0; in bnx2_set_pauseparam()
7427 bp->req_flow_ctrl |= FLOW_CTRL_RX; in bnx2_set_pauseparam()
7429 bp->req_flow_ctrl |= FLOW_CTRL_TX; in bnx2_set_pauseparam()
8460 bp->req_flow_ctrl = FLOW_CTRL_RX | FLOW_CTRL_TX; in bnx2_init_board()
Dbnx2.h6956 u8 req_flow_ctrl; /* flow ctrl advertisement */ member