Lines Matching refs:phy_interface

103 	int phy_interface;  member
425 priv->swpriv->phy_interface = priv->phy_interface; in mtk_switch_init()
550 if (priv->phy_interface == PHY_INTERFACE_MODE_USXGMII || in mtk_phy_start()
551 priv->phy_interface == PHY_INTERFACE_MODE_10GBASER || in mtk_phy_start()
552 priv->phy_interface == PHY_INTERFACE_MODE_XGMII) in mtk_phy_start()
571 priv->phy_interface); in mtk_phy_probe()
820 switch (priv->phy_interface) { in mtk_mac_init()
843 if (priv->phy_interface == PHY_INTERFACE_MODE_SGMII) in mtk_mac_init()
918 switch (priv->phy_interface) { in mtk_xmac_init()
934 if ((priv->phy_interface == PHY_INTERFACE_MODE_USXGMII || in mtk_xmac_init()
935 priv->phy_interface == PHY_INTERFACE_MODE_10GBASER) && in mtk_xmac_init()
941 if (priv->phy_interface == PHY_INTERFACE_MODE_XGMII || in mtk_xmac_init()
1071 } else if ((priv->phy_interface == PHY_INTERFACE_MODE_USXGMII || in mtk_eth_start()
1072 priv->phy_interface == PHY_INTERFACE_MODE_10GBASER || in mtk_eth_start()
1073 priv->phy_interface == PHY_INTERFACE_MODE_XGMII) && in mtk_eth_start()
1251 if (priv->phy_interface == PHY_INTERFACE_MODE_USXGMII || in mtk_eth_probe()
1252 priv->phy_interface == PHY_INTERFACE_MODE_10GBASER || in mtk_eth_probe()
1253 priv->phy_interface == PHY_INTERFACE_MODE_XGMII) in mtk_eth_probe()
1350 pdata->phy_interface = dev_read_phy_mode(dev); in mtk_eth_of_to_plat()
1351 priv->phy_interface = pdata->phy_interface; in mtk_eth_of_to_plat()
1352 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) { in mtk_eth_of_to_plat()
1372 if ((priv->phy_interface == PHY_INTERFACE_MODE_SGMII || in mtk_eth_of_to_plat()
1373 priv->phy_interface == PHY_INTERFACE_MODE_2500BASEX) && in mtk_eth_of_to_plat()
1396 } else if ((priv->phy_interface == PHY_INTERFACE_MODE_USXGMII || in mtk_eth_of_to_plat()
1397 priv->phy_interface == PHY_INTERFACE_MODE_10GBASER) && in mtk_eth_of_to_plat()