Lines Matching refs:phy_if
164 if (h->phy_if == PHY_INTERFACE_MODE_SGMII) { in hns_nic_get_settings()
167 } else if (h->phy_if == PHY_INTERFACE_MODE_XGMII) { in hns_nic_get_settings()
209 if (h->phy_if == PHY_INTERFACE_MODE_XGMII) { in hns_nic_set_settings()
213 } else if (h->phy_if == PHY_INTERFACE_MODE_SGMII) { in hns_nic_set_settings()
323 (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII)) in __lb_setup()
335 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) in __lb_setup()
385 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) in __lb_up()
611 st_param[0][1] = (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII); in hns_nic_self_test()
616 (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII)); in hns_nic_self_test()
913 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) { in hns_get_strings()
1004 if (priv->ae_handle->phy_if == PHY_INTERFACE_MODE_XGMII) in hns_get_sset_count()