Searched refs:sfp_type (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_phy.c | 1517 hw->phy.sfp_type = ixgbe_sfp_type_not_present; in ixgbe_identify_module_generic() 1535 enum ixgbe_sfp_type stored_sfp_type = hw->phy.sfp_type; in ixgbe_identify_sfp_module_generic() 1545 hw->phy.sfp_type = ixgbe_sfp_type_not_present; in ixgbe_identify_sfp_module_generic() 1601 hw->phy.sfp_type = ixgbe_sfp_type_da_cu; in ixgbe_identify_sfp_module_generic() 1603 hw->phy.sfp_type = ixgbe_sfp_type_sr; in ixgbe_identify_sfp_module_generic() 1605 hw->phy.sfp_type = ixgbe_sfp_type_lr; in ixgbe_identify_sfp_module_generic() 1607 hw->phy.sfp_type = ixgbe_sfp_type_unknown; in ixgbe_identify_sfp_module_generic() 1611 hw->phy.sfp_type = in ixgbe_identify_sfp_module_generic() 1614 hw->phy.sfp_type = in ixgbe_identify_sfp_module_generic() 1623 hw->phy.sfp_type = in ixgbe_identify_sfp_module_generic() [all …]
|
H A D | ixgbe_82599.c | 106 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()
|
H A D | ixgbe_x550.c | 1613 switch (hw->phy.sfp_type) { in ixgbe_supported_sfp_modules_X550em() 2265 if (hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core0 || in ixgbe_get_link_capabilities_X550em() 2266 hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core1 || in ixgbe_get_link_capabilities_X550em() 2267 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core0 || in ixgbe_get_link_capabilities_X550em() 2268 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core1) { in ixgbe_get_link_capabilities_X550em() 3213 if (phy->sfp_type != ixgbe_sfp_type_unknown) in ixgbe_init_phy_ops_X550em()
|
H A D | ixgbe_82598.c | 125 if (hw->phy.sfp_type == ixgbe_sfp_type_unknown) in ixgbe_init_phy_ops_82598()
|
H A D | ixgbe_main.c | 7863 e_info(probe, "detected SFP+: %d\n", hw->phy.sfp_type); in ixgbe_sfp_detection_subtask() 10899 hw->phy.sfp_type = ixgbe_sfp_type_unknown; in ixgbe_probe() 11172 if (ixgbe_is_sfp(hw) && hw->phy.sfp_type != ixgbe_sfp_type_not_present) in ixgbe_probe() 11174 hw->mac.type, hw->phy.type, hw->phy.sfp_type, in ixgbe_probe()
|
H A D | ixgbe_type.h | 3584 enum ixgbe_sfp_type sfp_type; member
|
H A D | ixgbe_ethtool.c | 334 switch (adapter->hw.phy.sfp_type) { in ixgbe_get_link_ksettings()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_ethtool.c | 1766 struct hns3_sfp_type sfp_type; in hns3_get_module_info() local 1773 memset(&sfp_type, 0, sizeof(sfp_type)); in hns3_get_module_info() 1774 ret = ops->get_module_eeprom(handle, 0, sizeof(sfp_type) / sizeof(u8), in hns3_get_module_info() 1775 (u8 *)&sfp_type); in hns3_get_module_info() 1779 switch (sfp_type.type) { in hns3_get_module_info() 1789 if (sfp_type.ext_type < HNS3_SFF_8636_V1_3) { in hns3_get_module_info() 1803 sfp_type.type); in hns3_get_module_info()
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_ethtool.c | 1709 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()
|