Home
last modified time | relevance | path

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

/linux-6.1.9/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()
3322 bp->link_vars.line_speed); in bnx2x_set_phys_id()
Dbnx2x_link.h354 u16 line_speed; member
Dbnx2x_cmn.c1172 u16 line_speed = bp->link_vars.line_speed; in bnx2x_get_mf_speed() local
1181 line_speed = (line_speed * maxCfg) / 100; in bnx2x_get_mf_speed()
1185 if (vn_max_rate < line_speed) in bnx2x_get_mf_speed()
1186 line_speed = vn_max_rate; in bnx2x_get_mf_speed()
1190 return line_speed; in bnx2x_get_mf_speed()
1208 data->line_speed = bnx2x_get_mf_speed(bp); in bnx2x_fill_report_data()
1334 cur_data.line_speed, duplex, flow); in __bnx2x_link_report()
Dbnx2x_sriov.c1468 bulletin->link_speed = state->line_speed; in bnx2x_iov_link_update_vf()
3081 bp->vf_link_vars.line_speed = bulletin->link_speed; in bnx2x_sample_bulletin()
Dbnx2x.h1245 u16 line_speed; /* Effective line speed */ member
Dbnx2x_main.c2514 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()
2674 if (bp->link_vars.link_up && bp->link_vars.line_speed) in bnx2x_link_attn()
2722 bp->link_vars.line_speed = SPEED_10000; in bnx2x__link_status_update()
3337 bp->link_vars.line_speed = SPEED_10000; in bnx2x_pf_init()
/linux-6.1.9/drivers/net/ethernet/
Dfealnx.c404 unsigned int line_speed; member
956 np->line_speed = 1; /* 10M */ in getlinktype()
958 np->line_speed = 2; /* 100M */ in getlinktype()
965 np->line_speed = 2; /* 100M */ in getlinktype()
967 np->line_speed = 1; /* 10M */ in getlinktype()
977 np->line_speed = 2; /* 100M */ in getlinktype()
979 np->line_speed = 1; /* 10M */ in getlinktype()
996 np->line_speed = 3; /* 1000M */ in getlinktype()
998 np->line_speed = 2; /* 100M */ in getlinktype()
1000 np->line_speed = 1; /* 10M */ in getlinktype()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbnx2.c943 switch (bp->line_speed) { in bnx2_report_fw_link()
1006 bp->line_speed, in bnx2_report_link()
1118 bp->line_speed = bp->req_line_speed; in bnx2_5709s_linkup()
1125 bp->line_speed = SPEED_10; in bnx2_5709s_linkup()
1128 bp->line_speed = SPEED_100; in bnx2_5709s_linkup()
1132 bp->line_speed = SPEED_1000; in bnx2_5709s_linkup()
1135 bp->line_speed = SPEED_2500; in bnx2_5709s_linkup()
1154 bp->line_speed = SPEED_10; in bnx2_5708s_linkup()
1157 bp->line_speed = SPEED_100; in bnx2_5708s_linkup()
1160 bp->line_speed = SPEED_1000; in bnx2_5708s_linkup()
[all …]
Dbnx2.h6949 u16 line_speed; member
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.h91 u32 line_speed; member
Dqed_dev.c5273 if (!p_link->line_speed && (max_bw != 100)) in __qed_configure_pf_max_bandwidth()
5276 p_link->speed = (p_link->line_speed * max_bw) / 100; in __qed_configure_pf_max_bandwidth()
5340 if (!p_link->line_speed) in __qed_configure_pf_min_bandwidth()
5343 p_link->min_pf_rate = (p_link->line_speed * min_bw) / 100; in __qed_configure_pf_min_bandwidth()
Dqed_mcp.c1426 p_link->line_speed = p_link->speed; in qed_mcp_handle_link_change()
1428 p_link->line_speed = 0; in qed_mcp_handle_link_change()