Searched refs:line_speed (Results 1 – 13 of 13) sorted by relevance
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() argument2497 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 …]
239 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() local405 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()
354 u16 line_speed; member
1171 u16 line_speed = bp->link_vars.line_speed; in bnx2x_get_mf_speed() local1180 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()
1475 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()
1239 u16 line_speed; /* Effective line speed */ member
2493 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()
411 unsigned int line_speed; member964 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 …]
949 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 …]
6949 u16 line_speed; member
83 u32 line_speed; member
5327 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()
1400 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()