Lines Matching refs:phy_interface
1340 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_RMII) || in adjust_enet_interface()
1341 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII) || in adjust_enet_interface()
1342 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in adjust_enet_interface()
1343 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) || in adjust_enet_interface()
1344 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) || in adjust_enet_interface()
1345 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1346 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RMII) in adjust_enet_interface()
1353 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RTBI) in adjust_enet_interface()
1357 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_TBI) || in adjust_enet_interface()
1358 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1361 if (ugeth->phy_interface == PHY_INTERFACE_MODE_SGMII) in adjust_enet_interface()
1369 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_TBI) || in adjust_enet_interface()
1370 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1617 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_RMII) || in adjust_link()
1618 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII) || in adjust_link()
1619 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in adjust_link()
1620 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) || in adjust_link()
1621 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) || in adjust_link()
1622 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_link()
1733 priv->phy_interface); in init_phy()
1739 if (priv->phy_interface == PHY_INTERFACE_MODE_SGMII) in init_phy()
3700 phy_interface_t phy_interface; in ucc_geth_probe() local
3809 phy_interface = enet_to_phy_interface[*prop]; in ucc_geth_probe()
3812 phy_interface = PHY_INTERFACE_MODE_MII; in ucc_geth_probe()
3814 phy_interface = to_phy_interface((const char *)prop); in ucc_geth_probe()
3819 switch (phy_interface) { in ucc_geth_probe()
3894 ugeth->phy_interface = phy_interface; in ucc_geth_probe()