Home
last modified time | relevance | path

Searched refs:sfp_type (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_phy.c1388 hw->phy.sfp_type = ixgbe_sfp_type_not_present; in ixgbe_identify_module_generic()
1406 enum ixgbe_sfp_type stored_sfp_type = hw->phy.sfp_type; in ixgbe_identify_sfp_module_generic()
1416 hw->phy.sfp_type = ixgbe_sfp_type_not_present; in ixgbe_identify_sfp_module_generic()
1420 /* LAN ID is needed for sfp_type determination */ in ixgbe_identify_sfp_module_generic()
1472 hw->phy.sfp_type = ixgbe_sfp_type_da_cu; in ixgbe_identify_sfp_module_generic()
1474 hw->phy.sfp_type = ixgbe_sfp_type_sr; in ixgbe_identify_sfp_module_generic()
1476 hw->phy.sfp_type = ixgbe_sfp_type_lr; in ixgbe_identify_sfp_module_generic()
1478 hw->phy.sfp_type = ixgbe_sfp_type_unknown; in ixgbe_identify_sfp_module_generic()
1482 hw->phy.sfp_type = in ixgbe_identify_sfp_module_generic()
1485 hw->phy.sfp_type in ixgbe_identify_sfp_module_generic()
1854 u16 sfp_type = hw->phy.sfp_type; ixgbe_get_sfp_init_sequence_offsets() local
[all...]
H A 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()
H A Dixgbe_x550.c1615 switch (hw->phy.sfp_type) { in ixgbe_supported_sfp_modules_X550em()
2267 if (hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core0 || in ixgbe_get_link_capabilities_X550em()
2268 hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core1 || in ixgbe_get_link_capabilities_X550em()
2269 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core0 || in ixgbe_get_link_capabilities_X550em()
2270 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core1) { in ixgbe_get_link_capabilities_X550em()
3216 if (phy->sfp_type != ixgbe_sfp_type_unknown) in ixgbe_init_phy_ops_X550em()
H A Dixgbe_82598.c125 if (hw->phy.sfp_type == ixgbe_sfp_type_unknown) in ixgbe_init_phy_ops_82598()
H A Dixgbe_main.c7792 e_info(probe, "detected SFP+: %d\n", hw->phy.sfp_type); in ixgbe_sfp_detection_subtask()
10758 hw->phy.sfp_type = ixgbe_sfp_type_unknown; in ixgbe_probe()
11029 if (ixgbe_is_sfp(hw) && hw->phy.sfp_type != ixgbe_sfp_type_not_present) in ixgbe_probe()
11031 hw->mac.type, hw->phy.type, hw->phy.sfp_type, in ixgbe_probe()
H A Dixgbe_type.h3580 enum ixgbe_sfp_type sfp_type; member
H A Dixgbe_ethtool.c336 switch (adapter->hw.phy.sfp_type) { in ixgbe_get_link_ksettings()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_phy.c1519 hw->phy.sfp_type = ixgbe_sfp_type_not_present; in ixgbe_identify_module_generic()
1537 enum ixgbe_sfp_type stored_sfp_type = hw->phy.sfp_type; in ixgbe_identify_sfp_module_generic()
1547 hw->phy.sfp_type = ixgbe_sfp_type_not_present; in ixgbe_identify_sfp_module_generic()
1551 /* LAN ID is needed for sfp_type determination */ in ixgbe_identify_sfp_module_generic()
1603 hw->phy.sfp_type = ixgbe_sfp_type_da_cu; in ixgbe_identify_sfp_module_generic()
1605 hw->phy.sfp_type = ixgbe_sfp_type_sr; in ixgbe_identify_sfp_module_generic()
1607 hw->phy.sfp_type = ixgbe_sfp_type_lr; in ixgbe_identify_sfp_module_generic()
1609 hw->phy.sfp_type = ixgbe_sfp_type_unknown; in ixgbe_identify_sfp_module_generic()
1613 hw->phy.sfp_type = in ixgbe_identify_sfp_module_generic()
1616 hw->phy.sfp_type in ixgbe_identify_sfp_module_generic()
1985 u16 sfp_type = hw->phy.sfp_type; ixgbe_get_sfp_init_sequence_offsets() local
[all...]
H A 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()
H A Dixgbe_x550.c1615 switch (hw->phy.sfp_type) { in ixgbe_supported_sfp_modules_X550em()
2317 if (hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core0 || in ixgbe_get_link_capabilities_X550em()
2318 hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core1 || in ixgbe_get_link_capabilities_X550em()
2319 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core0 || in ixgbe_get_link_capabilities_X550em()
2320 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core1) { in ixgbe_get_link_capabilities_X550em()
3266 if (phy->sfp_type != ixgbe_sfp_type_unknown) in ixgbe_init_phy_ops_X550em()
H A Dixgbe_82598.c125 if (hw->phy.sfp_type == ixgbe_sfp_type_unknown) in ixgbe_init_phy_ops_82598()
H A Dixgbe_main.c7863 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 Dixgbe_ethtool.c334 switch (adapter->hw.phy.sfp_type) { in ixgbe_get_link_ksettings()
H A Dixgbe_type.h3584 enum ixgbe_sfp_type sfp_type; member
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c1441 struct hns3_sfp_type sfp_type; in hns3_get_module_info() local
1448 memset(&sfp_type, 0, sizeof(sfp_type)); in hns3_get_module_info()
1449 ret = ops->get_module_eeprom(handle, 0, sizeof(sfp_type) / sizeof(u8), in hns3_get_module_info()
1450 (u8 *)&sfp_type); in hns3_get_module_info()
1454 switch (sfp_type.type) { in hns3_get_module_info()
1464 if (sfp_type.ext_type < HNS3_SFF_8636_V1_3) { in hns3_get_module_info()
1478 sfp_type.type); in hns3_get_module_info()
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c1751 struct hns3_sfp_type sfp_type; in hns3_get_module_info() local
1758 memset(&sfp_type, 0, sizeof(sfp_type)); in hns3_get_module_info()
1759 ret = ops->get_module_eeprom(handle, 0, sizeof(sfp_type) / sizeof(u8), in hns3_get_module_info()
1760 (u8 *)&sfp_type); in hns3_get_module_info()
1764 switch (sfp_type.type) { in hns3_get_module_info()
1774 if (sfp_type.ext_type < HNS3_SFF_8636_V1_3) { in hns3_get_module_info()
1788 sfp_type.type); in hns3_get_module_info()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A Dhinic_ethtool.c1712 u8 sfp_type; in hinic_get_module_info() local
1715 err = hinic_get_sfp_type(nic_dev->hwdev, &sfp_type, &sfp_type_ext); in hinic_get_module_info()
1719 switch (sfp_type) { in hinic_get_module_info()
1744 "Optical module unknown: 0x%x\n", sfp_type); in hinic_get_module_info()
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
H A 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()

Completed in 83 milliseconds