Lines Matching refs:phy_interface
1343 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_RMII) || in adjust_enet_interface()
1344 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII) || in adjust_enet_interface()
1345 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in adjust_enet_interface()
1346 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) || in adjust_enet_interface()
1347 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) || in adjust_enet_interface()
1348 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1349 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RMII) in adjust_enet_interface()
1356 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RTBI) in adjust_enet_interface()
1360 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_TBI) || in adjust_enet_interface()
1361 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1364 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_SGMII)) in adjust_enet_interface()
1372 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_TBI) || in adjust_enet_interface()
1373 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1620 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_RMII) || in adjust_link()
1621 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII) || in adjust_link()
1622 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in adjust_link()
1623 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) || in adjust_link()
1624 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) || in adjust_link()
1625 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_link()
1736 priv->phy_interface); in init_phy()
1742 if (priv->phy_interface == PHY_INTERFACE_MODE_SGMII) in init_phy()
3705 phy_interface_t phy_interface; in ucc_geth_probe() local
3814 phy_interface = enet_to_phy_interface[*prop]; in ucc_geth_probe()
3817 phy_interface = PHY_INTERFACE_MODE_MII; in ucc_geth_probe()
3819 phy_interface = to_phy_interface((const char *)prop); in ucc_geth_probe()
3824 switch (phy_interface) { in ucc_geth_probe()
3899 ugeth->phy_interface = phy_interface; in ucc_geth_probe()