Searched refs:phy_iface (Results 1 – 4 of 4) sorted by relevance
49 int phy_iface; member1089 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()1111 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk_gmac_clk_init()1130 int phy_iface = bsp_priv->phy_iface; in gmac_clk_enable() local1134 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in gmac_clk_enable()1172 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in gmac_clk_enable()1238 bsp_priv->phy_iface = of_get_phy_mode(dev->of_node); in rk_gmac_setup()1318 switch (bsp_priv->phy_iface) { in rk_gmac_powerup()1376 switch (bsp_priv->phy_iface) { in rk_fix_speed()1387 dev_err(dev, "unsupported interface %d", bsp_priv->phy_iface); in rk_fix_speed()
716 priv->phy_iface); in connect_local_phy()729 priv->phy_iface); in connect_local_phy()744 priv->phy_iface = of_get_phy_mode(np); in altera_tse_phy_get_addr_mdio_create()747 if (!priv->phy_iface) in altera_tse_phy_get_addr_mdio_create()787 if (!priv->phy_iface) in init_phy()814 0, priv->phy_iface); in init_phy()826 &altera_tse_adjust_link, 0, priv->phy_iface); in init_phy()841 if ((priv->phy_iface == PHY_INTERFACE_MODE_MII) || in init_phy()842 (priv->phy_iface == PHY_INTERFACE_MODE_RMII)) in init_phy()1106 if (priv->phy_iface != PHY_INTERFACE_MODE_SGMII) in init_sgmii_pcs()
484 phy_interface_t phy_iface; member
273 int phy_iface = priv->plat->interface; in sxgbe_init_phy() local291 phydev = phy_connect(ndev, phy_id_fmt, &sxgbe_adjust_link, phy_iface); in sxgbe_init_phy()299 if ((phy_iface == PHY_INTERFACE_MODE_MII) || in sxgbe_init_phy()300 (phy_iface == PHY_INTERFACE_MODE_RMII)) in sxgbe_init_phy()