Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c984 u32 speed_ability = hdev->hw.mac.speed_ability; in hclge_check_port_speed() local
1019 if (speed_bit & speed_ability) in hclge_check_port_speed()
1025 static void hclge_convert_setting_sr(struct hclge_mac *mac, u16 speed_ability) in hclge_convert_setting_sr() argument
1027 if (speed_ability & HCLGE_SUPPORT_10G_BIT) in hclge_convert_setting_sr()
1030 if (speed_ability & HCLGE_SUPPORT_25G_BIT) in hclge_convert_setting_sr()
1033 if (speed_ability & HCLGE_SUPPORT_40G_BIT) in hclge_convert_setting_sr()
1036 if (speed_ability & HCLGE_SUPPORT_50G_BIT) in hclge_convert_setting_sr()
1039 if (speed_ability & HCLGE_SUPPORT_100G_BIT) in hclge_convert_setting_sr()
1042 if (speed_ability & HCLGE_SUPPORT_200G_BIT) in hclge_convert_setting_sr()
1047 static void hclge_convert_setting_lr(struct hclge_mac *mac, u16 speed_ability) in hclge_convert_setting_lr() argument
[all …]
Dhclge_main.h268 u32 speed_ability; /* speed ability supported by current media */ member
356 u16 speed_ability; member
Dhclge_cmd.h672 __le32 speed_ability; /* speed ability for current media */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c1090 u16 speed_ability; in ixgbe_get_copper_speeds_supported() local
1094 &speed_ability); in ixgbe_get_copper_speeds_supported()
1098 if (speed_ability & MDIO_SPEED_10G) in ixgbe_get_copper_speeds_supported()
1100 if (speed_ability & MDIO_PMA_SPEED_1000) in ixgbe_get_copper_speeds_supported()
1102 if (speed_ability & MDIO_PMA_SPEED_100) in ixgbe_get_copper_speeds_supported()