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()
1618 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_RMII) || in adjust_link()
1619 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII) || in adjust_link()
1620 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in adjust_link()
1621 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) || in adjust_link()
1622 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) || in adjust_link()
1623 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_link()
1730 priv->phy_interface); in init_phy()
1736 if (priv->phy_interface == PHY_INTERFACE_MODE_SGMII) in init_phy()
3699 phy_interface_t phy_interface; in ucc_geth_probe() local
3808 phy_interface = enet_to_phy_interface[*prop]; in ucc_geth_probe()
3811 phy_interface = PHY_INTERFACE_MODE_MII; in ucc_geth_probe()
3813 phy_interface = to_phy_interface((const char *)prop); in ucc_geth_probe()
3818 switch (phy_interface) { in ucc_geth_probe()
3893 ugeth->phy_interface = phy_interface; in ucc_geth_probe()