Lines Matching refs:link_vars
2310 switch (bp->link_vars.ieee_fc & in bnx2x_calc_fc_adv()
2342 if (!CHIP_IS_E1(bp) && bp->dropless_fc && bp->link_vars.link_up) { in bnx2x_init_dropless_fc()
2343 if (bp->link_vars.flow_ctrl & BNX2X_FLOW_CTRL_TX) in bnx2x_init_dropless_fc()
2388 rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars); in bnx2x_initial_phy_init()
2396 if (bp->link_vars.link_up) { in bnx2x_initial_phy_init()
2412 bnx2x_phy_init(&bp->link_params, &bp->link_vars); in bnx2x_link_set()
2426 bnx2x_lfa_reset(&bp->link_params, &bp->link_vars); in bnx2x__link_reset()
2435 bnx2x_link_reset(&bp->link_params, &bp->link_vars, 1); in bnx2x_force_link_reset()
2445 rc = bnx2x_test_link(&bp->link_params, &bp->link_vars, in bnx2x_link_test()
2514 vn_max_rate = (bp->link_vars.line_speed * maxCfg) / 100; in bnx2x_calc_vn_max()
2576 input.port_rate = bp->link_vars.line_speed; in bnx2x_cmng_fns_init()
2656 bnx2x_link_update(&bp->link_params, &bp->link_vars); in bnx2x_link_attn()
2660 if (bp->link_vars.link_up) { in bnx2x_link_attn()
2662 if (bp->link_vars.mac_type != MAC_TYPE_EMAC) { in bnx2x_link_attn()
2674 if (bp->link_vars.link_up && bp->link_vars.line_speed) in bnx2x_link_attn()
2691 bnx2x_link_status_update(&bp->link_params, &bp->link_vars); in bnx2x__link_status_update()
2692 if (bp->link_vars.link_up) in bnx2x__link_status_update()
2721 bp->link_vars.mac_type = MAC_TYPE_BMAC; in bnx2x__link_status_update()
2722 bp->link_vars.line_speed = SPEED_10000; in bnx2x__link_status_update()
2723 bp->link_vars.link_status = in bnx2x__link_status_update()
2726 bp->link_vars.link_up = 1; in bnx2x__link_status_update()
2727 bp->link_vars.duplex = DUPLEX_FULL; in bnx2x__link_status_update()
2728 bp->link_vars.flow_ctrl = BNX2X_FLOW_CTRL_NONE; in bnx2x__link_status_update()
3337 bp->link_vars.line_speed = SPEED_10000; in bnx2x_pf_init()
3561 if (bp->link_vars.link_up) { in bnx2x_config_mf_bw()
4184 if ((attn & bp->link_vars.aeu_int_mask) && bp->port.pmf) { in bnx2x_attn_int_deasserted0()
4328 if (bp->link_vars.periodic_flags & in bnx2x_attn_int_deasserted3()
4332 bp->link_vars.periodic_flags &= in bnx2x_attn_int_deasserted3()
6539 bnx2x_init_mod_abs_int(bp, &bp->link_vars, bp->common.chip_id, in bnx2x_pre_irq_nic_init()
10278 bp->link_vars.link_up = 0; in bnx2x_sp_rtnl_task()
10383 bnx2x_period_func(&bp->link_params, &bp->link_vars); in bnx2x_period_task()