Home
last modified time | relevance | path

Searched refs:line_speed (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c503 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()
[all …]
Dbnx2x_ethtool.c239 cmd->base.speed = bp->vf_link_vars.line_speed; in bnx2x_get_vf_link_ksettings()
290 cmd->base.speed = bp->link_vars.line_speed; in bnx2x_get_link_ksettings()
402 u32 line_speed = bp->link_vars.line_speed; in bnx2x_set_link_ksettings() local
405 if (!line_speed) in bnx2x_set_link_ksettings()
406 line_speed = 10000; in bnx2x_set_link_ksettings()
415 part = (speed * 100) / line_speed; in bnx2x_set_link_ksettings()
417 if (line_speed < speed || !part) { in bnx2x_set_link_ksettings()
3320 bp->link_vars.line_speed); in bnx2x_set_phys_id()
Dbnx2x_link.h354 u16 line_speed; member
Dbnx2x_cmn.c1171 u16 line_speed = bp->link_vars.line_speed; in bnx2x_get_mf_speed() local
1180 line_speed = (line_speed * maxCfg) / 100; in bnx2x_get_mf_speed()
1184 if (vn_max_rate < line_speed) in bnx2x_get_mf_speed()
1185 line_speed = vn_max_rate; in bnx2x_get_mf_speed()
1189 return line_speed; in bnx2x_get_mf_speed()
1207 data->line_speed = bnx2x_get_mf_speed(bp); in bnx2x_fill_report_data()
1333 cur_data.line_speed, duplex, flow); in __bnx2x_link_report()
Dbnx2x_sriov.c1475 bulletin->link_speed = state->line_speed; in bnx2x_iov_link_update_vf()
3088 bp->vf_link_vars.line_speed = bulletin->link_speed; in bnx2x_sample_bulletin()
Dbnx2x.h1239 u16 line_speed; /* Effective line speed */ member
Dbnx2x_main.c2493 vn_max_rate = (bp->link_vars.line_speed * maxCfg) / 100; in bnx2x_calc_vn_max()
2555 input.port_rate = bp->link_vars.line_speed; in bnx2x_cmng_fns_init()
2653 if (bp->link_vars.link_up && bp->link_vars.line_speed) in bnx2x_link_attn()
2701 bp->link_vars.line_speed = SPEED_10000; in bnx2x__link_status_update()
3316 bp->link_vars.line_speed = SPEED_10000; in bnx2x_pf_init()
/Linux-v5.4/drivers/net/ethernet/
Dfealnx.c411 unsigned int line_speed; member
964 np->line_speed = 1; /* 10M */ in getlinktype()
966 np->line_speed = 2; /* 100M */ in getlinktype()
973 np->line_speed = 2; /* 100M */ in getlinktype()
975 np->line_speed = 1; /* 10M */ in getlinktype()
985 np->line_speed = 2; /* 100M */ in getlinktype()
987 np->line_speed = 1; /* 10M */ in getlinktype()
1004 np->line_speed = 3; /* 1000M */ in getlinktype()
1006 np->line_speed = 2; /* 100M */ in getlinktype()
1008 np->line_speed = 1; /* 10M */ in getlinktype()
[all …]
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbnx2.c949 switch (bp->line_speed) { in bnx2_report_fw_link()
1012 bp->line_speed, in bnx2_report_link()
1124 bp->line_speed = bp->req_line_speed; in bnx2_5709s_linkup()
1131 bp->line_speed = SPEED_10; in bnx2_5709s_linkup()
1134 bp->line_speed = SPEED_100; in bnx2_5709s_linkup()
1138 bp->line_speed = SPEED_1000; in bnx2_5709s_linkup()
1141 bp->line_speed = SPEED_2500; in bnx2_5709s_linkup()
1160 bp->line_speed = SPEED_10; in bnx2_5708s_linkup()
1163 bp->line_speed = SPEED_100; in bnx2_5708s_linkup()
1166 bp->line_speed = SPEED_1000; in bnx2_5708s_linkup()
[all …]
Dbnx2.h6949 u16 line_speed; member
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.h83 u32 line_speed; member
Dqed_dev.c5327 if (!p_link->line_speed && (max_bw != 100)) in __qed_configure_pf_max_bandwidth()
5330 p_link->speed = (p_link->line_speed * max_bw) / 100; in __qed_configure_pf_max_bandwidth()
5394 if (!p_link->line_speed) in __qed_configure_pf_min_bandwidth()
5397 p_link->min_pf_rate = (p_link->line_speed * min_bw) / 100; in __qed_configure_pf_min_bandwidth()
Dqed_mcp.c1400 p_link->line_speed = p_link->speed; in qed_mcp_handle_link_change()
1402 p_link->line_speed = 0; in qed_mcp_handle_link_change()