Searched refs:phy_iface (Results 1 – 4 of 4) sorted by relevance
42 phy_interface_t phy_iface; member1233 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()1255 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk_gmac_clk_init()1274 int phy_iface = bsp_priv->phy_iface; in gmac_clk_enable() local1278 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in gmac_clk_enable()1316 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in gmac_clk_enable()1378 of_get_phy_mode(dev->of_node, &bsp_priv->phy_iface); in rk_gmac_setup()1463 switch (bsp_priv->phy_iface) { in rk_gmac_check_ops()1477 "unsupported interface %d", bsp_priv->phy_iface); in rk_gmac_check_ops()1496 switch (bsp_priv->phy_iface) { in rk_gmac_powerup()[all …]
709 priv->phy_iface); in connect_local_phy()724 priv->phy_iface); in connect_local_phy()739 ret = of_get_phy_mode(np, &priv->phy_iface); in altera_tse_phy_get_addr_mdio_create()782 if (!priv->phy_iface) in init_phy()809 0, priv->phy_iface); in init_phy()821 &altera_tse_adjust_link, 0, priv->phy_iface); in init_phy()834 if ((priv->phy_iface == PHY_INTERFACE_MODE_MII) || in init_phy()835 (priv->phy_iface == PHY_INTERFACE_MODE_RMII)) in init_phy()1098 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()