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()
384 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) in __lb_up()
603 st_param[0][1] = (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII); in hns_nic_self_test()
608 (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII)); in hns_nic_self_test()
905 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) { in hns_get_strings()
996 if (priv->ae_handle->phy_if == PHY_INTERFACE_MODE_XGMII) in hns_get_sset_count()