Lines Matching defs:sfp_type
533 enum ixgbe_sfp_type stored_sfp_type = hw->phy.sfp_type;
543 hw->phy.sfp_type = ixgbe_sfp_type_not_present;
553 hw->phy.sfp_type = ixgbe_sfp_type_not_present;
585 hw->phy.sfp_type = ixgbe_sfp_type_da_cu;
587 hw->phy.sfp_type = ixgbe_sfp_type_sr;
589 hw->phy.sfp_type = ixgbe_sfp_type_lr;
591 hw->phy.sfp_type = ixgbe_sfp_type_unknown;
595 hw->phy.sfp_type =
598 hw->phy.sfp_type =
607 hw->phy.sfp_type =
610 hw->phy.sfp_type =
613 hw->phy.sfp_type =
618 hw->phy.sfp_type =
621 hw->phy.sfp_type =
625 hw->phy.sfp_type =
628 hw->phy.sfp_type =
632 hw->phy.sfp_type =
635 hw->phy.sfp_type =
638 hw->phy.sfp_type = ixgbe_sfp_type_unknown;
641 if (hw->phy.sfp_type != stored_sfp_type)
710 !(hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core1 ||
711 hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core0)) {
726 !((hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core0) ||
727 (hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core1))) {
758 u16 sfp_type = hw->phy.sfp_type;
760 if (hw->phy.sfp_type == ixgbe_sfp_type_unknown)
763 if (hw->phy.sfp_type == ixgbe_sfp_type_not_present)
767 (hw->phy.sfp_type == ixgbe_sfp_type_da_cu))
774 if (sfp_type == ixgbe_sfp_type_da_act_lmt_core0 ||
775 sfp_type == ixgbe_sfp_type_1g_cu_core0)
776 sfp_type = ixgbe_sfp_type_srlr_core0;
777 else if (sfp_type == ixgbe_sfp_type_da_act_lmt_core1 ||
778 sfp_type == ixgbe_sfp_type_1g_cu_core1)
779 sfp_type = ixgbe_sfp_type_srlr_core1;
797 if (sfp_id == sfp_type) {