Searched refs:sfp_type (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_ethtool.c | 1770 struct hns3_sfp_type sfp_type; in hns3_get_module_info() local 1777 memset(&sfp_type, 0, sizeof(sfp_type)); in hns3_get_module_info() 1778 ret = ops->get_module_eeprom(handle, 0, sizeof(sfp_type) / sizeof(u8), in hns3_get_module_info() 1779 (u8 *)&sfp_type); in hns3_get_module_info() 1783 switch (sfp_type.type) { in hns3_get_module_info() 1793 if (sfp_type.ext_type < HNS3_SFF_8636_V1_3) { in hns3_get_module_info() 1807 sfp_type.type); in hns3_get_module_info()
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_ethtool.c | 1670 u8 sfp_type; in hinic_get_module_info() local 1673 err = hinic_get_sfp_type(nic_dev->hwdev, &sfp_type, &sfp_type_ext); in hinic_get_module_info() 1677 switch (sfp_type) { in hinic_get_module_info() 1702 "Optical module unknown: 0x%x\n", sfp_type); in hinic_get_module_info()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_e610.c | 2013 hw->phy.sfp_type = ixgbe_sfp_type_unknown; in ixgbe_identify_module_e610() 2022 hw->phy.sfp_type = ixgbe_sfp_type_da_cu; in ixgbe_identify_module_e610() 2024 hw->phy.sfp_type = ixgbe_sfp_type_sr; in ixgbe_identify_module_e610() 2027 hw->phy.sfp_type = ixgbe_sfp_type_lr; in ixgbe_identify_module_e610() 2030 hw->phy.sfp_type = ixgbe_sfp_type_not_present; in ixgbe_identify_module_e610()
|
| 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 | 8432 e_info(probe, "detected SFP+: %d\n", hw->phy.sfp_type); in ixgbe_sfp_detection_subtask() 11626 hw->phy.sfp_type = ixgbe_sfp_type_unknown; in ixgbe_probe() 11914 if (ixgbe_is_sfp(hw) && hw->phy.sfp_type != ixgbe_sfp_type_not_present) in ixgbe_probe() 11916 hw->mac.type, hw->phy.type, hw->phy.sfp_type, in ixgbe_probe()
|
| H A D | ixgbe_ethtool.c | 334 switch (adapter->hw.phy.sfp_type) { in ixgbe_get_link_ksettings()
|