Searched refs:line_speed (Results 1 – 9 of 9) sorted by relevance
468 if (vars->line_speed == SPEED_20000) in bnx2x_ets_get_min_w_val_nig()1597 switch (vars->line_speed) { in bnx2x_umac_enable()1612 vars->line_speed); in bnx2x_umac_enable()1756 bnx2x_xmac_init(params, vars->line_speed); in bnx2x_xmac_enable()2875 u32 line_speed) in bnx2x_pbf_update() argument2904 line_speed == SPEED_10 || in bnx2x_pbf_update()2905 line_speed == SPEED_100 || in bnx2x_pbf_update()2906 line_speed == SPEED_1000 || in bnx2x_pbf_update()2907 line_speed == SPEED_2500) { in bnx2x_pbf_update()2921 switch (line_speed) { in bnx2x_pbf_update()[all …]
878 u16 line_speed = bp->link_vars.line_speed; in bnx2x_get_mf_speed() local887 line_speed = (line_speed * maxCfg) / 100; in bnx2x_get_mf_speed()891 if (vn_max_rate < line_speed) in bnx2x_get_mf_speed()892 line_speed = vn_max_rate; in bnx2x_get_mf_speed()896 return line_speed; in bnx2x_get_mf_speed()910 u16 line_speed = bnx2x_get_mf_speed(bp); in bnx2x_fill_report_data() local915 data->line_speed = line_speed; in bnx2x_fill_report_data()1022 cur_data.line_speed, duplex, flow); in __bnx2x_link_report()
227 ethtool_cmd_speed_set(cmd, bp->link_vars.line_speed); in bnx2x_get_settings()321 u32 line_speed = bp->link_vars.line_speed; in bnx2x_set_settings() local324 if (!line_speed) in bnx2x_set_settings()325 line_speed = 10000; in bnx2x_set_settings()334 part = (speed * 100) / line_speed; in bnx2x_set_settings()336 if (line_speed < speed || !part) { in bnx2x_set_settings()2375 bp->link_vars.line_speed); in bnx2x_set_phys_id()
294 u16 line_speed; member
1121 u16 line_speed; /* Effective line speed */ member
2234 u32 r_param = bp->link_vars.line_speed / 8; in bnx2x_init_port_minmax()2254 t_fair = T_FAIR_COEF / bp->link_vars.line_speed; in bnx2x_init_port_minmax()2342 vn_max_rate = (bp->link_vars.line_speed * maxCfg) / 100; in bnx2x_init_vn_minmax()2501 if (bp->link_vars.link_up && bp->link_vars.line_speed) { in bnx2x_link_attn()2871 bp->link_vars.line_speed = SPEED_10000; in bnx2x_pf_init()
411 unsigned int line_speed; member972 np->line_speed = 1; /* 10M */ in getlinktype()974 np->line_speed = 2; /* 100M */ in getlinktype()981 np->line_speed = 2; /* 100M */ in getlinktype()983 np->line_speed = 1; /* 10M */ in getlinktype()993 np->line_speed = 2; /* 100M */ in getlinktype()995 np->line_speed = 1; /* 10M */ in getlinktype()1012 np->line_speed = 3; /* 1000M */ in getlinktype()1014 np->line_speed = 2; /* 100M */ in getlinktype()1016 np->line_speed = 1; /* 10M */ in getlinktype()[all …]
930 switch (bp->line_speed) { in bnx2_report_fw_link()993 bp->line_speed, in bnx2_report_link()1105 bp->line_speed = bp->req_line_speed; in bnx2_5709s_linkup()1112 bp->line_speed = SPEED_10; in bnx2_5709s_linkup()1115 bp->line_speed = SPEED_100; in bnx2_5709s_linkup()1119 bp->line_speed = SPEED_1000; in bnx2_5709s_linkup()1122 bp->line_speed = SPEED_2500; in bnx2_5709s_linkup()1141 bp->line_speed = SPEED_10; in bnx2_5708s_linkup()1144 bp->line_speed = SPEED_100; in bnx2_5708s_linkup()1147 bp->line_speed = SPEED_1000; in bnx2_5708s_linkup()[all …]
6896 u16 line_speed; member