Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c1979 epause->autoneg = (bp->link_params.req_flow_ctrl[cfg_idx] == in bnx2x_get_pauseparam()
1983 cfg_reg = bp->link_params.req_flow_ctrl[cfg_idx]; in bnx2x_get_pauseparam()
2009 bp->link_params.req_flow_ctrl[cfg_idx] = BNX2X_FLOW_CTRL_AUTO; in bnx2x_set_pauseparam()
2012 bp->link_params.req_flow_ctrl[cfg_idx] |= BNX2X_FLOW_CTRL_RX; in bnx2x_set_pauseparam()
2015 bp->link_params.req_flow_ctrl[cfg_idx] |= BNX2X_FLOW_CTRL_TX; in bnx2x_set_pauseparam()
2017 if (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_NONE; in bnx2x_set_pauseparam()
2027 bp->link_params.req_flow_ctrl[cfg_idx] = in bnx2x_set_pauseparam()
2042 "req_flow_ctrl 0x%x\n", bp->link_params.req_flow_ctrl[cfg_idx]); in bnx2x_set_pauseparam()
Dbnx2x_main.c2715 bp->link_params.req_flow_ctrl[0] = BNX2X_FLOW_CTRL_NONE; in bnx2x__link_status_update()
11462 bp->link_params.req_flow_ctrl[idx] = (link_config & in bnx2x_link_settings_requested()
11464 if (bp->link_params.req_flow_ctrl[idx] == in bnx2x_link_settings_requested()
11467 bp->link_params.req_flow_ctrl[idx] = in bnx2x_link_settings_requested()
11476 bp->link_params.req_flow_ctrl[idx], in bnx2x_link_settings_requested()
Dbnx2x_hsi.h2000 u32 req_flow_ctrl; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c2003 epause->rx_pause = !!(link_info->req_flow_ctrl & BNXT_LINK_PAUSE_RX); in bnxt_get_pauseparam()
2004 epause->tx_pause = !!(link_info->req_flow_ctrl & BNXT_LINK_PAUSE_TX); in bnxt_get_pauseparam()
2042 link_info->req_flow_ctrl = in bnxt_set_pauseparam()
2051 link_info->req_flow_ctrl = 0; in bnxt_set_pauseparam()
2054 link_info->req_flow_ctrl |= BNXT_LINK_PAUSE_RX; in bnxt_set_pauseparam()
2057 link_info->req_flow_ctrl |= BNXT_LINK_PAUSE_TX; in bnxt_set_pauseparam()
Dbnxt.c9297 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_RX) in bnxt_hwrm_set_pause_common()
9299 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_TX) in bnxt_hwrm_set_pause_common()
9304 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_RX) in bnxt_hwrm_set_pause_common()
9306 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_TX) in bnxt_hwrm_set_pause_common()
9368 bp->link_info.force_pause_setting = bp->link_info.req_flow_ctrl; in bnxt_hwrm_set_pause()
9733 link_info->req_flow_ctrl) in bnxt_update_phy_setting()
9736 link_info->force_pause_setting != link_info->req_flow_ctrl) in bnxt_update_phy_setting()
11105 link_info->req_flow_ctrl = in bnxt_init_ethtool_link_settings()
11108 link_info->req_flow_ctrl = link_info->force_pause_setting; in bnxt_init_ethtool_link_settings()
Dbnxt.h1254 u8 req_flow_ctrl; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbnx2.c1040 bp->flow_ctrl = bp->req_flow_ctrl; in bnx2_resolve_flow_ctrl()
1664 if ((bp->req_flow_ctrl & (FLOW_CTRL_RX | FLOW_CTRL_TX)) == in bnx2_phy_get_pause_adv()
1674 else if (bp->req_flow_ctrl & FLOW_CTRL_TX) { in bnx2_phy_get_pause_adv()
1682 else if (bp->req_flow_ctrl & FLOW_CTRL_RX) { in bnx2_phy_get_pause_adv()
2030 bp->flow_ctrl = bp->req_flow_ctrl; in bnx2_remote_phy_event()
7418 bp->req_flow_ctrl = 0; in bnx2_set_pauseparam()
7420 bp->req_flow_ctrl |= FLOW_CTRL_RX; in bnx2_set_pauseparam()
7422 bp->req_flow_ctrl |= FLOW_CTRL_TX; in bnx2_set_pauseparam()
8458 bp->req_flow_ctrl = FLOW_CTRL_RX | FLOW_CTRL_TX; in bnx2_init_board()
Dbnx2.h6956 u8 req_flow_ctrl; /* flow ctrl advertisement */ member