Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c983 u32 speed_ability = hdev->hw.mac.speed_ability; in hclge_check_port_speed() local
1018 if (speed_bit & speed_ability) in hclge_check_port_speed()
1024 static void hclge_convert_setting_sr(struct hclge_mac *mac, u16 speed_ability) in hclge_convert_setting_sr() argument
1026 if (speed_ability & HCLGE_SUPPORT_10G_BIT) in hclge_convert_setting_sr()
1029 if (speed_ability & HCLGE_SUPPORT_25G_BIT) in hclge_convert_setting_sr()
1032 if (speed_ability & HCLGE_SUPPORT_40G_BIT) in hclge_convert_setting_sr()
1035 if (speed_ability & HCLGE_SUPPORT_50G_BIT) in hclge_convert_setting_sr()
1038 if (speed_ability & HCLGE_SUPPORT_100G_BIT) in hclge_convert_setting_sr()
1041 if (speed_ability & HCLGE_SUPPORT_200G_BIT) in hclge_convert_setting_sr()
1046 static void hclge_convert_setting_lr(struct hclge_mac *mac, u16 speed_ability) in hclge_convert_setting_lr() argument
[all …]
Dhclge_main.h266 u32 speed_ability; /* speed ability supported by current media */ member
354 u16 speed_ability; member
Dhclge_cmd.h668 __le32 speed_ability; /* speed ability for current media */ member
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c1086 u16 speed_ability; in ixgbe_get_copper_speeds_supported() local
1090 &speed_ability); in ixgbe_get_copper_speeds_supported()
1094 if (speed_ability & MDIO_SPEED_10G) in ixgbe_get_copper_speeds_supported()
1096 if (speed_ability & MDIO_PMA_SPEED_1000) in ixgbe_get_copper_speeds_supported()
1098 if (speed_ability & MDIO_PMA_SPEED_100) in ixgbe_get_copper_speeds_supported()