Searched refs:speed_level (Results 1 – 5 of 5) sorted by relevance
370 enum nic_speed_level speed_level = 0; in hinic_is_speed_legal() local381 speed_level = hinic_ethtool_to_hw_speed_level(speed); in hinic_is_speed_legal()382 if (speed_level >= LINK_SPEED_LEVELS || in hinic_is_speed_legal()428 enum nic_speed_level speed_level = 0; in set_link_settings_separate_cmd() local445 speed_level = hinic_ethtool_to_hw_speed_level(speed); in set_link_settings_separate_cmd()446 err = hinic_set_speed(nic_dev->hwdev, speed_level); in set_link_settings_separate_cmd()465 enum nic_speed_level speed_level = 0; in hinic_set_settings_to_hw() local472 speed_level = hinic_ethtool_to_hw_speed_level(speed); in hinic_set_settings_to_hw()485 settings.speed = speed_level; in hinic_set_settings_to_hw()
2121 uint32_t speed_level; in smu_v11_0_get_current_pcie_link_speed() local2123 speed_level = smu_v11_0_get_current_pcie_link_speed_level(smu); in smu_v11_0_get_current_pcie_link_speed()2124 if (speed_level > LINK_SPEED_MAX) in smu_v11_0_get_current_pcie_link_speed()2125 speed_level = 0; in smu_v11_0_get_current_pcie_link_speed()2127 return link_speed[speed_level]; in smu_v11_0_get_current_pcie_link_speed()
2091 uint32_t speed_level; in smu_v13_0_get_current_pcie_link_speed() local2093 speed_level = smu_v13_0_get_current_pcie_link_speed_level(smu); in smu_v13_0_get_current_pcie_link_speed()2094 if (speed_level > LINK_SPEED_MAX) in smu_v13_0_get_current_pcie_link_speed()2095 speed_level = 0; in smu_v13_0_get_current_pcie_link_speed()2097 return link_speed[speed_level]; in smu_v13_0_get_current_pcie_link_speed()
2234 uint32_t speed_level; in vega12_get_current_pcie_link_speed() local2236 speed_level = vega12_get_current_pcie_link_speed_level(hwmgr); in vega12_get_current_pcie_link_speed()2237 if (speed_level > LINK_SPEED_MAX) in vega12_get_current_pcie_link_speed()2238 speed_level = 0; in vega12_get_current_pcie_link_speed()2240 return link_speed[speed_level]; in vega12_get_current_pcie_link_speed()
3343 uint32_t speed_level; in vega20_get_current_pcie_link_speed() local3345 speed_level = vega20_get_current_pcie_link_speed_level(hwmgr); in vega20_get_current_pcie_link_speed()3346 if (speed_level > LINK_SPEED_MAX) in vega20_get_current_pcie_link_speed()3347 speed_level = 0; in vega20_get_current_pcie_link_speed()3349 return link_speed[speed_level]; in vega20_get_current_pcie_link_speed()