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.c40 phy_interface_t phy_iface; member
1080 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() local
1125 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in gmac_clk_enable()
1163 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in gmac_clk_enable()
1224 of_get_phy_mode(dev->of_node, &bsp_priv->phy_iface); in rk_gmac_setup()
1301 switch (bsp_priv->phy_iface) { in rk_gmac_powerup()
1357 switch (bsp_priv->phy_iface) { in rk_fix_speed()
1368 dev_err(dev, "unsupported interface %d", bsp_priv->phy_iface); in rk_fix_speed()
/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()