Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c1490 u32 val, ext_speed; in qed_mcp_set_link() local
1539 ext_speed = 0; in qed_mcp_set_link()
1540 if (params->ext_speed.autoneg) in qed_mcp_set_link()
1541 ext_speed |= ETH_EXT_SPEED_AN; in qed_mcp_set_link()
1543 val = params->ext_speed.forced_speed; in qed_mcp_set_link()
1545 ext_speed |= ETH_EXT_SPEED_1G; in qed_mcp_set_link()
1547 ext_speed |= ETH_EXT_SPEED_10G; in qed_mcp_set_link()
1549 ext_speed |= ETH_EXT_SPEED_20G; in qed_mcp_set_link()
1551 ext_speed |= ETH_EXT_SPEED_25G; in qed_mcp_set_link()
1553 ext_speed |= ETH_EXT_SPEED_40G; in qed_mcp_set_link()
[all …]
Dqed_dev.c3973 struct qed_mcp_link_speed_params *ext_speed; in qed_hw_get_nvm_info() local
4133 ext_speed = &link->ext_speed; in qed_hw_get_nvm_info()
4142 ext_speed->autoneg = true; in qed_hw_get_nvm_info()
4144 ext_speed->forced_speed = 0; in qed_hw_get_nvm_info()
4146 ext_speed->forced_speed |= QED_EXT_SPEED_1G; in qed_hw_get_nvm_info()
4148 ext_speed->forced_speed |= QED_EXT_SPEED_10G; in qed_hw_get_nvm_info()
4150 ext_speed->forced_speed |= QED_EXT_SPEED_20G; in qed_hw_get_nvm_info()
4152 ext_speed->forced_speed |= QED_EXT_SPEED_25G; in qed_hw_get_nvm_info()
4154 ext_speed->forced_speed |= QED_EXT_SPEED_40G; in qed_hw_get_nvm_info()
4156 ext_speed->forced_speed |= QED_EXT_SPEED_50G_R; in qed_hw_get_nvm_info()
[all …]
Dqed_main.c1542 struct qed_mcp_link_speed_params *ext_speed = &link_params->ext_speed; in qed_set_ext_speed_params() local
1547 ext_speed->autoneg = !!params->autoneg; in qed_set_ext_speed_params()
1550 ext_speed->advertised_speeds = 0; in qed_set_ext_speed_params()
1556 ext_speed->advertised_speeds |= map->mfw_val; in qed_set_ext_speed_params()
1563 ext_speed->forced_speed = QED_EXT_SPEED_1G; in qed_set_ext_speed_params()
1566 ext_speed->forced_speed = QED_EXT_SPEED_10G; in qed_set_ext_speed_params()
1569 ext_speed->forced_speed = QED_EXT_SPEED_20G; in qed_set_ext_speed_params()
1572 ext_speed->forced_speed = QED_EXT_SPEED_25G; in qed_set_ext_speed_params()
1575 ext_speed->forced_speed = QED_EXT_SPEED_40G; in qed_set_ext_speed_params()
1578 ext_speed->forced_speed = QED_EXT_SPEED_50G_R | in qed_set_ext_speed_params()
[all …]
Dqed_mcp.h66 struct qed_mcp_link_speed_params ext_speed; member