Home
last modified time | relevance | path

Searched refs:sfp_type (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c1389 hw->phy.sfp_type = ixgbe_sfp_type_not_present; in ixgbe_identify_module_generic()
1407 enum ixgbe_sfp_type stored_sfp_type = hw->phy.sfp_type; in ixgbe_identify_sfp_module_generic()
1417 hw->phy.sfp_type = ixgbe_sfp_type_not_present; in ixgbe_identify_sfp_module_generic()
1473 hw->phy.sfp_type = ixgbe_sfp_type_da_cu; in ixgbe_identify_sfp_module_generic()
1475 hw->phy.sfp_type = ixgbe_sfp_type_sr; in ixgbe_identify_sfp_module_generic()
1477 hw->phy.sfp_type = ixgbe_sfp_type_lr; in ixgbe_identify_sfp_module_generic()
1479 hw->phy.sfp_type = ixgbe_sfp_type_unknown; in ixgbe_identify_sfp_module_generic()
1483 hw->phy.sfp_type = in ixgbe_identify_sfp_module_generic()
1486 hw->phy.sfp_type = in ixgbe_identify_sfp_module_generic()
1495 hw->phy.sfp_type = in ixgbe_identify_sfp_module_generic()
[all …]
Dixgbe_82599.c106 if (hw->phy.sfp_type != ixgbe_sfp_type_unknown) { in ixgbe_setup_sfp_modules_82599()
332 if (hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core0 || in ixgbe_get_link_capabilities_82599()
333 hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core1 || in ixgbe_get_link_capabilities_82599()
334 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core0 || in ixgbe_get_link_capabilities_82599()
335 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core1 || in ixgbe_get_link_capabilities_82599()
336 hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core0 || in ixgbe_get_link_capabilities_82599()
337 hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core1) { in ixgbe_get_link_capabilities_82599()
Dixgbe_x550.c1612 switch (hw->phy.sfp_type) { in ixgbe_supported_sfp_modules_X550em()
2314 if (hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core0 || in ixgbe_get_link_capabilities_X550em()
2315 hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core1 || in ixgbe_get_link_capabilities_X550em()
2316 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core0 || in ixgbe_get_link_capabilities_X550em()
2317 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core1) { in ixgbe_get_link_capabilities_X550em()
3260 if (phy->sfp_type != ixgbe_sfp_type_unknown) in ixgbe_init_phy_ops_X550em()
Dixgbe_82598.c125 if (hw->phy.sfp_type == ixgbe_sfp_type_unknown) in ixgbe_init_phy_ops_82598()
Dixgbe_main.c7863 e_info(probe, "detected SFP+: %d\n", hw->phy.sfp_type); in ixgbe_sfp_detection_subtask()
10874 hw->phy.sfp_type = ixgbe_sfp_type_unknown; in ixgbe_probe()
11144 if (ixgbe_is_sfp(hw) && hw->phy.sfp_type != ixgbe_sfp_type_not_present) in ixgbe_probe()
11146 hw->mac.type, hw->phy.type, hw->phy.sfp_type, in ixgbe_probe()
Dixgbe_type.h3584 enum ixgbe_sfp_type sfp_type; member
Dixgbe_ethtool.c334 switch (adapter->hw.phy.sfp_type) { in ixgbe_get_link_ksettings()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c1752 struct hns3_sfp_type sfp_type; in hns3_get_module_info() local
1759 memset(&sfp_type, 0, sizeof(sfp_type)); in hns3_get_module_info()
1760 ret = ops->get_module_eeprom(handle, 0, sizeof(sfp_type) / sizeof(u8), in hns3_get_module_info()
1761 (u8 *)&sfp_type); in hns3_get_module_info()
1765 switch (sfp_type.type) { in hns3_get_module_info()
1775 if (sfp_type.ext_type < HNS3_SFF_8636_V1_3) { in hns3_get_module_info()
1789 sfp_type.type); in hns3_get_module_info()
/Linux-v6.1/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c1709 u8 sfp_type; in hinic_get_module_info() local
1712 err = hinic_get_sfp_type(nic_dev->hwdev, &sfp_type, &sfp_type_ext); in hinic_get_module_info()
1716 switch (sfp_type) { in hinic_get_module_info()
1741 "Optical module unknown: 0x%x\n", sfp_type); in hinic_get_module_info()