Lines Matching refs:line_speed

503 		if (vars->line_speed == SPEED_20000)  in bnx2x_ets_get_min_w_val_nig()
1568 switch (vars->line_speed) { in bnx2x_umac_enable()
1583 vars->line_speed); in bnx2x_umac_enable()
1743 bnx2x_xmac_init(params, vars->line_speed); in bnx2x_xmac_enable()
1787 if ((vars->line_speed == SPEED_20000) && in bnx2x_xmac_enable()
2469 u32 line_speed) in bnx2x_pbf_update() argument
2497 line_speed == SPEED_10 || in bnx2x_pbf_update()
2498 line_speed == SPEED_100 || in bnx2x_pbf_update()
2499 line_speed == SPEED_1000 || in bnx2x_pbf_update()
2500 line_speed == SPEED_2500) { in bnx2x_pbf_update()
2514 switch (line_speed) { in bnx2x_pbf_update()
2520 line_speed); in bnx2x_pbf_update()
2526 line_speed, init_crd); in bnx2x_pbf_update()
3019 if (vars->line_speed == SPEED_100) in bnx2x_eee_an_resolve()
3027 if (vars->line_speed == SPEED_1000) in bnx2x_eee_an_resolve()
3035 if (vars->line_speed == SPEED_10000) in bnx2x_eee_an_resolve()
3755 if (((vars->line_speed == SPEED_AUTO_NEG) && in bnx2x_warpcore_enable_AN_KR()
3757 (vars->line_speed == SPEED_1000)) { in bnx2x_warpcore_enable_AN_KR()
3765 if (((vars->line_speed == SPEED_AUTO_NEG) && in bnx2x_warpcore_enable_AN_KR()
3767 (vars->line_speed == SPEED_10000)) { in bnx2x_warpcore_enable_AN_KR()
4500 vars->line_speed, serdes_net_if); in bnx2x_warpcore_config_init()
4526 if (vars->line_speed == SPEED_10000) { in bnx2x_warpcore_config_init()
4563 if (vars->line_speed != SPEED_20000) { in bnx2x_warpcore_config_init()
4713 vars->line_speed = SPEED_10; in bnx2x_sync_link()
4721 vars->line_speed = SPEED_100; in bnx2x_sync_link()
4728 vars->line_speed = SPEED_1000; in bnx2x_sync_link()
4735 vars->line_speed = SPEED_2500; in bnx2x_sync_link()
4739 vars->line_speed = SPEED_10000; in bnx2x_sync_link()
4742 vars->line_speed = SPEED_20000; in bnx2x_sync_link()
4757 if (vars->line_speed && in bnx2x_sync_link()
4758 ((vars->line_speed == SPEED_10) || in bnx2x_sync_link()
4759 (vars->line_speed == SPEED_100))) { in bnx2x_sync_link()
4764 if (vars->line_speed && in bnx2x_sync_link()
4766 (vars->line_speed == SPEED_1000)) in bnx2x_sync_link()
4769 link_10g_plus = (vars->line_speed >= SPEED_10000); in bnx2x_sync_link()
4787 vars->line_speed = 0; in bnx2x_sync_link()
4864 vars->line_speed, vars->duplex, vars->flow_ctrl); in bnx2x_link_status_update()
5041 if (vars->line_speed == SPEED_AUTO_NEG) in bnx2x_set_autoneg()
5059 if (vars->line_speed == SPEED_AUTO_NEG) in bnx2x_set_autoneg()
5073 if (vars->line_speed == SPEED_AUTO_NEG) { in bnx2x_set_autoneg()
5163 if (!((vars->line_speed == SPEED_1000) || in bnx2x_program_serdes()
5164 (vars->line_speed == SPEED_100) || in bnx2x_program_serdes()
5165 (vars->line_speed == SPEED_10))) { in bnx2x_program_serdes()
5169 if (vars->line_speed == SPEED_10000) in bnx2x_program_serdes()
5285 if (!(vars->line_speed == SPEED_AUTO_NEG)) { in bnx2x_initialize_sgmii_process()
5297 switch (vars->line_speed) { in bnx2x_initialize_sgmii_process()
5312 vars->line_speed); in bnx2x_initialize_sgmii_process()
5541 vars->line_speed = SPEED_10; in bnx2x_get_link_speed_duplex()
5549 vars->line_speed = SPEED_100; in bnx2x_get_link_speed_duplex()
5558 vars->line_speed = SPEED_1000; in bnx2x_get_link_speed_duplex()
5566 vars->line_speed = SPEED_2500; in bnx2x_get_link_speed_duplex()
5586 vars->line_speed = SPEED_10000; in bnx2x_get_link_speed_duplex()
5591 vars->line_speed = SPEED_20000; in bnx2x_get_link_speed_duplex()
5610 vars->phy_link_up, vars->line_speed); in bnx2x_get_link_speed_duplex()
5865 switch (vars->line_speed) { in bnx2x_emac_program()
5885 vars->line_speed); in bnx2x_emac_program()
5895 bnx2x_set_led(params, vars, LED_MODE_OPER, vars->line_speed); in bnx2x_emac_program()
5937 if (vars->line_speed != SPEED_AUTO_NEG || in bnx2x_xgxs_config_init()
6532 vars->line_speed = params->phy[INT_PHY].req_line_speed; in bnx2x_link_initialize()
6548 if (vars->line_speed == SPEED_AUTO_NEG && in bnx2x_link_initialize()
6559 vars->line_speed = params->phy[INT_PHY].req_line_speed; in bnx2x_link_initialize()
6641 vars->line_speed = 0; in bnx2x_update_link_down()
6705 LED_MODE_OPER, vars->line_speed); in bnx2x_update_link_up()
6746 vars->line_speed); in bnx2x_update_link_up()
6805 u16 ext_phy_line_speed = 0, prev_line_speed = vars->line_speed; in bnx2x_link_update()
6813 phy_vars[phy_index].line_speed = 0; in bnx2x_link_update()
6904 prev_line_speed = vars->line_speed; in bnx2x_link_update()
6942 ext_phy_line_speed = phy_vars[active_external_phy].line_speed; in bnx2x_link_update()
6976 (ext_phy_line_speed != vars->line_speed)) { in bnx2x_link_update()
6979 " link speed %d\n", vars->line_speed, in bnx2x_link_update()
6982 } else if (prev_line_speed != vars->line_speed) { in bnx2x_link_update()
6990 link_10g_plus = (vars->line_speed >= SPEED_10000); in bnx2x_link_update()
7010 vars->line_speed = ext_phy_line_speed; in bnx2x_link_update()
7011 if (vars->line_speed < SPEED_1000) in bnx2x_link_update()
7598 vars->line_speed = SPEED_10000; in bnx2x_8073_read_status()
7603 vars->line_speed = SPEED_2500; in bnx2x_8073_read_status()
7608 vars->line_speed = SPEED_1000; in bnx2x_8073_read_status()
7628 if (vars->line_speed == SPEED_1000) { in bnx2x_8073_read_status()
7733 vars->line_speed = SPEED_10000; in bnx2x_8705_read_status()
8867 vars->line_speed = SPEED_1000; in bnx2x_8706_8726_read_status()
8869 vars->line_speed = SPEED_10000; in bnx2x_8706_8726_read_status()
8875 if (vars->line_speed == SPEED_10000) { in bnx2x_8706_8726_read_status()
9066 vars->line_speed = 0; in bnx2x_8726_read_status()
9483 vars->line_speed = 0; in bnx2x_8727_read_status()
9569 vars->line_speed = SPEED_10000; in bnx2x_8727_read_status()
9574 vars->line_speed = SPEED_1000; in bnx2x_8727_read_status()
9584 if (vars->line_speed == SPEED_10000) { in bnx2x_8727_read_status()
10324 temp = vars->line_speed; in bnx2x_848x3_config_init()
10325 vars->line_speed = SPEED_10000; in bnx2x_848x3_config_init()
10328 vars->line_speed = temp; in bnx2x_848x3_config_init()
10507 vars->line_speed = SPEED_10000; in bnx2x_848xx_read_status()
10530 vars->line_speed = SPEED_10; in bnx2x_848xx_read_status()
10532 vars->line_speed = SPEED_100; in bnx2x_848xx_read_status()
10534 vars->line_speed = SPEED_1000; in bnx2x_848xx_read_status()
10536 vars->line_speed = 0; in bnx2x_848xx_read_status()
10548 vars->line_speed, in bnx2x_848xx_read_status()
10569 vars->line_speed); in bnx2x_848xx_read_status()
11334 vars->line_speed = SPEED_1000; in bnx2x_54618se_read_status()
11337 vars->line_speed = SPEED_1000; in bnx2x_54618se_read_status()
11340 vars->line_speed = SPEED_100; in bnx2x_54618se_read_status()
11345 vars->line_speed = SPEED_100; in bnx2x_54618se_read_status()
11348 vars->line_speed = SPEED_10; in bnx2x_54618se_read_status()
11351 vars->line_speed = SPEED_10; in bnx2x_54618se_read_status()
11354 vars->line_speed = 0; in bnx2x_54618se_read_status()
11358 vars->line_speed, in bnx2x_54618se_read_status()
11376 vars->line_speed); in bnx2x_54618se_read_status()
11533 vars->line_speed = SPEED_10000; in bnx2x_7101_read_status()
12675 vars->line_speed = SPEED_10000; in bnx2x_init_bmac_loopback()
12695 vars->line_speed = SPEED_1000; in bnx2x_init_emac_loopback()
12715 vars->line_speed = SPEED_10000; in bnx2x_init_xmac_loopback()
12717 vars->line_speed = params->req_line_speed[0]; in bnx2x_init_xmac_loopback()
12740 vars->line_speed = SPEED_1000; in bnx2x_init_umac_loopback()
12759 vars->line_speed = SPEED_1000; in bnx2x_init_xgxs_loopback()
12762 vars->line_speed = SPEED_20000; in bnx2x_init_xgxs_loopback()
12764 vars->line_speed = SPEED_10000; in bnx2x_init_xgxs_loopback()
12799 bnx2x_set_led(params, vars, LED_MODE_OPER, vars->line_speed); in bnx2x_init_xgxs_loopback()
12865 if (vars->line_speed < SPEED_10000) in bnx2x_avoid_link_flap()
12870 if (vars->line_speed < SPEED_10000) in bnx2x_avoid_link_flap()
12968 vars->line_speed = 0; in bnx2x_phy_init()