Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c957 u32 speed_ability = hdev->hw.mac.speed_ability; in hclge_check_port_speed() local
965 if (speed_bit & speed_ability) in hclge_check_port_speed()
1046 static void hclge_convert_setting_sr(u16 speed_ability, in hclge_convert_setting_sr() argument
1052 if (speed_ability & hclge_sr_link_mode_bmap[i].support_bit) in hclge_convert_setting_sr()
1058 static void hclge_convert_setting_lr(u16 speed_ability, in hclge_convert_setting_lr() argument
1064 if (speed_ability & hclge_lr_link_mode_bmap[i].support_bit) in hclge_convert_setting_lr()
1070 static void hclge_convert_setting_cr(u16 speed_ability, in hclge_convert_setting_cr() argument
1076 if (speed_ability & hclge_cr_link_mode_bmap[i].support_bit) in hclge_convert_setting_cr()
1082 static void hclge_convert_setting_kr(u16 speed_ability, in hclge_convert_setting_kr() argument
1088 if (speed_ability & hclge_kr_link_mode_bmap[i].support_bit) in hclge_convert_setting_kr()
[all …]
Dhclge_main.h293 u32 speed_ability; /* speed ability supported by current media */ member
379 u16 speed_ability; member
Dhclge_cmd.h350 __le32 speed_ability; /* speed ability for current media */ member
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c1219 u16 speed_ability; in ixgbe_get_copper_speeds_supported() local
1223 &speed_ability); in ixgbe_get_copper_speeds_supported()
1227 if (speed_ability & MDIO_SPEED_10G) in ixgbe_get_copper_speeds_supported()
1229 if (speed_ability & MDIO_PMA_SPEED_1000) in ixgbe_get_copper_speeds_supported()
1231 if (speed_ability & MDIO_PMA_SPEED_100) in ixgbe_get_copper_speeds_supported()