Lines Matching refs:phy_mode
145 int phy_mode;
387 phydev = phy_find_by_mask(priv->bus, mask, priv->phy_mode);
477 if (priv->phy_mode != PHY_INTERFACE_MODE_RGMII)
627 switch (priv->phy_mode) {
655 switch (priv->phy_mode) {
682 switch (priv->phy_mode) {
709 switch (priv->phy_mode) {
732 const char *phy_mode;
743 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode",
745 if (phy_mode)
746 pdata->phy_interface = phy_get_interface_by_name(phy_mode);
748 dev_err(dev, "Invalid PHY interface '%s'\n", phy_mode);
830 priv->phy_mode = pdata->phy_interface;