Searched refs:sfp_type (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_ethtool.c | 1769 struct hns3_sfp_type sfp_type; in hns3_get_module_info() local 1776 memset(&sfp_type, 0, sizeof(sfp_type)); in hns3_get_module_info() 1777 ret = ops->get_module_eeprom(handle, 0, sizeof(sfp_type) / sizeof(u8), in hns3_get_module_info() 1778 (u8 *)&sfp_type); in hns3_get_module_info() 1782 switch (sfp_type.type) { in hns3_get_module_info() 1792 if (sfp_type.ext_type < HNS3_SFF_8636_V1_3) { in hns3_get_module_info() 1806 sfp_type.type); in hns3_get_module_info()
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_ethtool.c | 1649 u8 sfp_type; in hinic_get_module_info() local 1652 err = hinic_get_sfp_type(nic_dev->hwdev, &sfp_type, &sfp_type_ext); in hinic_get_module_info() 1656 switch (sfp_type) { in hinic_get_module_info() 1681 "Optical module unknown: 0x%x\n", sfp_type); in hinic_get_module_info()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_82598.c | 126 if (hw->phy.sfp_type == ixgbe_sfp_type_unknown) in ixgbe_init_phy_ops_82598()
|
| H A D | ixgbe_main.c | 8462 e_info(probe, "detected SFP+: %d\n", hw->phy.sfp_type); in ixgbe_sfp_detection_subtask() 11657 hw->phy.sfp_type = ixgbe_sfp_type_unknown; in ixgbe_probe() 11945 if (ixgbe_is_sfp(hw) && hw->phy.sfp_type != ixgbe_sfp_type_not_present) in ixgbe_probe() 11947 hw->mac.type, hw->phy.type, hw->phy.sfp_type, in ixgbe_probe()
|