Searched refs:phy_iface (Results 1 – 4 of 4) sorted by relevance
40 int phy_iface; member1080 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()1102 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk_gmac_clk_init()1121 int phy_iface = bsp_priv->phy_iface; in gmac_clk_enable() local1125 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in gmac_clk_enable()1163 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in gmac_clk_enable()1227 bsp_priv->phy_iface = of_get_phy_mode(dev->of_node); in rk_gmac_setup()1307 switch (bsp_priv->phy_iface) { in rk_gmac_powerup()1367 switch (bsp_priv->phy_iface) { in rk_fix_speed()1378 dev_err(dev, "unsupported interface %d", bsp_priv->phy_iface); in rk_fix_speed()
705 priv->phy_iface); in connect_local_phy()720 priv->phy_iface); in connect_local_phy()735 priv->phy_iface = of_get_phy_mode(np); in altera_tse_phy_get_addr_mdio_create()738 if (!priv->phy_iface) in altera_tse_phy_get_addr_mdio_create()778 if (!priv->phy_iface) in init_phy()805 0, priv->phy_iface); in init_phy()817 &altera_tse_adjust_link, 0, priv->phy_iface); in init_phy()830 if ((priv->phy_iface == PHY_INTERFACE_MODE_MII) || in init_phy()831 (priv->phy_iface == PHY_INTERFACE_MODE_RMII)) in init_phy()1094 if (priv->phy_iface != PHY_INTERFACE_MODE_SGMII) in init_sgmii_pcs()
473 phy_interface_t phy_iface; member
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()