Searched refs:phy_iface (Results 1 – 4 of 4) sorted by relevance
91 phy_interface_t phy_iface; member1108 int phy_iface = bsp_priv->phy_iface; in rk_gmac_clk_init() local1115 if (phy_iface == PHY_INTERFACE_MODE_RMII) in rk_gmac_clk_init()1126 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()1138 } else if (phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()1229 bsp_priv->phy_iface = plat->phy_interface; in rk_gmac_setup()1355 switch (bsp_priv->phy_iface) { in rk_gmac_check_ops()1369 "unsupported interface %d", bsp_priv->phy_iface); in rk_gmac_check_ops()1385 ret = rk_get_phy_intf_sel(bsp_priv->phy_iface); in rk_gmac_powerup()1423 switch (bsp_priv->phy_iface) { in rk_gmac_powerup()
1082 phy_interface_t phy_iface; in bcmasp_phy_attach() local1084 phy_iface = bcmasp_phy_iface_for_connect(intf->phy_interface); in bcmasp_phy_attach()1087 phy_iface); in bcmasp_phy_attach()
270 int phy_iface = priv->plat->interface; in sxgbe_init_phy() local288 phydev = phy_connect(ndev, phy_id_fmt, &sxgbe_adjust_link, phy_iface); in sxgbe_init_phy()296 if ((phy_iface == PHY_INTERFACE_MODE_MII) || in sxgbe_init_phy()297 (phy_iface == PHY_INTERFACE_MODE_RMII)) in sxgbe_init_phy()
608 ret = of_get_phy_mode(np, &priv->phy_iface); in altera_tse_phy_get_addr_mdio_create()1418 priv->phy_iface, &alt_tse_phylink_ops); in altera_tse_probe()