Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_link.c2469 u32 line_speed) in bnx2x_pbf_update() argument
2514 switch (line_speed) { in bnx2x_pbf_update()
2520 line_speed); in bnx2x_pbf_update()
4791 vars->line_speed = 0; in bnx2x_sync_link()
5316 vars->line_speed); in bnx2x_initialize_sgmii_process()
5889 vars->line_speed); in bnx2x_emac_program()
6645 vars->line_speed = 0; in bnx2x_update_link_down()
9479 vars->line_speed = 0; in bnx2x_8727_read_status()
10541 vars->line_speed, in bnx2x_848xx_read_status()
11349 vars->line_speed, in bnx2x_54618se_read_status()
[all …]
A 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()
3318 bp->link_vars.line_speed); in bnx2x_set_phys_id()
A 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()
A Dbnx2x_link.h354 u16 line_speed; member
A Dbnx2x_sriov.c1455 bulletin->link_speed = state->line_speed; in bnx2x_iov_link_update_vf()
3068 bp->vf_link_vars.line_speed = bulletin->link_speed; in bnx2x_sample_bulletin()
A Dbnx2x.h1245 u16 line_speed; /* Effective line speed */ member
A Dbnx2x_main.c2503 vn_max_rate = (bp->link_vars.line_speed * maxCfg) / 100; in bnx2x_calc_vn_max()
2565 input.port_rate = bp->link_vars.line_speed; in bnx2x_cmng_fns_init()
2663 if (bp->link_vars.link_up && bp->link_vars.line_speed) in bnx2x_link_attn()
2711 bp->link_vars.line_speed = SPEED_10000; in bnx2x__link_status_update()
3326 bp->link_vars.line_speed = SPEED_10000; in bnx2x_pf_init()
/linux/drivers/net/ethernet/
A Dfealnx.c404 unsigned int line_speed; member
956 np->line_speed = 1; /* 10M */ in getlinktype()
958 np->line_speed = 2; /* 100M */ in getlinktype()
967 np->line_speed = 1; /* 10M */ in getlinktype()
979 np->line_speed = 1; /* 10M */ in getlinktype()
1000 np->line_speed = 1; /* 10M */ in getlinktype()
1010 np->line_speed = 2; in getlinktype()
1012 np->line_speed = 1; in getlinktype()
1035 np->line_speed = 1; /* 10M */ in getlinktype()
1038 if (np->line_speed == 1) in getlinktype()
[all …]
/linux/drivers/net/ethernet/broadcom/
A Dbnx2.c943 switch (bp->line_speed) { in bnx2_report_fw_link()
1006 bp->line_speed, in bnx2_report_link()
1125 bp->line_speed = SPEED_10; in bnx2_5709s_linkup()
1128 bp->line_speed = SPEED_100; in bnx2_5709s_linkup()
1154 bp->line_speed = SPEED_10; in bnx2_5708s_linkup()
1157 bp->line_speed = SPEED_100; in bnx2_5708s_linkup()
1180 bp->line_speed = SPEED_1000; in bnx2_5706s_linkup()
1256 bp->line_speed = 0; in bnx2_copper_linkup()
1266 bp->line_speed = SPEED_10; in bnx2_copper_linkup()
1334 switch (bp->line_speed) { in bnx2_set_mac_link()
[all …]
A Dbnx2.h6949 u16 line_speed; member
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_mcp.h89 u32 line_speed; member
A Dqed_dev.c5270 if (!p_link->line_speed && (max_bw != 100)) in __qed_configure_pf_max_bandwidth()
5273 p_link->speed = (p_link->line_speed * max_bw) / 100; in __qed_configure_pf_max_bandwidth()
5337 if (!p_link->line_speed) in __qed_configure_pf_min_bandwidth()
5340 p_link->min_pf_rate = (p_link->line_speed * min_bw) / 100; in __qed_configure_pf_min_bandwidth()
A Dqed_mcp.c1380 p_link->line_speed = p_link->speed; in qed_mcp_handle_link_change()
1382 p_link->line_speed = 0; in qed_mcp_handle_link_change()

Completed in 154 milliseconds