Lines Matching defs:sfp_type

276 	phy->sfp_type = ixgbe_sfp_type_unknown;
1281 hw->phy.sfp_type = ixgbe_sfp_type_not_present;
1299 enum ixgbe_sfp_type stored_sfp_type = hw->phy.sfp_type;
1311 hw->phy.sfp_type = ixgbe_sfp_type_not_present;
1368 hw->phy.sfp_type = ixgbe_sfp_type_da_cu;
1370 hw->phy.sfp_type = ixgbe_sfp_type_sr;
1372 hw->phy.sfp_type = ixgbe_sfp_type_lr;
1374 hw->phy.sfp_type = ixgbe_sfp_type_unknown;
1378 hw->phy.sfp_type =
1381 hw->phy.sfp_type =
1390 hw->phy.sfp_type =
1393 hw->phy.sfp_type =
1396 hw->phy.sfp_type =
1403 hw->phy.sfp_type =
1406 hw->phy.sfp_type =
1410 hw->phy.sfp_type =
1413 hw->phy.sfp_type =
1417 hw->phy.sfp_type =
1420 hw->phy.sfp_type =
1424 hw->phy.sfp_type =
1427 hw->phy.sfp_type =
1430 hw->phy.sfp_type = ixgbe_sfp_type_unknown;
1434 if (hw->phy.sfp_type != stored_sfp_type)
1514 !(hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core1 ||
1515 hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core0 ||
1516 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core0 ||
1517 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core1 ||
1518 hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core0 ||
1519 hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core1)) {
1533 !(hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core0 ||
1534 hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core1 ||
1535 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core0 ||
1536 hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core1 ||
1537 hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core0 ||
1538 hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core1)) {
1562 hw->phy.sfp_type = ixgbe_sfp_type_not_present;
1585 if (hw->phy.sfp_type == ixgbe_sfp_type_not_present)
1642 enum ixgbe_sfp_type stored_sfp_type = hw->phy.sfp_type;
1656 hw->phy.sfp_type = ixgbe_sfp_type_not_present;
1693 hw->phy.sfp_type = ixgbe_sfp_type_da_cu_core0;
1695 hw->phy.sfp_type = ixgbe_sfp_type_da_cu_core1;
1699 hw->phy.sfp_type = ixgbe_sfp_type_srlr_core0;
1701 hw->phy.sfp_type = ixgbe_sfp_type_srlr_core1;
1732 hw->phy.sfp_type =
1735 hw->phy.sfp_type =
1745 if (hw->phy.sfp_type != stored_sfp_type)
1815 hw->phy.sfp_type = ixgbe_sfp_type_not_present;
1836 u16 sfp_type = hw->phy.sfp_type;
1840 if (hw->phy.sfp_type == ixgbe_sfp_type_unknown)
1843 if (hw->phy.sfp_type == ixgbe_sfp_type_not_present)
1847 (hw->phy.sfp_type == ixgbe_sfp_type_da_cu))
1854 if (sfp_type == ixgbe_sfp_type_da_act_lmt_core0 ||
1855 sfp_type == ixgbe_sfp_type_1g_lx_core0 ||
1856 sfp_type == ixgbe_sfp_type_1g_cu_core0 ||
1857 sfp_type == ixgbe_sfp_type_1g_sx_core0)
1858 sfp_type = ixgbe_sfp_type_srlr_core0;
1859 else if (sfp_type == ixgbe_sfp_type_da_act_lmt_core1 ||
1860 sfp_type == ixgbe_sfp_type_1g_lx_core1 ||
1861 sfp_type == ixgbe_sfp_type_1g_cu_core1 ||
1862 sfp_type == ixgbe_sfp_type_1g_sx_core1)
1863 sfp_type = ixgbe_sfp_type_srlr_core1;
1887 if (sfp_id == sfp_type) {
1979 hw->phy.sfp_type == ixgbe_sfp_type_not_present)