Lines Matching refs:phy_mode
146 int phy_mode; member
388 phydev = phy_find_by_mask(priv->bus, mask, priv->phy_mode); in ave_phy_init()
478 if (priv->phy_mode != PHY_INTERFACE_MODE_RGMII) in ave_start()
628 switch (priv->phy_mode) { in ave_pro4_get_pinmode()
656 switch (priv->phy_mode) { in ave_ld11_get_pinmode()
683 switch (priv->phy_mode) { in ave_ld20_get_pinmode()
710 switch (priv->phy_mode) { in ave_pxs3_get_pinmode()
733 const char *phy_mode; in ave_ofdata_to_platdata() local
744 phy_mode = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy-mode", in ave_ofdata_to_platdata()
746 if (phy_mode) in ave_ofdata_to_platdata()
747 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ave_ofdata_to_platdata()
749 dev_err(dev, "Invalid PHY interface '%s'\n", phy_mode); in ave_ofdata_to_platdata()
831 priv->phy_mode = pdata->phy_interface; in ave_probe()