Lines Matching refs:phy_flags
1822 if (vars->phy_flags & PHY_XGXS_FLAG) { in bnx2x_emac_enable()
4507 vars->phy_flags |= PHY_XGXS_FLAG; in bnx2x_warpcore_config_init()
4512 vars->phy_flags |= PHY_SGMII_FLAG; in bnx2x_warpcore_config_init()
4704 vars->phy_flags |= PHY_PHYSICAL_LINK_FLAG; in bnx2x_sync_link()
4764 vars->phy_flags |= PHY_SGMII_FLAG; in bnx2x_sync_link()
4766 vars->phy_flags &= ~PHY_SGMII_FLAG; in bnx2x_sync_link()
4771 vars->phy_flags |= PHY_SGMII_FLAG; in bnx2x_sync_link()
4798 vars->phy_flags |= PHY_HALF_OPEN_CONN_FLAG; in bnx2x_sync_link()
4800 vars->phy_flags |= PHY_SFP_TX_FAULT_FLAG; in bnx2x_sync_link()
4827 vars->phy_flags = PHY_XGXS_FLAG; in bnx2x_link_status_update()
5436 (!(vars->phy_flags & PHY_SGMII_FLAG))) { in bnx2x_flow_ctrl_resolve()
5934 if (!(vars->phy_flags & PHY_SGMII_FLAG)) { in bnx2x_xgxs_config_init()
5981 vars->phy_flags |= PHY_XGXS_FLAG; in bnx2x_prepare_xgxs()
5991 vars->phy_flags |= PHY_SGMII_FLAG; in bnx2x_prepare_xgxs()
5993 vars->phy_flags &= ~PHY_SGMII_FLAG; in bnx2x_prepare_xgxs()
6641 vars->phy_flags &= ~PHY_PHYSICAL_LINK_FLAG; in bnx2x_update_link_down()
6690 vars->phy_flags |= PHY_PHYSICAL_LINK_FLAG; in bnx2x_update_link_up()
6705 vars->phy_flags |= PHY_HALF_OPEN_CONN_FLAG; in bnx2x_update_link_up()
6730 vars->phy_flags |= PHY_HALF_OPEN_CONN_FLAG; in bnx2x_update_link_up()
6743 && (!(vars->phy_flags & PHY_SGMII_FLAG)) && in bnx2x_update_link_up()
6813 vars->phy_flags &= ~PHY_HALF_OPEN_CONN_FLAG; in bnx2x_link_update()
6832 port, (vars->phy_flags & PHY_XGXS_FLAG), in bnx2x_link_update()
7019 vars->phy_flags |= PHY_SGMII_FLAG; in bnx2x_link_update()
7021 vars->phy_flags &= ~PHY_SGMII_FLAG; in bnx2x_link_update()
12672 vars->phy_flags = PHY_XGXS_FLAG; in bnx2x_init_bmac_loopback()
12692 vars->phy_flags = PHY_XGXS_FLAG; in bnx2x_init_emac_loopback()
12713 vars->phy_flags = PHY_XGXS_FLAG; in bnx2x_init_xmac_loopback()
12736 vars->phy_flags = PHY_XGXS_FLAG; in bnx2x_init_umac_loopback()
12964 vars->phy_flags = 0; in bnx2x_phy_init()
13124 vars->phy_flags = 0; in bnx2x_link_reset()
13132 vars->phy_flags = 0; in bnx2x_lfa_reset()
13633 if ((vars->phy_flags & PHY_OVER_CURRENT_FLAG) == 0) { in bnx2x_check_over_curr()
13642 vars->phy_flags |= PHY_OVER_CURRENT_FLAG; in bnx2x_check_over_curr()
13646 vars->phy_flags &= ~PHY_OVER_CURRENT_FLAG; in bnx2x_check_over_curr()
13657 u32 old_status = (vars->phy_flags & phy_flag) ? 1 : 0; in bnx2x_analyze_link_error()
13677 if ((vars->phy_flags & PHY_PHYSICAL_LINK_FLAG) == 0) in bnx2x_analyze_link_error()
13687 vars->phy_flags |= phy_flag; in bnx2x_analyze_link_error()
13699 vars->phy_flags &= ~phy_flag; in bnx2x_analyze_link_error()
13737 if (((vars->phy_flags & PHY_PHYSICAL_LINK_FLAG) == 0) || in bnx2x_check_half_open_conn()
13811 if (vars->phy_flags & PHY_SFP_TX_FAULT_FLAG) { in bnx2x_sfp_tx_fault_detection()
13947 vars->phy_flags &= ~PHY_SFP_TX_FAULT_FLAG; in bnx2x_period_func()