Lines Matching refs:phy_interface
1320 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_RMII) || in adjust_enet_interface()
1321 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII) || in adjust_enet_interface()
1322 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in adjust_enet_interface()
1323 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) || in adjust_enet_interface()
1324 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) || in adjust_enet_interface()
1325 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1326 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RMII) in adjust_enet_interface()
1333 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RTBI) in adjust_enet_interface()
1337 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_TBI) || in adjust_enet_interface()
1338 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1341 if (ugeth->phy_interface == PHY_INTERFACE_MODE_SGMII) in adjust_enet_interface()
1349 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_TBI) || in adjust_enet_interface()
1350 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1597 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_RMII) || in adjust_link()
1598 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII) || in adjust_link()
1599 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in adjust_link()
1600 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) || in adjust_link()
1601 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) || in adjust_link()
1602 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_link()
1713 priv->phy_interface); in init_phy()
1719 if (priv->phy_interface == PHY_INTERFACE_MODE_SGMII) in init_phy()
3566 phy_interface_t phy_interface; in ucc_geth_probe() local
3635 phy_interface = enet_to_phy_interface[*prop]; in ucc_geth_probe()
3638 phy_interface = PHY_INTERFACE_MODE_MII; in ucc_geth_probe()
3640 phy_interface = to_phy_interface((const char *)prop); in ucc_geth_probe()
3645 switch (phy_interface) { in ucc_geth_probe()
3721 ugeth->phy_interface = phy_interface; in ucc_geth_probe()