Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c734 link_info->req_flow_ctrl |= BNXT_LINK_PAUSE_BOTH; in bnxt_set_pauseparam()
742 link_info->req_flow_ctrl &= ~BNXT_LINK_PAUSE_BOTH; in bnxt_set_pauseparam()
745 link_info->req_flow_ctrl |= BNXT_LINK_PAUSE_RX; in bnxt_set_pauseparam()
747 link_info->req_flow_ctrl &= ~BNXT_LINK_PAUSE_RX; in bnxt_set_pauseparam()
750 link_info->req_flow_ctrl |= BNXT_LINK_PAUSE_TX; in bnxt_set_pauseparam()
752 link_info->req_flow_ctrl &= ~BNXT_LINK_PAUSE_TX; in bnxt_set_pauseparam()
Dbnxt.c4395 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_RX) in bnxt_hwrm_set_pause_common()
4397 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_TX) in bnxt_hwrm_set_pause_common()
4402 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_RX) in bnxt_hwrm_set_pause_common()
4404 if (bp->link_info.req_flow_ctrl & BNXT_LINK_PAUSE_TX) in bnxt_hwrm_set_pause_common()
4461 bp->link_info.force_pause_setting = bp->link_info.req_flow_ctrl; in bnxt_hwrm_set_pause()
4497 link_info->auto_pause_setting != link_info->req_flow_ctrl) in bnxt_update_phy_setting()
4500 link_info->force_pause_setting != link_info->req_flow_ctrl) in bnxt_update_phy_setting()
5584 link_info->req_flow_ctrl = link_info->auto_pause_setting; in bnxt_probe_phy()
5586 link_info->req_flow_ctrl = link_info->force_pause_setting; in bnxt_probe_phy()
Dbnxt.h827 u8 req_flow_ctrl; member
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.h198 u16 req_flow_ctrl; member
255 u16 req_flow_ctrl[LINK_CONFIG_SIZE]; member
Dbnx2x_link.c314 offsetof(struct shmem_lfa, req_flow_ctrl)); in bnx2x_check_lfa()
315 req_val = params->req_flow_ctrl[0] | (params->req_flow_ctrl[1] << 16); in bnx2x_check_lfa()
3393 switch (phy->req_flow_ctrl) { in bnx2x_calc_ieee_aneg_adv()
3442 params->phy[actual_phy_idx].req_flow_ctrl = in set_phy_vars()
3443 params->req_flow_ctrl[link_cfg_idx]; in set_phy_vars()
3460 params->phy[actual_phy_idx].req_flow_ctrl, in set_phy_vars()
3601 if (phy->req_flow_ctrl != BNX2X_FLOW_CTRL_AUTO) { in bnx2x_ext_phy_resolve_fc()
3606 vars->flow_ctrl = phy->req_flow_ctrl; in bnx2x_ext_phy_resolve_fc()
5433 if (phy->req_flow_ctrl != BNX2X_FLOW_CTRL_AUTO) { in bnx2x_flow_ctrl_resolve()
5438 vars->flow_ctrl = phy->req_flow_ctrl; in bnx2x_flow_ctrl_resolve()
[all …]
Dbnx2x_ethtool.c1924 epause->autoneg = (bp->link_params.req_flow_ctrl[cfg_idx] == in bnx2x_get_pauseparam()
1928 cfg_reg = bp->link_params.req_flow_ctrl[cfg_idx]; in bnx2x_get_pauseparam()
1954 bp->link_params.req_flow_ctrl[cfg_idx] = BNX2X_FLOW_CTRL_AUTO; in bnx2x_set_pauseparam()
1957 bp->link_params.req_flow_ctrl[cfg_idx] |= BNX2X_FLOW_CTRL_RX; in bnx2x_set_pauseparam()
1960 bp->link_params.req_flow_ctrl[cfg_idx] |= BNX2X_FLOW_CTRL_TX; in bnx2x_set_pauseparam()
1962 if (bp->link_params.req_flow_ctrl[cfg_idx] == BNX2X_FLOW_CTRL_AUTO) in bnx2x_set_pauseparam()
1963 bp->link_params.req_flow_ctrl[cfg_idx] = BNX2X_FLOW_CTRL_NONE; in bnx2x_set_pauseparam()
1972 bp->link_params.req_flow_ctrl[cfg_idx] = in bnx2x_set_pauseparam()
1987 "req_flow_ctrl 0x%x\n", bp->link_params.req_flow_ctrl[cfg_idx]); in bnx2x_set_pauseparam()
Dbnx2x_main.c2705 bp->link_params.req_flow_ctrl[0] = BNX2X_FLOW_CTRL_NONE; in bnx2x__link_status_update()
11408 bp->link_params.req_flow_ctrl[idx] = (link_config & in bnx2x_link_settings_requested()
11410 if (bp->link_params.req_flow_ctrl[idx] == in bnx2x_link_settings_requested()
11413 bp->link_params.req_flow_ctrl[idx] = in bnx2x_link_settings_requested()
11422 bp->link_params.req_flow_ctrl[idx], in bnx2x_link_settings_requested()
Dbnx2x_hsi.h1990 u32 req_flow_ctrl; member
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbnx2.c1042 bp->flow_ctrl = bp->req_flow_ctrl; in bnx2_resolve_flow_ctrl()
1666 if ((bp->req_flow_ctrl & (FLOW_CTRL_RX | FLOW_CTRL_TX)) == in bnx2_phy_get_pause_adv()
1676 else if (bp->req_flow_ctrl & FLOW_CTRL_TX) { in bnx2_phy_get_pause_adv()
1684 else if (bp->req_flow_ctrl & FLOW_CTRL_RX) { in bnx2_phy_get_pause_adv()
2032 bp->flow_ctrl = bp->req_flow_ctrl; in bnx2_remote_phy_event()
7406 bp->req_flow_ctrl = 0; in bnx2_set_pauseparam()
7408 bp->req_flow_ctrl |= FLOW_CTRL_RX; in bnx2_set_pauseparam()
7410 bp->req_flow_ctrl |= FLOW_CTRL_TX; in bnx2_set_pauseparam()
8445 bp->req_flow_ctrl = FLOW_CTRL_RX | FLOW_CTRL_TX; in bnx2_init_board()
Dbnx2.h6956 u8 req_flow_ctrl; /* flow ctrl advertisement */ member