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