Searched refs:phy_iface (Results 1 – 4 of 4) sorted by relevance
34 int phy_iface; member191 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) { in gmac_clk_init()209 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in gmac_clk_init()218 int phy_iface = phy_iface = bsp_priv->phy_iface; in gmac_clk_enable() local222 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in gmac_clk_enable()254 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in gmac_clk_enable()325 bsp_priv->phy_iface = of_get_phy_mode(dev->of_node); in rk_gmac_setup()378 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RGMII) { in rk_gmac_setup()381 } else if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_setup()422 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RGMII) in rk_fix_speed()[all …]
718 priv->phy_iface); in connect_local_phy()731 priv->phy_iface); in connect_local_phy()746 priv->phy_iface = of_get_phy_mode(np); in altera_tse_phy_get_addr_mdio_create()749 if (!priv->phy_iface) in altera_tse_phy_get_addr_mdio_create()789 if (!priv->phy_iface) in init_phy()816 0, priv->phy_iface); in init_phy()828 &altera_tse_adjust_link, 0, priv->phy_iface); in init_phy()840 if ((priv->phy_iface == PHY_INTERFACE_MODE_MII) || in init_phy()841 (priv->phy_iface == PHY_INTERFACE_MODE_RMII)) in init_phy()
475 phy_interface_t phy_iface; member
271 int phy_iface = priv->plat->interface; in sxgbe_init_phy() local289 phydev = phy_connect(ndev, phy_id_fmt, &sxgbe_adjust_link, phy_iface); in sxgbe_init_phy()297 if ((phy_iface == PHY_INTERFACE_MODE_MII) || in sxgbe_init_phy()298 (phy_iface == PHY_INTERFACE_MODE_RMII)) in sxgbe_init_phy()