Home
last modified time | relevance | path

Searched refs:phy_iface (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c42 phy_interface_t phy_iface; member
1233 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() local
1278 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 …]
/drivers/net/ethernet/altera/
Daltera_tse_main.c709 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()
Daltera_tse.h473 phy_interface_t phy_iface; member
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c270 int phy_iface = priv->plat->interface; in sxgbe_init_phy() local
288 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()