Searched refs:line_speed (Results 1 – 8 of 8) sorted by relevance
1222 u32 line_speed) in bnx2x_pbf_update() argument1251 line_speed == SPEED_10 || in bnx2x_pbf_update()1252 line_speed == SPEED_100 || in bnx2x_pbf_update()1253 line_speed == SPEED_1000 || in bnx2x_pbf_update()1254 line_speed == SPEED_2500) { in bnx2x_pbf_update()1268 switch (line_speed) { in bnx2x_pbf_update()1286 line_speed); in bnx2x_pbf_update()1292 line_speed, init_crd); in bnx2x_pbf_update()1641 vars->line_speed = SPEED_10; in bnx2x_link_status_update()1649 vars->line_speed = SPEED_100; in bnx2x_link_status_update()[all …]
740 u16 line_speed = bp->link_vars.line_speed; in bnx2x_get_mf_speed() local749 line_speed = (line_speed * maxCfg) / 100; in bnx2x_get_mf_speed()753 if (vn_max_rate < line_speed) in bnx2x_get_mf_speed()754 line_speed = vn_max_rate; in bnx2x_get_mf_speed()758 return line_speed; in bnx2x_get_mf_speed()770 u16 line_speed; in bnx2x_link_report() local776 line_speed = bnx2x_get_mf_speed(bp); in bnx2x_link_report()778 pr_cont("%d Mbps ", line_speed); in bnx2x_link_report()
179 cmd->speed = bp->link_vars.line_speed; in bnx2x_get_settings()242 u32 line_speed = bp->link_vars.line_speed; in bnx2x_set_settings() local245 if (!line_speed) in bnx2x_set_settings()246 line_speed = 10000; in bnx2x_set_settings()255 part = (speed * 100) / line_speed; in bnx2x_set_settings()257 if (line_speed < speed || !part) { in bnx2x_set_settings()2128 LED_MODE_OPER, bp->link_vars.line_speed); in bnx2x_phys_id()
269 u16 line_speed; member
1878 u32 r_param = bp->link_vars.line_speed / 8; in bnx2x_init_port_minmax()1898 t_fair = T_FAIR_COEF / bp->link_vars.line_speed; in bnx2x_init_port_minmax()1982 vn_max_rate = (bp->link_vars.line_speed * maxCfg) / 100; in bnx2x_init_vn_minmax()2159 if (bp->link_vars.link_up && bp->link_vars.line_speed) { in bnx2x_link_attn()2593 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 …]
923 switch (bp->line_speed) { in bnx2_report_fw_link()986 bp->line_speed, in bnx2_report_link()1098 bp->line_speed = bp->req_line_speed; in bnx2_5709s_linkup()1105 bp->line_speed = SPEED_10; in bnx2_5709s_linkup()1108 bp->line_speed = SPEED_100; in bnx2_5709s_linkup()1112 bp->line_speed = SPEED_1000; in bnx2_5709s_linkup()1115 bp->line_speed = SPEED_2500; in bnx2_5709s_linkup()1134 bp->line_speed = SPEED_10; in bnx2_5708s_linkup()1137 bp->line_speed = SPEED_100; in bnx2_5708s_linkup()1140 bp->line_speed = SPEED_1000; in bnx2_5708s_linkup()[all …]
6885 u16 line_speed; member