Lines Matching refs:link_vars
1738 if (bp->link_vars.link_up) { in bnx2x_get_link_cfg_idx()
1741 if ((bp->link_vars.link_status & LINK_STATUS_SERDES_LINK) && in bnx2x_get_link_cfg_idx()
1777 switch (bp->link_vars.ieee_fc & in bnx2x_calc_fc_adv()
1821 rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars); in bnx2x_initial_phy_init()
1827 if (CHIP_REV_IS_SLOW(bp) && bp->link_vars.link_up) { in bnx2x_initial_phy_init()
1842 bnx2x_link_reset(&bp->link_params, &bp->link_vars, 1); in bnx2x_link_set()
1843 bnx2x_phy_init(&bp->link_params, &bp->link_vars); in bnx2x_link_set()
1855 bnx2x_link_reset(&bp->link_params, &bp->link_vars, 1); in bnx2x__link_reset()
1867 rc = bnx2x_test_link(&bp->link_params, &bp->link_vars, in bnx2x_link_test()
1878 u32 r_param = bp->link_vars.line_speed / 8; in bnx2x_init_port_minmax()
1898 t_fair = T_FAIR_COEF / bp->link_vars.line_speed; in bnx2x_init_port_minmax()
1982 vn_max_rate = (bp->link_vars.line_speed * maxCfg) / 100; in bnx2x_init_vn_minmax()
2126 u32 prev_link_status = bp->link_vars.link_status; in bnx2x_link_attn()
2130 bnx2x_link_update(&bp->link_params, &bp->link_vars); in bnx2x_link_attn()
2132 if (bp->link_vars.link_up) { in bnx2x_link_attn()
2139 if (bp->link_vars.flow_ctrl & BNX2X_FLOW_CTRL_TX) in bnx2x_link_attn()
2147 if (bp->link_vars.mac_type == MAC_TYPE_BMAC) { in bnx2x_link_attn()
2159 if (bp->link_vars.link_up && bp->link_vars.line_speed) { in bnx2x_link_attn()
2175 if (prev_link_status != bp->link_vars.link_status) in bnx2x_link_attn()
2184 bnx2x_link_status_update(&bp->link_params, &bp->link_vars); in bnx2x__link_status_update()
2186 if (bp->link_vars.link_up) in bnx2x__link_status_update()
2593 bp->link_vars.line_speed = SPEED_10000; in bnx2x_pf_init()
2647 if (bp->link_vars.link_up) { in bnx2x_config_mf_bw()