Home
last modified time | relevance | path

Searched refs:ext_speed (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_mcp.c1527 u32 val, ext_speed; in qed_mcp_set_link() local
1576 ext_speed = 0; in qed_mcp_set_link()
1577 if (params->ext_speed.autoneg) in qed_mcp_set_link()
1578 ext_speed |= ETH_EXT_SPEED_NONE; in qed_mcp_set_link()
1582 ext_speed |= ETH_EXT_SPEED_1G; in qed_mcp_set_link()
1584 ext_speed |= ETH_EXT_SPEED_10G; in qed_mcp_set_link()
1586 ext_speed |= ETH_EXT_SPEED_25G; in qed_mcp_set_link()
1588 ext_speed |= ETH_EXT_SPEED_40G; in qed_mcp_set_link()
1601 ext_speed); in qed_mcp_set_link()
1603 ext_speed = 0; in qed_mcp_set_link()
[all …]
H A Dqed_dev.c4230 ext_speed = &link->ext_speed; in qed_hw_get_nvm_info()
4239 ext_speed->autoneg = true; in qed_hw_get_nvm_info()
4241 ext_speed->forced_speed = 0; in qed_hw_get_nvm_info()
4266 ext_speed->advertised_speeds = 0; in qed_hw_get_nvm_info()
4280 ext_speed->advertised_speeds |= in qed_hw_get_nvm_info()
4283 ext_speed->advertised_speeds |= in qed_hw_get_nvm_info()
4286 ext_speed->advertised_speeds |= in qed_hw_get_nvm_info()
4289 ext_speed->advertised_speeds |= in qed_hw_get_nvm_info()
4292 ext_speed->advertised_speeds |= in qed_hw_get_nvm_info()
4308 ext_speed->forced_speed, in qed_hw_get_nvm_info()
[all …]
H A Dqed_main.c1513 struct qed_mcp_link_speed_params *ext_speed = &link_params->ext_speed; in qed_set_ext_speed_params() local
1518 ext_speed->autoneg = !!params->autoneg; in qed_set_ext_speed_params()
1521 ext_speed->advertised_speeds = 0; in qed_set_ext_speed_params()
1527 ext_speed->advertised_speeds |= map->mfw_val; in qed_set_ext_speed_params()
1534 ext_speed->forced_speed = QED_EXT_SPEED_1G; in qed_set_ext_speed_params()
1537 ext_speed->forced_speed = QED_EXT_SPEED_10G; in qed_set_ext_speed_params()
1540 ext_speed->forced_speed = QED_EXT_SPEED_20G; in qed_set_ext_speed_params()
1543 ext_speed->forced_speed = QED_EXT_SPEED_25G; in qed_set_ext_speed_params()
1546 ext_speed->forced_speed = QED_EXT_SPEED_40G; in qed_set_ext_speed_params()
2097 if (params.ext_speed.autoneg) in qed_fill_link()
[all …]
H A Dqed_mcp.h68 struct qed_mcp_link_speed_params ext_speed; member