Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c907 u32 speed_ability = hdev->hw.mac.speed_ability; in hclge_check_port_speed() local
915 if (speed_bit & speed_ability) in hclge_check_port_speed()
942 static void hclge_convert_setting_sr(u16 speed_ability, in hclge_convert_setting_sr() argument
945 if (speed_ability & HCLGE_SUPPORT_10G_BIT) in hclge_convert_setting_sr()
948 if (speed_ability & HCLGE_SUPPORT_25G_BIT) in hclge_convert_setting_sr()
951 if (speed_ability & HCLGE_SUPPORT_40G_BIT) in hclge_convert_setting_sr()
954 if (speed_ability & HCLGE_SUPPORT_50G_BIT) in hclge_convert_setting_sr()
957 if (speed_ability & HCLGE_SUPPORT_100G_BIT) in hclge_convert_setting_sr()
960 if (speed_ability & HCLGE_SUPPORT_200G_BIT) in hclge_convert_setting_sr()
965 static void hclge_convert_setting_lr(u16 speed_ability, in hclge_convert_setting_lr() argument
[all …]
Dhclge_main.h272 u32 speed_ability; /* speed ability supported by current media */ member
358 u16 speed_ability; member
Dhclge_cmd.h350 __le32 speed_ability; /* speed ability for current media */ member
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c1221 u16 speed_ability; in ixgbe_get_copper_speeds_supported() local
1225 &speed_ability); in ixgbe_get_copper_speeds_supported()
1229 if (speed_ability & MDIO_SPEED_10G) in ixgbe_get_copper_speeds_supported()
1231 if (speed_ability & MDIO_PMA_SPEED_1000) in ixgbe_get_copper_speeds_supported()
1233 if (speed_ability & MDIO_PMA_SPEED_100) in ixgbe_get_copper_speeds_supported()