Lines Matching refs:phy_interface

1319 	if ((ugeth->phy_interface == PHY_INTERFACE_MODE_RMII) ||  in adjust_enet_interface()
1320 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII) || in adjust_enet_interface()
1321 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in adjust_enet_interface()
1322 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) || in adjust_enet_interface()
1323 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) || in adjust_enet_interface()
1324 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1325 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RMII) in adjust_enet_interface()
1332 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RTBI) in adjust_enet_interface()
1336 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_TBI) || in adjust_enet_interface()
1337 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1340 if (ugeth->phy_interface == PHY_INTERFACE_MODE_SGMII) in adjust_enet_interface()
1348 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_TBI) || in adjust_enet_interface()
1349 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1596 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_RMII) || in adjust_link()
1597 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII) || in adjust_link()
1598 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in adjust_link()
1599 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) || in adjust_link()
1600 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) || in adjust_link()
1601 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_link()
1712 priv->phy_interface); in init_phy()
1718 if (priv->phy_interface == PHY_INTERFACE_MODE_SGMII) in init_phy()
3565 phy_interface_t phy_interface; in ucc_geth_probe() local
3634 phy_interface = enet_to_phy_interface[*prop]; in ucc_geth_probe()
3637 phy_interface = PHY_INTERFACE_MODE_MII; in ucc_geth_probe()
3639 phy_interface = to_phy_interface((const char *)prop); in ucc_geth_probe()
3644 switch (phy_interface) { in ucc_geth_probe()
3720 ugeth->phy_interface = phy_interface; in ucc_geth_probe()