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